diff --git a/bbot/scanner/manager.py b/bbot/scanner/manager.py index 13d46669d0..c8e3a15312 100644 --- a/bbot/scanner/manager.py +++ b/bbot/scanner/manager.py @@ -222,6 +222,11 @@ async def _emit_event(self, event, **kwargs): log.debug(f"Omitting due to blacklisted {reason}: {event}") return + # other blacklist rejections - URL extensions, etc. + if "blacklisted" in event.tags: + log.debug(f"Omitting blacklisted event: {event}") + return + # DNS_NAME --> DNS_NAME_UNRESOLVED if event.type == "DNS_NAME" and "unresolved" in event.tags and not "target" in event.tags: event.type = "DNS_NAME_UNRESOLVED"