Skip to content

Commit

Permalink
Merge pull request #46 from jeromeleonard/master
Browse files Browse the repository at this point in the history
update_clamav_signatures.py: do not process comments
  • Loading branch information
JusticeRage committed Jul 27, 2021
2 parents 557c38a + 425be8e commit 6397357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/yara_rules/parse_clamav.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ def parse_ldb(input, output, is_daily=False):
with open(input) as f:
with open(output, 'ab') as g:
for line in f:
if line.lstrip().startswith('#'):
continue
data = line.rstrip("\n").split(";")
malware_name = data[0]
target_block = dict()
Expand Down

0 comments on commit 6397357

Please sign in to comment.