VirusTotal / yara-python

The Python interface for YARA
http://virustotal.github.io/yara/
Apache License 2.0
650 stars 179 forks source link

Add modules list to yara object. #217

Closed wxsBSD closed 1 year ago

wxsBSD commented 1 year ago

Add support for getting the list of available modules. It is available just by accessing the yara.modules attribute, which contains a list of available modules.

print('\n'.join(yara.modules)) tests pe elf math time console

Note: This commit also brings in the necessary defines to build the authenticode parser, which is also done in the xor_value branch. Also, this commit updates the yara submodule which will likely overwrite the changes done in the xor_value so I recommend updating the submodule after both are merged.

wxsBSD commented 1 year ago

Closing out as it has been merged into my "next" branch.