Skip to content

Add modules list to yara object.#217

Closed
wxsBSD wants to merge 1 commit intoVirusTotal:masterfrom
wxsBSD:list_modules
Closed

Add modules list to yara object.#217
wxsBSD wants to merge 1 commit intoVirusTotal:masterfrom
wxsBSD:list_modules

Conversation

@wxsBSD
Copy link
Contributor

@wxsBSD wxsBSD commented Oct 14, 2022

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.

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
Copy link
Contributor Author

wxsBSD commented Dec 8, 2022

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

@wxsBSD wxsBSD closed this Dec 8, 2022
@wxsBSD wxsBSD deleted the list_modules branch December 12, 2022 18:02
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

Successfully merging this pull request may close these issues.

1 participant