php-malware-finder icon indicating copy to clipboard operation
php-malware-finder copied to clipboard

Crash when using whitelist tool

Open NathanVss opened this issue 4 years ago • 5 comments

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 "$*"

Capture d’écran 2020-05-26 à 12 12 37

Thank you

NathanVss avatar May 26 '20 10:05 NathanVss

Screenshot_2020-06-14-17-44-08-00

kingsalman99 avatar Jun 14 '20 10:06 kingsalman99

I Need Help Bro , how To fix that ??😭

kingsalman99 avatar Jun 14 '20 10:06 kingsalman99

Can any1 Help me For Fix this Errors..

kingsalman99 avatar Jun 14 '20 10:06 kingsalman99

@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"

rremo avatar Jun 14 '20 12:06 rremo

@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?

mdeous avatar Apr 30 '22 13:04 mdeous

Closing this as it hasn't had any activity for years.

mdeous avatar May 05 '23 21:05 mdeous