secrary / SSMA

SSMA - Simple Static Malware Analyzer [This project is not maintained anymore by me]
GNU General Public License v3.0
410 stars 88 forks source link

Report to JSON #12

Closed pielco11 closed 7 years ago

pielco11 commented 7 years ago

Tried report to JSON, why report is shorter than the actual output?

secrary commented 7 years ago

@firmianay writes this part, Some functions in the report function are commented. You can check it

firmianay commented 7 years ago

I am sorry that this part of the code has not yet finished, and "check_file.py" may need to refactor to make a better report. And I am reviewing the final exam, so it may take some time to update. Maybe you can help finish it. Thx

pielco11 commented 7 years ago

No problem, it was just to understand. I'll contribute because I'm interested too in this feature.

pielco11 commented 7 years ago

I thought that the report to JSON part was complete, but I see some strange \u0000\u0000\u0000 and (for example) "date": "\u001b[1;31m [SUSPICIOUS COMPILATION DATE] - 1970\u001b[0;0m". I can't figure out why. How is possible to solve this?

(Nonetheless, I'll delete my "way" to print out JSON and substitute it with the right way)

secrary commented 7 years ago

check now

firmianay commented 7 years ago

It confused me too, thanks to @secrary. I fixed another bugs, check now

pielco11 commented 7 years ago

After the merge, everything should work as expected