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

Fix Cloud Tags #855

Merged
merged 1 commit into from
Nov 20, 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
9 changes: 1 addition & 8 deletions bbot/core/helpers/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2234,9 +2234,6 @@ def is_file(f):
return False


provider_map = {"amazon": "aws", "google": "gcp"}


def cloudcheck(ip):
"""
Check whether an IP address belongs to a cloud provider and returns the provider name, type, and subnet.
Expand All @@ -2251,11 +2248,7 @@ def cloudcheck(ip):
>>> cloudcheck("168.62.20.37")
('Azure', 'cloud', IPv4Network('168.62.0.0/19'))
"""
provider, provider_type, subnet = _cloudcheck.check(ip)
if provider:
with suppress(KeyError):
provider = provider_map[provider.lower()]
return provider, provider_type, subnet
return _cloudcheck.check(ip)


def is_async_function(f):
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/massdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class massdns(subdomain_enum):
Subdomains with higher mutation levels are more likely to be distant/rare or never-before-seen.
"""

flags = ["subdomain-enum", "passive", "slow", "aggressive"]
flags = ["subdomain-enum", "passive", "aggressive"]
watched_events = ["DNS_NAME"]
produced_events = ["DNS_NAME"]
meta = {"description": "Brute-force subdomains with massdns (highly effective)"}
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/telerik.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class telerik(BaseModule):
watched_events = ["URL"]
produced_events = ["VULNERABILITY", "FINDING"]
flags = ["active", "aggressive", "slow", "web-thorough"]
flags = ["active", "aggressive", "web-thorough"]
meta = {"description": "Scan for critical Telerik vulnerabilities"}

telerikVersions = [
Expand Down