bbot 2.3.0.5376rc0__py3-none-any.whl → 2.3.0.5382rc0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bbot might be problematic. Click here for more details.
- bbot/__init__.py +1 -1
- bbot/cli.py +2 -2
- bbot/core/config/logger.py +1 -1
- bbot/core/core.py +1 -1
- bbot/core/event/base.py +13 -13
- bbot/core/helpers/command.py +4 -4
- bbot/core/helpers/depsinstaller/installer.py +5 -5
- bbot/core/helpers/diff.py +7 -7
- bbot/core/helpers/dns/brute.py +1 -1
- bbot/core/helpers/dns/dns.py +1 -1
- bbot/core/helpers/dns/engine.py +4 -4
- bbot/core/helpers/files.py +1 -1
- bbot/core/helpers/helper.py +3 -1
- bbot/core/helpers/interactsh.py +3 -3
- bbot/core/helpers/misc.py +11 -11
- bbot/core/helpers/regex.py +1 -1
- bbot/core/helpers/regexes.py +3 -3
- bbot/core/helpers/validators.py +1 -1
- bbot/core/helpers/web/client.py +1 -1
- bbot/core/helpers/web/engine.py +1 -1
- bbot/core/helpers/web/web.py +2 -2
- bbot/core/helpers/wordcloud.py +5 -5
- bbot/core/modules.py +21 -21
- bbot/modules/azure_tenant.py +2 -2
- bbot/modules/base.py +16 -16
- bbot/modules/bypass403.py +5 -5
- bbot/modules/c99.py +1 -1
- bbot/modules/columbus.py +1 -1
- bbot/modules/deadly/ffuf.py +8 -8
- bbot/modules/deadly/nuclei.py +1 -1
- bbot/modules/deadly/vhost.py +3 -3
- bbot/modules/dnsbimi.py +1 -1
- bbot/modules/dnsdumpster.py +2 -2
- bbot/modules/dockerhub.py +1 -1
- bbot/modules/extractous.py +1 -1
- bbot/modules/filedownload.py +1 -1
- bbot/modules/generic_ssrf.py +3 -3
- bbot/modules/github_workflows.py +1 -1
- bbot/modules/gowitness.py +7 -7
- bbot/modules/host_header.py +5 -5
- bbot/modules/httpx.py +1 -1
- bbot/modules/iis_shortnames.py +6 -6
- bbot/modules/internal/cloudcheck.py +5 -5
- bbot/modules/internal/dnsresolve.py +7 -7
- bbot/modules/internal/excavate.py +5 -5
- bbot/modules/internal/speculate.py +4 -4
- bbot/modules/ipneighbor.py +1 -1
- bbot/modules/jadx.py +1 -1
- bbot/modules/newsletters.py +2 -2
- bbot/modules/output/asset_inventory.py +6 -6
- bbot/modules/output/base.py +1 -1
- bbot/modules/output/csv.py +1 -1
- bbot/modules/output/stdout.py +2 -2
- bbot/modules/paramminer_headers.py +3 -3
- bbot/modules/portscan.py +3 -3
- bbot/modules/report/asn.py +11 -11
- bbot/modules/robots.py +3 -3
- bbot/modules/securitytxt.py +1 -1
- bbot/modules/sitedossier.py +1 -1
- bbot/modules/social.py +1 -1
- bbot/modules/subdomainradar.py +1 -1
- bbot/modules/telerik.py +7 -7
- bbot/modules/templates/bucket.py +1 -1
- bbot/modules/templates/github.py +1 -1
- bbot/modules/templates/shodan.py +1 -1
- bbot/modules/templates/subdomain_enum.py +1 -1
- bbot/modules/templates/webhook.py +1 -1
- bbot/modules/trufflehog.py +1 -1
- bbot/modules/url_manipulation.py +3 -3
- bbot/modules/urlscan.py +1 -1
- bbot/modules/viewdns.py +1 -1
- bbot/modules/wafw00f.py +1 -1
- bbot/scanner/preset/args.py +10 -10
- bbot/scanner/preset/preset.py +9 -9
- bbot/scanner/scanner.py +17 -17
- bbot/scanner/target.py +1 -1
- bbot/scripts/docs.py +1 -1
- bbot/test/bbot_fixtures.py +1 -1
- bbot/test/conftest.py +1 -1
- bbot/test/run_tests.sh +4 -4
- bbot/test/test_step_1/test_bbot_fastapi.py +2 -2
- bbot/test/test_step_1/test_cli.py +56 -56
- bbot/test/test_step_1/test_dns.py +15 -15
- bbot/test/test_step_1/test_engine.py +17 -17
- bbot/test/test_step_1/test_events.py +22 -22
- bbot/test/test_step_1/test_helpers.py +26 -26
- bbot/test/test_step_1/test_manager_scope_accuracy.py +306 -306
- bbot/test/test_step_1/test_modules_basic.py +52 -53
- bbot/test/test_step_1/test_presets.py +81 -81
- bbot/test/test_step_1/test_regexes.py +5 -5
- bbot/test/test_step_1/test_scan.py +4 -4
- bbot/test/test_step_1/test_target.py +25 -25
- bbot/test/test_step_1/test_web.py +5 -5
- bbot/test/test_step_2/module_tests/base.py +6 -6
- bbot/test/test_step_2/module_tests/test_module_anubisdb.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_azure_realm.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_baddns.py +6 -6
- bbot/test/test_step_2/module_tests/test_module_baddns_direct.py +2 -4
- bbot/test/test_step_2/module_tests/test_module_bevigil.py +4 -4
- bbot/test/test_step_2/module_tests/test_module_binaryedge.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_bucket_amazon.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_bucket_azure.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_builtwith.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_c99.py +9 -9
- bbot/test/test_step_2/module_tests/test_module_columbus.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_credshed.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_dehashed.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_digitorus.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_dnsbrute.py +8 -8
- bbot/test/test_step_2/module_tests/test_module_dnsdumpster.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_excavate.py +10 -10
- bbot/test/test_step_2/module_tests/test_module_extractous.py +9 -9
- bbot/test/test_step_2/module_tests/test_module_filedownload.py +14 -14
- bbot/test/test_step_2/module_tests/test_module_git_clone.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_gowitness.py +4 -4
- bbot/test/test_step_2/module_tests/test_module_host_header.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_http.py +4 -4
- bbot/test/test_step_2/module_tests/test_module_httpx.py +7 -7
- bbot/test/test_step_2/module_tests/test_module_leakix.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_myssl.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_neo4j.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_newsletters.py +6 -6
- bbot/test/test_step_2/module_tests/test_module_ntlm.py +7 -7
- bbot/test/test_step_2/module_tests/test_module_oauth.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_otx.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_paramminer_cookies.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_paramminer_headers.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_portscan.py +3 -3
- bbot/test/test_step_2/module_tests/test_module_postgres.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_rapiddns.py +9 -9
- bbot/test/test_step_2/module_tests/test_module_sitedossier.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_smuggler.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_speculate.py +2 -6
- bbot/test/test_step_2/module_tests/test_module_splunk.py +4 -4
- bbot/test/test_step_2/module_tests/test_module_subdomaincenter.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_subdomains.py +1 -1
- bbot/test/test_step_2/module_tests/test_module_trufflehog.py +2 -2
- bbot/test/test_step_2/module_tests/test_module_wayback.py +1 -1
- {bbot-2.3.0.5376rc0.dist-info → bbot-2.3.0.5382rc0.dist-info}/METADATA +2 -2
- {bbot-2.3.0.5376rc0.dist-info → bbot-2.3.0.5382rc0.dist-info}/RECORD +143 -143
- {bbot-2.3.0.5376rc0.dist-info → bbot-2.3.0.5382rc0.dist-info}/LICENSE +0 -0
- {bbot-2.3.0.5376rc0.dist-info → bbot-2.3.0.5382rc0.dist-info}/WHEEL +0 -0
- {bbot-2.3.0.5376rc0.dist-info → bbot-2.3.0.5382rc0.dist-info}/entry_points.txt +0 -0
|
@@ -48,7 +48,7 @@ class TestPostgres(ModuleTestBase):
|
|
|
48
48
|
await asyncio.sleep(1)
|
|
49
49
|
|
|
50
50
|
if process.returncode != 0:
|
|
51
|
-
self.log.error(
|
|
51
|
+
self.log.error("Failed to start PostgreSQL server")
|
|
52
52
|
|
|
53
53
|
async def check(self, module_test, events):
|
|
54
54
|
import asyncpg
|
|
@@ -11,7 +11,7 @@ class TestRapidDNS(ModuleTestBase):
|
|
|
11
11
|
async def setup_after_prep(self, module_test):
|
|
12
12
|
module_test.module.abort_if = lambda e: False
|
|
13
13
|
module_test.httpx_mock.add_response(
|
|
14
|
-
url=
|
|
14
|
+
url="https://rapiddns.io/subdomain/blacklanternsecurity.com?full=1#result", text=self.web_body
|
|
15
15
|
)
|
|
16
16
|
|
|
17
17
|
def check(self, module_test, events):
|
|
@@ -45,10 +45,10 @@ class TestRapidDNSAbortThreshold1(TestRapidDNS):
|
|
|
45
45
|
|
|
46
46
|
def check(self, module_test, events):
|
|
47
47
|
assert module_test.module.api_failure_abort_threshold == 10
|
|
48
|
-
assert module_test.module.errored
|
|
48
|
+
assert module_test.module.errored is False
|
|
49
49
|
assert module_test.module._api_request_failures == 3
|
|
50
50
|
assert module_test.module.api_retries == 3
|
|
51
|
-
assert
|
|
51
|
+
assert {e.data for e in events if e.type == "DNS_NAME"} == {"blacklanternsecurity.com"}
|
|
52
52
|
assert self.url_count == {
|
|
53
53
|
"https://rapiddns.io/subdomain/blacklanternsecurity.com?full=1#result": 3,
|
|
54
54
|
}
|
|
@@ -59,10 +59,10 @@ class TestRapidDNSAbortThreshold2(TestRapidDNSAbortThreshold1):
|
|
|
59
59
|
|
|
60
60
|
def check(self, module_test, events):
|
|
61
61
|
assert module_test.module.api_failure_abort_threshold == 10
|
|
62
|
-
assert module_test.module.errored
|
|
62
|
+
assert module_test.module.errored is False
|
|
63
63
|
assert module_test.module._api_request_failures == 6
|
|
64
64
|
assert module_test.module.api_retries == 3
|
|
65
|
-
assert
|
|
65
|
+
assert {e.data for e in events if e.type == "DNS_NAME"} == {"blacklanternsecurity.com", "evilcorp.com"}
|
|
66
66
|
assert self.url_count == {
|
|
67
67
|
"https://rapiddns.io/subdomain/blacklanternsecurity.com?full=1#result": 3,
|
|
68
68
|
"https://rapiddns.io/subdomain/evilcorp.com?full=1#result": 3,
|
|
@@ -74,10 +74,10 @@ class TestRapidDNSAbortThreshold3(TestRapidDNSAbortThreshold1):
|
|
|
74
74
|
|
|
75
75
|
def check(self, module_test, events):
|
|
76
76
|
assert module_test.module.api_failure_abort_threshold == 10
|
|
77
|
-
assert module_test.module.errored
|
|
77
|
+
assert module_test.module.errored is False
|
|
78
78
|
assert module_test.module._api_request_failures == 9
|
|
79
79
|
assert module_test.module.api_retries == 3
|
|
80
|
-
assert
|
|
80
|
+
assert {e.data for e in events if e.type == "DNS_NAME"} == {
|
|
81
81
|
"blacklanternsecurity.com",
|
|
82
82
|
"evilcorp.com",
|
|
83
83
|
"evilcorp.net",
|
|
@@ -94,10 +94,10 @@ class TestRapidDNSAbortThreshold4(TestRapidDNSAbortThreshold1):
|
|
|
94
94
|
|
|
95
95
|
def check(self, module_test, events):
|
|
96
96
|
assert module_test.module.api_failure_abort_threshold == 10
|
|
97
|
-
assert module_test.module.errored
|
|
97
|
+
assert module_test.module.errored is True
|
|
98
98
|
assert module_test.module._api_request_failures == 10
|
|
99
99
|
assert module_test.module.api_retries == 3
|
|
100
|
-
assert
|
|
100
|
+
assert {e.data for e in events if e.type == "DNS_NAME"} == {
|
|
101
101
|
"blacklanternsecurity.com",
|
|
102
102
|
"evilcorp.com",
|
|
103
103
|
"evilcorp.net",
|
|
@@ -136,11 +136,11 @@ class TestSitedossier(ModuleTestBase):
|
|
|
136
136
|
}
|
|
137
137
|
)
|
|
138
138
|
module_test.httpx_mock.add_response(
|
|
139
|
-
url=
|
|
139
|
+
url="http://www.sitedossier.com/parentdomain/evilcorp.com",
|
|
140
140
|
text=page1,
|
|
141
141
|
)
|
|
142
142
|
module_test.httpx_mock.add_response(
|
|
143
|
-
url=
|
|
143
|
+
url="http://www.sitedossier.com/parentdomain/evilcorp.com/101",
|
|
144
144
|
text=page2,
|
|
145
145
|
)
|
|
146
146
|
|
|
@@ -39,7 +39,7 @@ class TestSmuggler(ModuleTestBase):
|
|
|
39
39
|
old_run_live = module_test.scan.helpers.run_live
|
|
40
40
|
|
|
41
41
|
async def smuggler_mock_run_live(*command, **kwargs):
|
|
42
|
-
if
|
|
42
|
+
if "smuggler" not in command[0][1]:
|
|
43
43
|
async for l in old_run_live(*command, **kwargs):
|
|
44
44
|
yield l
|
|
45
45
|
else:
|
|
@@ -62,10 +62,8 @@ class TestSpeculate_OpenPorts(ModuleTestBase):
|
|
|
62
62
|
for e in module_test.scan.modules["dummy"].events:
|
|
63
63
|
events_data.add(e.data)
|
|
64
64
|
assert all(
|
|
65
|
-
|
|
66
|
-
x in events_data
|
|
65
|
+
x in events_data
|
|
67
66
|
for x in ("evilcorp.com:80", "evilcorp.com:443", "asdf.evilcorp.com:80", "asdf.evilcorp.com:443")
|
|
68
|
-
]
|
|
69
67
|
)
|
|
70
68
|
|
|
71
69
|
|
|
@@ -79,8 +77,6 @@ class TestSpeculate_OpenPorts_Portscanner(TestSpeculate_OpenPorts):
|
|
|
79
77
|
for e in module_test.scan.modules["dummy"].events:
|
|
80
78
|
events_data.add(e.data)
|
|
81
79
|
assert not any(
|
|
82
|
-
|
|
83
|
-
x in events_data
|
|
80
|
+
x in events_data
|
|
84
81
|
for x in ("evilcorp.com:80", "evilcorp.com:443", "asdf.evilcorp.com:80", "asdf.evilcorp.com:443")
|
|
85
|
-
]
|
|
86
82
|
)
|
|
@@ -52,7 +52,7 @@ class TestSplunk(ModuleTestBase):
|
|
|
52
52
|
module_test.httpx_mock.add_response()
|
|
53
53
|
|
|
54
54
|
def check(self, module_test, events):
|
|
55
|
-
assert self.got_event
|
|
56
|
-
assert self.headers_correct
|
|
57
|
-
assert self.method_correct
|
|
58
|
-
assert self.url_correct
|
|
55
|
+
assert self.got_event is True
|
|
56
|
+
assert self.headers_correct is True
|
|
57
|
+
assert self.method_correct is True
|
|
58
|
+
assert self.url_correct is True
|
|
@@ -4,7 +4,7 @@ from .base import ModuleTestBase
|
|
|
4
4
|
class TestSubdomainCenter(ModuleTestBase):
|
|
5
5
|
async def setup_after_prep(self, module_test):
|
|
6
6
|
module_test.httpx_mock.add_response(
|
|
7
|
-
url=
|
|
7
|
+
url="https://api.subdomain.center/?domain=blacklanternsecurity.com",
|
|
8
8
|
json=["asdf.blacklanternsecurity.com", "zzzz.blacklanternsecurity.com"],
|
|
9
9
|
)
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ class TestSubdomains(ModuleTestBase):
|
|
|
6
6
|
|
|
7
7
|
async def setup_after_prep(self, module_test):
|
|
8
8
|
module_test.httpx_mock.add_response(
|
|
9
|
-
url=
|
|
9
|
+
url="https://api.subdomain.center/?domain=blacklanternsecurity.com",
|
|
10
10
|
json=["asdfasdf.blacklanternsecurity.com", "zzzzzzzz.blacklanternsecurity.com"],
|
|
11
11
|
)
|
|
12
12
|
|
|
@@ -1144,7 +1144,7 @@ class TestTrufflehog(ModuleTestBase):
|
|
|
1144
1144
|
assert content == self.file_content, "File content doesn't match"
|
|
1145
1145
|
filesystem_events = [e.parent for e in vuln_events]
|
|
1146
1146
|
assert len(filesystem_events) == 4
|
|
1147
|
-
assert all(
|
|
1147
|
+
assert all(e.type == "FILESYSTEM" for e in filesystem_events)
|
|
1148
1148
|
assert 1 == len(
|
|
1149
1149
|
[
|
|
1150
1150
|
e
|
|
@@ -1206,7 +1206,7 @@ class TestTrufflehog_NonVerified(TestTrufflehog):
|
|
|
1206
1206
|
assert content == self.file_content, "File content doesn't match"
|
|
1207
1207
|
filesystem_events = [e.parent for e in finding_events]
|
|
1208
1208
|
assert len(filesystem_events) == 4
|
|
1209
|
-
assert all(
|
|
1209
|
+
assert all(e.type == "FILESYSTEM" for e in filesystem_events)
|
|
1210
1210
|
assert 1 == len(
|
|
1211
1211
|
[
|
|
1212
1212
|
e
|
|
@@ -4,7 +4,7 @@ from .base import ModuleTestBase
|
|
|
4
4
|
class TestWayback(ModuleTestBase):
|
|
5
5
|
async def setup_after_prep(self, module_test):
|
|
6
6
|
module_test.httpx_mock.add_response(
|
|
7
|
-
url=
|
|
7
|
+
url="http://web.archive.org/cdx/search/cdx?url=blacklanternsecurity.com&matchType=domain&output=json&fl=original&collapse=original",
|
|
8
8
|
json=[["original"], ["http://asdf.blacklanternsecurity.com"]],
|
|
9
9
|
)
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bbot
|
|
3
|
-
Version: 2.3.0.
|
|
3
|
+
Version: 2.3.0.5382rc0
|
|
4
4
|
Summary: OSINT automation for hackers.
|
|
5
5
|
Home-page: https://github.com/blacklanternsecurity/bbot
|
|
6
6
|
License: GPL-3.0
|
|
@@ -54,7 +54,7 @@ Description-Content-Type: text/markdown
|
|
|
54
54
|
|
|
55
55
|
[](https://github.com/blacklanternsecurity/bbot)
|
|
56
56
|
|
|
57
|
-
[](https://www.python.org) [](https://github.com/blacklanternsecurity/bbot/blob/dev/LICENSE) [](https://www.reconvillage.org/talks) [](https://pepy.tech/project/bbot) [](https://www.python.org) [](https://github.com/blacklanternsecurity/bbot/blob/dev/LICENSE) [](https://www.reconvillage.org/talks) [](https://pepy.tech/project/bbot) [](https://github.com/astral-sh/ruff) [](https://github.com/blacklanternsecurity/bbot/actions?query=workflow%3A"tests") [](https://codecov.io/gh/blacklanternsecurity/bbot) [](https://discord.com/invite/PZqkgxu5SA)
|
|
58
58
|
|
|
59
59
|
### **BEE·bot** is a multipurpose scanner inspired by [Spiderfoot](https://github.com/smicallef/spiderfoot), built to automate your **Recon**, **Bug Bounties**, and **ASM**!
|
|
60
60
|
|