Skip to content

Commit

Permalink
Merge pull request #473 from cccs-rs/master
Browse files Browse the repository at this point in the history
Update KoiLoader.py to use core rules
  • Loading branch information
doomedraven authored Nov 12, 2024
2 parents a6c6b26 + 02e479a commit 93ebc5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/parsers/MACO/KoiLoader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from cape_parsers.CAPE.community.KoiLoader import RULE_SOURCE, extract_config
from cape_parsers.CAPE.community.KoiLoader import extract_config
from maco.extractor import Extractor
from maco.model import ExtractorModel as MACOModel

Expand All @@ -24,7 +24,5 @@ class KoiLoader(Extractor):
sharing = "TLP:CLEAR"
yara_rule = get_YARA_rule(family)

yara_rule = RULE_SOURCE

def run(self, stream, matches):
return convert_to_MACO(extract_config(stream.read()))

0 comments on commit 93ebc5d

Please sign in to comment.