diff --git a/bbot/modules/azure_realm.py b/bbot/modules/azure_realm.py index 869183a88..f299ca3dc 100644 --- a/bbot/modules/azure_realm.py +++ b/bbot/modules/azure_realm.py @@ -3,7 +3,7 @@ class azure_realm(BaseModule): watched_events = ["DNS_NAME"] - produced_events = ["DNS_NAME"] + produced_events = ["URL_UNVERIFIED"] flags = ["affiliates", "subdomain-enum", "cloud-enum", "web-basic", "passive", "safe"] meta = {"description": 'Retrieves the "AuthURL" from login.microsoftonline.com/getuserrealm'} diff --git a/bbot/modules/azure_tenant.py b/bbot/modules/azure_tenant.py index 1ea068e8f..8ba59dcfc 100644 --- a/bbot/modules/azure_tenant.py +++ b/bbot/modules/azure_tenant.py @@ -84,7 +84,7 @@ async def query(self, domain): status_code = getattr(r, "status_code", 0) if status_code not in (200, 421): self.verbose(f'Error retrieving azure_tenant domains for "{domain}" (status code: {status_code})') - return set(), set() + return set(), dict() found_domains = list(set(self.d_xml_regex.findall(r.text))) domains = set()