Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--json output not properly formatted? #10

Closed
high101bro opened this issue Sep 3, 2021 · 2 comments
Closed

--json output not properly formatted? #10

high101bro opened this issue Sep 3, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@high101bro
Copy link

high101bro commented Sep 3, 2021

I saved the results as a json file. I believe there's a format error somewhere. When I paste the contents into a json syntax verifier it fails, and when I import it into PowerShell and convert it, it also fails.

.\chainsaw.exe hunt .\evtx_attack_samples\Execution\exec_persist_rundll32_mshta_scheduledtask_sysmon_1_3_11.evtx --rules .\sigma_rules\ --mapping .\mapping_files\sigma-mapping.yml --lateral-all --json .\results.json

Get-Content -raw .\results.json | ConvertFrom-Json
// Fails

@alexkornitzer
Copy link
Contributor

This is already fixed in master and will be out in the next release.

@fscc-alexkornitzer fscc-alexkornitzer added the duplicate This issue or pull request already exists label Sep 4, 2021
@fscc-jamesd
Copy link
Contributor

fscc-jamesd commented Sep 4, 2021

V1.0.1 has been released.

Running with the same commands as above now results in the expected output:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants