diff --git a/bbot/modules/deadly/nuclei.py b/bbot/modules/deadly/nuclei.py index a6c9fc290d..d45edd2863 100644 --- a/bbot/modules/deadly/nuclei.py +++ b/bbot/modules/deadly/nuclei.py @@ -135,10 +135,11 @@ async def handle_batch(self, *events): cleaned_host = temp_target.get(host) source_event = self.correlate_event(events, cleaned_host) - if url == "": - if not source_event: + if not source_event: continue - url = str(source_event.data) + + if url == "": + url = str(source_event.data) description_string = f"template: [{template}], name: [{name}]" if len(extracted_results) > 0: