sfaci / masc

A Web Malware Scanner
http://sfaci.github.io/masc
GNU General Public License v3.0
95 stars 30 forks source link

Some YARA rules throw an error when masc compile them #1

Closed sfaci closed 6 years ago

sfaci commented 6 years ago

In Dictionary.load_signatures, when I compile YARA rules, some of them throw an error. Error are like this: yara.SyntaxError: signatures/rules/gen_faked_versions.yar(27): undefined identifier "filename"

Maybe there are some difference in syntax between versiones of YARA/Python because using OWASP WebMalwareScanner with Python2 (it doesn't run with Python3) they run perfectly

sfaci commented 6 years ago

I don't know but some YARA rules don't load properly. At this moment it's not very important so I will close the issue and maybe in the future I will resume it