php-malware-finder
php-malware-finder copied to clipboard
Crash when using whitelist tool
Hello, I'm not familiar with python, when I run the whitelist tool here is the error I get .. I changed nothing in whitelist *.yar files ..
python3 ./ci/utils/php-malware-finder/php-malware-finder/utils/generate_whitelist.py "Test" application/ Traceback (most recent call last): File "./ci/utils/php-malware-finder/php-malware-finder/utils/generate_whitelist.py", line 22, in <module> rules = yara.compile(sys.path[0]+'/../php.yar', includes=True, error_on_warning=False) yara.SyntaxError: /var/www/baryon-igniter/ci/utils/php-malware-finder/php-malware-finder/utils/../whitelists/drupal.yar(372): undefined string "$*"
Thank you
I Need Help Bro , how To fix that ??😭
Can any1 Help me For Fix this Errors..
@kingsalman99 Please note that this is a different topic and you should open a new question for bug or software errors. -> Check the path you are in, it does not contain any files. You can see that from the output of "ls"
@NathanVss That's weird, I'm having no errors when running the script against our samples folder. What version of python, yara, and yara-python are you using?
Closing this as it hasn't had any activity for years.