Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Nov 13, 2023
1 parent 571e7b8 commit f3840cc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 28 deletions.
2 changes: 1 addition & 1 deletion bbot/scanner/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def _emit_event(self, event, **kwargs):
source_module = self.scan.helpers._make_dummy_module("host", _type="internal")
source_module._priority = 4
source_event = self.scan.make_event(
event.host, "DNS_NAME", module=source_module, source=event, internal=True
event.host, "DNS_NAME", module=source_module, source=event
)
# only emit the event if it's not already in the parent chain
if source_event is not None and source_event not in source_event.get_sources():
Expand Down
Loading

0 comments on commit f3840cc

Please sign in to comment.