Skip to content

Commit

Permalink
chg: [CEDetector] tag domains
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Oct 16, 2024
1 parent bc5a96b commit 35dd487
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/modules/CEDetector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
##################################
from modules.abstract_module import AbstractModule
from lib.ConfigLoader import ConfigLoader
from lib.objects.Domains import Domain

class CEDetector(AbstractModule):
"""docstring for Onion module."""
Expand Down Expand Up @@ -90,6 +91,10 @@ def compute(self, message): # TODO LIMIT TO DARKWEB ???
print(f'CSAM DETECTED {content}')
# print()
self.add_message_to_queue(message=self.ce_tag, queue='Tags')
# Domains
for dom in self.obj.get_correlation('domain').get('domain', []):
domain = Domain(dom[1:])
self.add_message_to_queue(obj=domain, message=self.ce_tag, queue='Tags')

return to_tag

Expand Down

0 comments on commit 35dd487

Please sign in to comment.