Skip to content

Commit

Permalink
fix: broken meta data modification with tags (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 authored Feb 17, 2024
1 parent 2792b4d commit d4ef26e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/rule_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def modify_meta_data_value(rule_meta_data, key, value):
# If the key is in the meta data, then we modify it
if k == key:
mdata[k] = value
return mdata
return meta_data_copy
# If the key is not in the meta data, then we add it
rule_meta_data.append({key: value})
return rule_meta_data
Expand Down
4 changes: 2 additions & 2 deletions yara-forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# YARA Forge
# A YARA Rule Concentrator
# Florian Roth
# January 2024
# February 2024

__version__ = '0.8.0'
__version__ = '0.8.1'

import argparse
#import pprint
Expand Down

0 comments on commit d4ef26e

Please sign in to comment.