yara
yara copied to clipboard
hash.md5() missing in Python YARA 3.6.x
I upgraded yara-python from 3.5.0 to 3.6.3 and noticed errors if conditions contain a hash.md5
statement.
invalid field name "md5"
In version 3.5.0, the pe.imphash
wasn't available. I thought that both depend on the OpenSSL integration.
invalid field name "imphash"
for my case hash module is working well in python yara 3.6.3 on Ubuntu but not on windows (No module named hash -_-)
I'd like to add that a simple import "hash"
leads to an error Unknown module "hash"
with YARA Python 3.6.3.
Same here ( why is this case for windows ......)
Same issue
Any news about this issue?
Same issue :/
In case anybody else is struggeling with this, make sure you have the openssl-dev package installed before installing yara-python. On Debian this is called libssl-dev. Uninstall / re-install yara-python and you should be good.
At least this did the trick for me.
Are there any workarounds for this? libssl-dev is not available for macOS and occurs with openssl 1.0.2s