bbot 2.3.0.5438rc0__py3-none-any.whl → 2.3.0.5445rc0__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/modules/extractous.py +1 -1
- bbot/modules/httpx.py +5 -5
- bbot/modules/internal/cloudcheck.py +4 -3
- bbot/test/test_step_2/module_tests/test_module_cloudcheck.py +1 -1
- {bbot-2.3.0.5438rc0.dist-info → bbot-2.3.0.5445rc0.dist-info}/METADATA +2 -1
- {bbot-2.3.0.5438rc0.dist-info → bbot-2.3.0.5445rc0.dist-info}/RECORD +10 -10
- {bbot-2.3.0.5438rc0.dist-info → bbot-2.3.0.5445rc0.dist-info}/LICENSE +0 -0
- {bbot-2.3.0.5438rc0.dist-info → bbot-2.3.0.5445rc0.dist-info}/WHEEL +0 -0
- {bbot-2.3.0.5438rc0.dist-info → bbot-2.3.0.5445rc0.dist-info}/entry_points.txt +0 -0
bbot/__init__.py
CHANGED
bbot/modules/extractous.py
CHANGED
|
@@ -112,7 +112,7 @@ def extract_text(file_path):
|
|
|
112
112
|
result = ""
|
|
113
113
|
buffer = reader.read(4096)
|
|
114
114
|
while len(buffer) > 0:
|
|
115
|
-
result += buffer.decode("utf-8")
|
|
115
|
+
result += buffer.decode("utf-8", errors="ignore")
|
|
116
116
|
buffer = reader.read(4096)
|
|
117
117
|
|
|
118
118
|
return result.strip()
|
bbot/modules/httpx.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import re
|
|
2
|
-
import
|
|
2
|
+
import orjson
|
|
3
3
|
import tempfile
|
|
4
4
|
import subprocess
|
|
5
5
|
from pathlib import Path
|
|
@@ -142,11 +142,11 @@ class httpx(BaseModule):
|
|
|
142
142
|
proxy = self.scan.http_proxy
|
|
143
143
|
if proxy:
|
|
144
144
|
command += ["-http-proxy", proxy]
|
|
145
|
-
async for line in self.run_process_live(command, input=list(stdin), stderr=subprocess.DEVNULL):
|
|
145
|
+
async for line in self.run_process_live(command, text=False, input=list(stdin), stderr=subprocess.DEVNULL):
|
|
146
146
|
try:
|
|
147
|
-
j =
|
|
148
|
-
except
|
|
149
|
-
self.
|
|
147
|
+
j = await self.helpers.run_in_executor(orjson.loads, line)
|
|
148
|
+
except orjson.JSONDecodeError:
|
|
149
|
+
self.warning(f"httpx failed to decode line: {line}")
|
|
150
150
|
continue
|
|
151
151
|
|
|
152
152
|
url = j.get("url", "")
|
|
@@ -72,9 +72,10 @@ class CloudCheck(BaseInterceptModule):
|
|
|
72
72
|
base_kwargs["event_type"] = event_type
|
|
73
73
|
for sig in sigs:
|
|
74
74
|
matches = []
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
# TODO: convert this to an excavate YARA hook
|
|
76
|
+
# if event.type == "HTTP_RESPONSE":
|
|
77
|
+
# matches = await self.helpers.re.findall(sig, event.data.get("body", ""))
|
|
78
|
+
if event.type.startswith("DNS_NAME"):
|
|
78
79
|
for host in str_hosts_to_check:
|
|
79
80
|
match = sig.match(host)
|
|
80
81
|
if match:
|
|
@@ -8,7 +8,7 @@ class TestCloudCheck(ModuleTestBase):
|
|
|
8
8
|
modules_overrides = ["httpx", "excavate", "cloudcheck"]
|
|
9
9
|
|
|
10
10
|
async def setup_after_prep(self, module_test):
|
|
11
|
-
module_test.set_expect_requests({"uri": "/"}, {"response_data": "<a href='asdf.s3.amazonaws.com'/>"})
|
|
11
|
+
module_test.set_expect_requests({"uri": "/"}, {"response_data": "<a href='http://asdf.s3.amazonaws.com'/>"})
|
|
12
12
|
|
|
13
13
|
scan = Scanner(config={"cloudcheck": True})
|
|
14
14
|
await scan._prep()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bbot
|
|
3
|
-
Version: 2.3.0.
|
|
3
|
+
Version: 2.3.0.5445rc0
|
|
4
4
|
Summary: OSINT automation for hackers.
|
|
5
5
|
Home-page: https://github.com/blacklanternsecurity/bbot
|
|
6
6
|
License: GPL-3.0
|
|
@@ -29,6 +29,7 @@ Requires-Dist: jinja2 (>=3.1.3,<4.0.0)
|
|
|
29
29
|
Requires-Dist: lxml (>=4.9.2,<6.0.0)
|
|
30
30
|
Requires-Dist: mmh3 (>=4.1,<6.0)
|
|
31
31
|
Requires-Dist: omegaconf (>=2.3.0,<3.0.0)
|
|
32
|
+
Requires-Dist: orjson (>=3.10.12,<4.0.0)
|
|
32
33
|
Requires-Dist: psutil (>=5.9.4,<7.0.0)
|
|
33
34
|
Requires-Dist: puremagic (>=1.28,<2.0)
|
|
34
35
|
Requires-Dist: pycryptodome (>=3.17,<4.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bbot/__init__.py,sha256=
|
|
1
|
+
bbot/__init__.py,sha256=JG68O_TRR-d3_m2mYrlMbXECV7BE7Shu8Dw0HiS3jeU,130
|
|
2
2
|
bbot/cli.py,sha256=Qlgqabm8N6r6uO1RuwGaM7-VXDSP_NH-YUnDUTsDYPM,10877
|
|
3
3
|
bbot/core/__init__.py,sha256=l255GJE_DvUnWvrRb0J5lG-iMztJ8zVvoweDOfegGtI,46
|
|
4
4
|
bbot/core/config/__init__.py,sha256=zYNw2Me6tsEr8hOOkLb4BQ97GB7Kis2k--G81S8vofU,342
|
|
@@ -98,7 +98,7 @@ bbot/modules/docker_pull.py,sha256=T_xObzExDTZF-_HfgZSfrU199QgCME3rYmkVs1HigXQ,9
|
|
|
98
98
|
bbot/modules/dockerhub.py,sha256=yHKxV-uVubAUvYrIXizSZoLUiPKArTH2mCh5FjY4sas,3486
|
|
99
99
|
bbot/modules/dotnetnuke.py,sha256=rw_EchDg49VyQj5JiUh0AqUqtsuqLrhc-nwrybdzhZ8,10537
|
|
100
100
|
bbot/modules/emailformat.py,sha256=RLPJW-xitYB-VT4Lp08qVzFkXx_kMyV_035JT_Yf4fM,1082
|
|
101
|
-
bbot/modules/extractous.py,sha256=
|
|
101
|
+
bbot/modules/extractous.py,sha256=qE4h0reR51t9NSIcR4-VMMjc5t3H03bpW3fO0A6nb9c,4563
|
|
102
102
|
bbot/modules/ffuf_shortnames.py,sha256=9Kh0kJsw7XXpXmCkiB5eAhG4h9rSo8Y-mB3p0EDa_l0,12624
|
|
103
103
|
bbot/modules/filedownload.py,sha256=x2LmLcLD1FD2L9O6p58l21WYoqyxD5HgHg6P1g1RyxU,8180
|
|
104
104
|
bbot/modules/fingerprintx.py,sha256=rdlR9d64AntAhbS_eJzh8bZCeLPTJPSKdkdKdhH_qAo,3269
|
|
@@ -114,14 +114,14 @@ bbot/modules/google_playstore.py,sha256=N4QjzQag_bgDXfX17rytBiiWA-SQtYI2N0J_ZNEO
|
|
|
114
114
|
bbot/modules/gowitness.py,sha256=nLV2AFFK6hiQrQSoYlqY1Eo2BE3rAjYiiOKCtqAoRDc,11277
|
|
115
115
|
bbot/modules/hackertarget.py,sha256=IsKs9PtxUHdLJKZydlRdW_loBE2KphQYi3lKDAd4odc,1029
|
|
116
116
|
bbot/modules/host_header.py,sha256=uDjwidMdeNPMRfzQ2YW4REEGsZqnGOZHbOS6GgdNd9s,7686
|
|
117
|
-
bbot/modules/httpx.py,sha256=
|
|
117
|
+
bbot/modules/httpx.py,sha256=sNvtjIek2Io9BTle3MQUOj-0QYZvbsKL4et1Xd9vY1I,7642
|
|
118
118
|
bbot/modules/hunt.py,sha256=5giYoCuXWVCzxuHwF6DvA9UlJcenokZJU2-fsou_9zg,5933
|
|
119
119
|
bbot/modules/hunterio.py,sha256=Vp_QnxHSHLYmlUxPYozFVs1u-50UzRybq7Q7dWvCbFM,2638
|
|
120
120
|
bbot/modules/iis_shortnames.py,sha256=bIlmC21a0eK_cjMu1UQkDl9EfpfCN1SAggDqJL8LJfE,14493
|
|
121
121
|
bbot/modules/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
122
122
|
bbot/modules/internal/aggregate.py,sha256=csWYIt2fUp9K_CRxP3bndUMIjpNIh8rmBubp5Fr1-nc,395
|
|
123
123
|
bbot/modules/internal/base.py,sha256=BXO4Hc7XKaAOaLzolF3krJX1KibPxtek2GTQUgnCHk0,387
|
|
124
|
-
bbot/modules/internal/cloudcheck.py,sha256=
|
|
124
|
+
bbot/modules/internal/cloudcheck.py,sha256=sr1_dj4eqcD3x8MigZkjf0AxZZWSJFzvRjYGl5uxVdk,4913
|
|
125
125
|
bbot/modules/internal/dnsresolve.py,sha256=1fwWChIGpSEIIkswueiIhEwIahQ7YngZ-njFK-RIsfU,15679
|
|
126
126
|
bbot/modules/internal/excavate.py,sha256=IazekmFOnjrqghTf9YhBbMM4dohv27vIEvfNZXJSZvg,51529
|
|
127
127
|
bbot/modules/internal/speculate.py,sha256=NolqW2s8tokibc6gVM960KlrABkjhLB-7YlCdVx4O9s,9223
|
|
@@ -294,7 +294,7 @@ bbot/test/test_step_2/module_tests/test_module_c99.py,sha256=F-46Kkwxe29xPZ-3kxC
|
|
|
294
294
|
bbot/test/test_step_2/module_tests/test_module_censys.py,sha256=RoFfLS0hgASdSoctJEzaKrHVqqRkuPRKPTYVCX2rZLo,4177
|
|
295
295
|
bbot/test/test_step_2/module_tests/test_module_certspotter.py,sha256=60jCOeK1yaUEgtTxYW-T47kZgKt9XxP2qBH9w-0MDBk,636
|
|
296
296
|
bbot/test/test_step_2/module_tests/test_module_chaos.py,sha256=9JRgtDEnnJgmEMCTB2bqRJRkBavLys-6ypHPxrM_hXk,956
|
|
297
|
-
bbot/test/test_step_2/module_tests/test_module_cloudcheck.py,sha256=
|
|
297
|
+
bbot/test/test_step_2/module_tests/test_module_cloudcheck.py,sha256=9DVhJfXaM42JXz577T0LdrrmArvhFXNdhICZP8aLLFU,4081
|
|
298
298
|
bbot/test/test_step_2/module_tests/test_module_code_repository.py,sha256=i02Tgvr_F9_E4d6aEaXrfdk71NkoDvjzP4C98l2rNGg,2414
|
|
299
299
|
bbot/test/test_step_2/module_tests/test_module_columbus.py,sha256=6CpIJCsykUfsn0CqxQWciIiNdM3Z73-HTnpBnVtS-L8,563
|
|
300
300
|
bbot/test/test_step_2/module_tests/test_module_credshed.py,sha256=ipkCFL7YmZBLWWoGyGr98saL_yh3E99EnLtagHqdY1g,3360
|
|
@@ -416,8 +416,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
|
|
|
416
416
|
bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
|
|
417
417
|
bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
|
|
418
418
|
bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
|
|
419
|
-
bbot-2.3.0.
|
|
420
|
-
bbot-2.3.0.
|
|
421
|
-
bbot-2.3.0.
|
|
422
|
-
bbot-2.3.0.
|
|
423
|
-
bbot-2.3.0.
|
|
419
|
+
bbot-2.3.0.5445rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
|
|
420
|
+
bbot-2.3.0.5445rc0.dist-info/METADATA,sha256=TG1MVpP1_xg79xoc_MNMJtE8VrRLIGHNIHAq8oy9VW4,17990
|
|
421
|
+
bbot-2.3.0.5445rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
422
|
+
bbot-2.3.0.5445rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
|
|
423
|
+
bbot-2.3.0.5445rc0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|