cristianzsh / freki

:wolf: Malware analysis platform
https://cristian.sh/freki
GNU Affero General Public License v3.0
421 stars 58 forks source link

Update capa.py #8

Closed Feehley closed 4 years ago

Feehley commented 4 years ago

Altered the try-catch block to be more forgiving if a binary can't produce a "capabilities" section. (I'm sure there's a better way to do this, but at least now the webpage doesn't puke as soon as the file finishes processing.)

cristianzsh commented 4 years ago

Thanks for the PR, but if for some reason an exception occurs at the first iteration of the loop, everything else will be ignored and the result will be only one "Unresolved/undefined". I will definitely take a look at how to improve this issue.

Also, you might want to check our new project structure, improvements are always welcome.