Skip to content

Commit cbea06c

Browse files
camlafitjvoisin
authored andcommittedAug 1, 2019
Prevent any warningerror about rules too complex
* Rules are considered reliable * We can generate final yara file with quiet This should close #88
1 parent cef31aa commit cbea06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎php-malware-finder/utils/generate_whitelist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
print('%s is not a folder !' % sys.argv[2])
2020
sys.exit(1)
2121

22-
rules = yara.compile(sys.path[0]+'/../php.yar', includes=True, error_on_warning=True)
22+
rules = yara.compile(sys.path[0]+'/../php.yar', includes=True, error_on_warning=False)
2323

2424
output_list = list()
2525

0 commit comments

Comments
 (0)
Failed to load comments.