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 reporting seems to be broken #151

Open
hmeine opened this issue Jun 3, 2021 · 1 comment
Open

JSON reporting seems to be broken #151

hmeine opened this issue Jun 3, 2021 · 1 comment

Comments

@hmeine
Copy link

hmeine commented Jun 3, 2021

I am getting this after setting json = yes in my config:

Traceback (most recent call last):
  File "bang-scanner", line 414, in <module>
    main(sys.argv)
  File "bang-scanner", line 374, in main
    JsonReporter(jsonfile).report(scanresult)
  File "/home/hmeine/tmp/tern-test/binaryanalysis-ng/src/JsonReporter.py", line 43, in report
    for a, h in fileresult.get_hashresult().items():
AttributeError: 'dict' object has no attribute 'get_hashresult'
@armijnhemel
Copy link
Owner

This particular reporting might (or might not) be retired in the near future, as I am currently working on separating unpacking, semantic scanning (scanning the contents of files) and reporting. I will put it on my TODO list. Thank you for reporting, it seems this one fell through the cracks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants