bbot 2.5.0.6779rc0__py3-none-any.whl → 2.5.0.6782rc0__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/apkpure.py +1 -1
- bbot/modules/docker_pull.py +1 -1
- bbot/modules/filedownload.py +1 -1
- bbot/modules/git_clone.py +1 -1
- bbot/modules/gitdumper.py +1 -1
- bbot/modules/postman_download.py +1 -1
- bbot/scanner/scanner.py +5 -1
- bbot/test/test_step_1/test_helpers.py +4 -2
- {bbot-2.5.0.6779rc0.dist-info → bbot-2.5.0.6782rc0.dist-info}/METADATA +1 -1
- {bbot-2.5.0.6779rc0.dist-info → bbot-2.5.0.6782rc0.dist-info}/RECORD +14 -14
- {bbot-2.5.0.6779rc0.dist-info → bbot-2.5.0.6782rc0.dist-info}/LICENSE +0 -0
- {bbot-2.5.0.6779rc0.dist-info → bbot-2.5.0.6782rc0.dist-info}/WHEEL +0 -0
- {bbot-2.5.0.6779rc0.dist-info → bbot-2.5.0.6782rc0.dist-info}/entry_points.txt +0 -0
bbot/__init__.py
CHANGED
bbot/modules/apkpure.py
CHANGED
|
@@ -22,7 +22,7 @@ class apkpure(BaseModule):
|
|
|
22
22
|
if output_folder:
|
|
23
23
|
self.output_dir = Path(output_folder) / "apk_files"
|
|
24
24
|
else:
|
|
25
|
-
self.output_dir = self.
|
|
25
|
+
self.output_dir = self.scan.temp_dir / "apk_files"
|
|
26
26
|
self.helpers.mkdir(self.output_dir)
|
|
27
27
|
return await super().setup()
|
|
28
28
|
|
bbot/modules/docker_pull.py
CHANGED
|
@@ -38,7 +38,7 @@ class docker_pull(BaseModule):
|
|
|
38
38
|
if output_folder:
|
|
39
39
|
self.output_dir = Path(output_folder) / "docker_images"
|
|
40
40
|
else:
|
|
41
|
-
self.output_dir = self.
|
|
41
|
+
self.output_dir = self.scan.temp_dir / "docker_images"
|
|
42
42
|
self.helpers.mkdir(self.output_dir)
|
|
43
43
|
return await super().setup()
|
|
44
44
|
|
bbot/modules/filedownload.py
CHANGED
|
@@ -103,7 +103,7 @@ class filedownload(BaseModule):
|
|
|
103
103
|
if output_dir:
|
|
104
104
|
self.download_dir = Path(output_dir) / "filedownload"
|
|
105
105
|
else:
|
|
106
|
-
self.download_dir = self.
|
|
106
|
+
self.download_dir = self.scan.temp_dir / "filedownload"
|
|
107
107
|
self.helpers.mkdir(self.download_dir)
|
|
108
108
|
self.mime_db_file = await self.helpers.wordlist(
|
|
109
109
|
"https://raw.githubusercontent.com/jshttp/mime-db/master/db.json"
|
bbot/modules/git_clone.py
CHANGED
|
@@ -27,7 +27,7 @@ class git_clone(github):
|
|
|
27
27
|
if output_folder:
|
|
28
28
|
self.output_dir = Path(output_folder) / "git_repos"
|
|
29
29
|
else:
|
|
30
|
-
self.output_dir = self.
|
|
30
|
+
self.output_dir = self.scan.temp_dir / "git_repos"
|
|
31
31
|
self.helpers.mkdir(self.output_dir)
|
|
32
32
|
return await super().setup()
|
|
33
33
|
|
bbot/modules/gitdumper.py
CHANGED
|
@@ -33,7 +33,7 @@ class gitdumper(BaseModule):
|
|
|
33
33
|
if output_folder:
|
|
34
34
|
self.output_dir = Path(output_folder) / "git_repos"
|
|
35
35
|
else:
|
|
36
|
-
self.output_dir = self.
|
|
36
|
+
self.output_dir = self.scan.temp_dir / "git_repos"
|
|
37
37
|
self.helpers.mkdir(self.output_dir)
|
|
38
38
|
self.unsafe_regex = self.helpers.re.compile(r"^\s*fsmonitor|sshcommand|askpass|editor|pager", re.IGNORECASE)
|
|
39
39
|
self.ref_regex = self.helpers.re.compile(r"ref: refs/heads/([a-zA-Z\d_-]+)")
|
bbot/modules/postman_download.py
CHANGED
|
@@ -25,7 +25,7 @@ class postman_download(postman):
|
|
|
25
25
|
if output_folder:
|
|
26
26
|
self.output_dir = Path(output_folder) / "postman_workspaces"
|
|
27
27
|
else:
|
|
28
|
-
self.output_dir = self.
|
|
28
|
+
self.output_dir = self.scan.temp_dir / "postman_workspaces"
|
|
29
29
|
self.helpers.mkdir(self.output_dir)
|
|
30
30
|
return await super().setup()
|
|
31
31
|
|
bbot/scanner/scanner.py
CHANGED
|
@@ -175,6 +175,10 @@ class Scanner:
|
|
|
175
175
|
else:
|
|
176
176
|
self.home = self.preset.bbot_home / "scans" / self.name
|
|
177
177
|
|
|
178
|
+
# scan temp dir
|
|
179
|
+
self.temp_dir = self.home / "temp"
|
|
180
|
+
self.helpers.mkdir(self.temp_dir)
|
|
181
|
+
|
|
178
182
|
self._status = "NOT_STARTED"
|
|
179
183
|
self._status_code = 0
|
|
180
184
|
|
|
@@ -884,7 +888,7 @@ class Scanner:
|
|
|
884
888
|
await mod._cleanup()
|
|
885
889
|
with contextlib.suppress(Exception):
|
|
886
890
|
self.home.rmdir()
|
|
887
|
-
self.helpers.rm_rf(self.
|
|
891
|
+
self.helpers.rm_rf(self.temp_dir, ignore_errors=True)
|
|
888
892
|
self.helpers.clean_old_scans()
|
|
889
893
|
|
|
890
894
|
def in_scope(self, *args, **kwargs):
|
|
@@ -963,11 +963,13 @@ async def test_rm_temp_dir_at_exit(helpers):
|
|
|
963
963
|
scan = Scanner("127.0.0.1", modules=["httpx"])
|
|
964
964
|
await scan._prep()
|
|
965
965
|
|
|
966
|
+
temp_dir = scan.home / "temp"
|
|
967
|
+
|
|
966
968
|
# temp dir should exist
|
|
967
|
-
assert
|
|
969
|
+
assert temp_dir.exists()
|
|
968
970
|
|
|
969
971
|
events = [e async for e in scan.async_start()]
|
|
970
972
|
assert events
|
|
971
973
|
|
|
972
974
|
# temp dir should be removed
|
|
973
|
-
assert not
|
|
975
|
+
assert not temp_dir.exists()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: bbot
|
|
3
|
-
Version: 2.5.0.
|
|
3
|
+
Version: 2.5.0.6782rc0
|
|
4
4
|
Summary: OSINT automation for hackers.
|
|
5
5
|
License: GPL-3.0
|
|
6
6
|
Keywords: python,cli,automation,osint,threat-intel,intelligence,neo4j,scanner,python-library,hacking,recursion,pentesting,recon,command-line-tool,bugbounty,subdomains,security-tools,subdomain-scanner,osint-framework,attack-surface,subdomain-enumeration,osint-tool
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bbot/__init__.py,sha256=
|
|
1
|
+
bbot/__init__.py,sha256=ai9PVYrYrkhpqWEav1bWsPdjqUp84ZB_vKpd7z3QLJ4,163
|
|
2
2
|
bbot/cli.py,sha256=1QJbANVw9Q3GFM92H2QRV2ds5756ulm08CDZwzwPpeI,11888
|
|
3
3
|
bbot/core/__init__.py,sha256=l255GJE_DvUnWvrRb0J5lG-iMztJ8zVvoweDOfegGtI,46
|
|
4
4
|
bbot/core/config/__init__.py,sha256=zYNw2Me6tsEr8hOOkLb4BQ97GB7Kis2k--G81S8vofU,342
|
|
@@ -56,7 +56,7 @@ bbot/logger.py,sha256=wE-532v5FyKuSSoTdyW1xSfaOnLZB1axAJnB-uW2xrI,2745
|
|
|
56
56
|
bbot/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
57
|
bbot/modules/ajaxpro.py,sha256=daE1yQoCsSI5c4dh3YKwRSggTISNjWgrK7qTPidk7cU,3764
|
|
58
58
|
bbot/modules/anubisdb.py,sha256=JCy2YCfa0e_VawpzNmcPXAosKUthmYGutireJ0gMDws,1916
|
|
59
|
-
bbot/modules/apkpure.py,sha256=
|
|
59
|
+
bbot/modules/apkpure.py,sha256=h26zh-nv1G9IvvTwywbFcARiZPfHUhjIUGVl0Achbek,2555
|
|
60
60
|
bbot/modules/aspnet_bin_exposure.py,sha256=X16mK8tff7-LOcbS4fUschkDRdVVz9r2N8Ta2EZzw2Y,3737
|
|
61
61
|
bbot/modules/azure_realm.py,sha256=pP2PUlLy0K9KKaE8aNcznWjDW3PKHvnMejdOSc-o4ms,1612
|
|
62
62
|
bbot/modules/azure_tenant.py,sha256=qBn7CUA_hth2PqW55XZVjYxIw20xLYrMntXc6mYpmKU,5366
|
|
@@ -93,20 +93,20 @@ bbot/modules/dnscaa.py,sha256=pyaLqHrdsVhqtd1JBZVjKKcuYT_ywUbFYkrnfXcGD5s,5014
|
|
|
93
93
|
bbot/modules/dnscommonsrv.py,sha256=wrCRTlqVuxFIScWH0Cb0UQAVk0TWxgVc5fo5awl3R24,1568
|
|
94
94
|
bbot/modules/dnsdumpster.py,sha256=bqUqyvRJVtoTXbDxTZ-kgPNq4dCE9xv_msBIn_Nj5IM,3251
|
|
95
95
|
bbot/modules/dnstlsrpt.py,sha256=ntNKVDXDgDVWr1A20ShNT5HFBhXsVEM5aUIEU_0c9HU,6427
|
|
96
|
-
bbot/modules/docker_pull.py,sha256=
|
|
96
|
+
bbot/modules/docker_pull.py,sha256=zNQcQdS-JWM2-TbQ_iyjeGA9CKcpuXdeO5ucoJgzZNY,9189
|
|
97
97
|
bbot/modules/dockerhub.py,sha256=JQkujjqvQRzQuvHjQ7JbFs_VlJj8dLRPRObAkBgUQhc,3493
|
|
98
98
|
bbot/modules/dotnetnuke.py,sha256=zipcHyNYr2FEecStb1Yrm938ps01RvHV8NnyqAvnGGc,10537
|
|
99
99
|
bbot/modules/emailformat.py,sha256=RLPJW-xitYB-VT4Lp08qVzFkXx_kMyV_035JT_Yf4fM,1082
|
|
100
100
|
bbot/modules/extractous.py,sha256=VSGKmHPAA_4r62jaN8Yqi3JcjehjxpI2lhe8i2j786s,4648
|
|
101
101
|
bbot/modules/ffuf.py,sha256=94TJ5xvqKwH0JaWmC_t1dLTpRsO8HEy4lnbsu8LF_HY,14965
|
|
102
102
|
bbot/modules/ffuf_shortnames.py,sha256=y5vnypLPN-KrjpmoG5zlqcX8VwfcLBpNg1yQI7bP9Hg,18737
|
|
103
|
-
bbot/modules/filedownload.py,sha256=
|
|
103
|
+
bbot/modules/filedownload.py,sha256=5MctNWSYyjoXPshRXbltsn92KDAr9fsLqbPGP4eK7Es,8903
|
|
104
104
|
bbot/modules/fingerprintx.py,sha256=rdlR9d64AntAhbS_eJzh8bZCeLPTJPSKdkdKdhH_qAo,3269
|
|
105
105
|
bbot/modules/fullhunt.py,sha256=2ntu1yBh51N4e_l-kpXc1UBoVVcxEE2JPkyaMYCuUb4,1336
|
|
106
106
|
bbot/modules/generic_ssrf.py,sha256=KFdcHpUV9-Z7oN7emzbirimsNc2xZ_1IFqnsfIkEbcM,9196
|
|
107
107
|
bbot/modules/git.py,sha256=zmHeI0bn181T1P8C55HSebkdVGLTpzGxPc-LRqiHrbc,1723
|
|
108
|
-
bbot/modules/git_clone.py,sha256=
|
|
109
|
-
bbot/modules/gitdumper.py,sha256=
|
|
108
|
+
bbot/modules/git_clone.py,sha256=AaiETlAtgY8gbAyvv4FrOBYa06L3WNvyc89ith5um2k,2599
|
|
109
|
+
bbot/modules/gitdumper.py,sha256=giwXMPlmgC1gxyZKTGlF-0xplt4MBbDiXi07-ghH02o,12039
|
|
110
110
|
bbot/modules/github_codesearch.py,sha256=a-r2vE9N9WyBpFUiKCsg0TK4Qn7DaEGyVRTUKzkDLWA,3641
|
|
111
111
|
bbot/modules/github_org.py,sha256=WM18vJCHuOHJJ5rPzQzQ3Pmp7XPPuaMeVgNfW-FlO0k,8938
|
|
112
112
|
bbot/modules/github_usersearch.py,sha256=G8knkQBJsn7EKcMhcEaFPiB_Y5S96e2VaseBubsqOyk,3407
|
|
@@ -180,7 +180,7 @@ bbot/modules/pgp.py,sha256=Xu2M9WEIlwTm5-Lv29g7BblI05tD9Dl0XsYSeY6UURs,2065
|
|
|
180
180
|
bbot/modules/portfilter.py,sha256=3iu4xqCsHafhVMbA32Mw6K_7Yn576Rz6GxXMevZQEpM,1752
|
|
181
181
|
bbot/modules/portscan.py,sha256=dmR2H3Wag6vLLIXrwyU_7bvYuLIv3zdJZ2japogwFUU,13076
|
|
182
182
|
bbot/modules/postman.py,sha256=vo761Nzu3kPBzfCY3KJcvsGEsjImaa7iA2z-LyASBDc,4589
|
|
183
|
-
bbot/modules/postman_download.py,sha256=
|
|
183
|
+
bbot/modules/postman_download.py,sha256=OXC4hHInwD2Ps-BURc2uM_Z7PCl95KPdcxSI34Vzdcc,3604
|
|
184
184
|
bbot/modules/rapiddns.py,sha256=uONESr0B5pv9cSAr7lF4WWV31APUhXyHexvI04rUcyk,787
|
|
185
185
|
bbot/modules/reflected_parameters.py,sha256=RjS-4C-XC9U-jC9J7AYNqwn6I-O2y3LvTRhB68dpgKI,3281
|
|
186
186
|
bbot/modules/report/affiliates.py,sha256=vvus8LylqOfP-lfGid0z4FS6MwOpNuRTcSJ9aSnybp4,1713
|
|
@@ -254,7 +254,7 @@ bbot/scanner/preset/conditions.py,sha256=hFL9cSIWGEsv2TfM5UGurf0c91cyaM8egb5IngB
|
|
|
254
254
|
bbot/scanner/preset/environ.py,sha256=9KbEOLWkUdoAf5Ez_2A1NNm6QduQElbnNnrPi6VDhZs,4731
|
|
255
255
|
bbot/scanner/preset/path.py,sha256=X32-ZUmL7taIv37VKF1KfmeiK9fjuQOE7pWUTEbPK8c,2483
|
|
256
256
|
bbot/scanner/preset/preset.py,sha256=G_aMMI33d2OlzNUwjfi5ddJdxa8nK0oF5HrYAsuregU,40708
|
|
257
|
-
bbot/scanner/scanner.py,sha256=
|
|
257
|
+
bbot/scanner/scanner.py,sha256=DABrkH1YApAOYYB3bGAV46oLV47yRk95VKcGp5fEOF0,55496
|
|
258
258
|
bbot/scanner/stats.py,sha256=re93sArKXZSiD0Owgqk2J3Kdvfm3RL4Y9Qy_VOcaVk8,3623
|
|
259
259
|
bbot/scanner/target.py,sha256=lI0Tn5prQiPiJE3WW-ZLx_l6EFqzAVabtyL-nfXJ8cE,10636
|
|
260
260
|
bbot/scripts/docs.py,sha256=aYAHlcHtMAhM-XGTDiSpzccnX1dh0Xi_WxmC2bgylQ4,11373
|
|
@@ -281,7 +281,7 @@ bbot/test/test_step_1/test_engine.py,sha256=3HkCPtYhUxiZzfA-BRHpLsyaRj9wIXKbb49B
|
|
|
281
281
|
bbot/test/test_step_1/test_event_seeds.py,sha256=s_0BRqkahX4MYYqkmPqgcCsFrMbiXdTfLuKqNU2jkEU,6652
|
|
282
282
|
bbot/test/test_step_1/test_events.py,sha256=Evm_rw5Y6W3H6eAGTlNcSWGALVo9PpKi_Rs80trPuXE,54312
|
|
283
283
|
bbot/test/test_step_1/test_files.py,sha256=5Q_3jPpMXULxDHsanSDUaj8zF8bXzKdiJZHOmoYpLhQ,699
|
|
284
|
-
bbot/test/test_step_1/test_helpers.py,sha256=
|
|
284
|
+
bbot/test/test_step_1/test_helpers.py,sha256=RoX7wQiQ2zoIF4z1NprdilMAQTBKzg47jtO010tK53o,40203
|
|
285
285
|
bbot/test/test_step_1/test_manager_deduplication.py,sha256=hZQpDXzg6zvzxFolVOcJuY-ME8NXjZUsqS70BRNXp8A,15594
|
|
286
286
|
bbot/test/test_step_1/test_manager_scope_accuracy.py,sha256=JV1bQHt9EIM0GmGS4T4Brz_L2lfcwTxtNC06cfv7r64,79763
|
|
287
287
|
bbot/test/test_step_1/test_modules_basic.py,sha256=ELpGlsthSq8HaxB5My8-ESVHqMxqdL5Of0STMIyaWzA,20001
|
|
@@ -451,8 +451,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
|
|
|
451
451
|
bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
|
|
452
452
|
bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
|
|
453
453
|
bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
|
|
454
|
-
bbot-2.5.0.
|
|
455
|
-
bbot-2.5.0.
|
|
456
|
-
bbot-2.5.0.
|
|
457
|
-
bbot-2.5.0.
|
|
458
|
-
bbot-2.5.0.
|
|
454
|
+
bbot-2.5.0.6782rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
|
|
455
|
+
bbot-2.5.0.6782rc0.dist-info/METADATA,sha256=Ecbv7T3WkoV0fZf3KfRimxBYg7KJZMIVv_lU0jfPYoc,18308
|
|
456
|
+
bbot-2.5.0.6782rc0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
457
|
+
bbot-2.5.0.6782rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
|
|
458
|
+
bbot-2.5.0.6782rc0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|