Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure_tenant bugfix #691

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bbot/modules/azure_realm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}

Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/azure_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down