bbot 2.3.2.5927rc0__py3-none-any.whl → 2.3.2.5942rc0__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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # version placeholder (replaced by poetry-dynamic-versioning)
2
- __version__ = "v2.3.2.5927rc"
2
+ __version__ = "v2.3.2.5942rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
bbot/cli.py CHANGED
@@ -161,8 +161,11 @@ async def _main():
161
161
  all_modules = list(preset.module_loader.preloaded())
162
162
  scan.helpers.depsinstaller.force_deps = True
163
163
  succeeded, failed = await scan.helpers.depsinstaller.install(*all_modules)
164
- log.info("Finished installing module dependencies")
165
- return False if failed else True
164
+ if failed:
165
+ log.hugewarning(f"Failed to install dependencies for the following modules: {', '.join(failed)}")
166
+ return False
167
+ log.hugesuccess(f"Successfully installed dependencies for the following modules: {', '.join(succeeded)}")
168
+ return True
166
169
 
167
170
  scan_name = str(scan.name)
168
171
 
@@ -96,7 +96,7 @@ class DepsInstaller:
96
96
  self.ensure_root_lock = Lock()
97
97
 
98
98
  async def install(self, *modules):
99
- self.install_core_deps()
99
+ await self.install_core_deps()
100
100
  succeeded = []
101
101
  failed = []
102
102
  try:
@@ -386,13 +386,14 @@ class DepsInstaller:
386
386
  else:
387
387
  log.warning("Incorrect password")
388
388
 
389
- def install_core_deps(self):
389
+ async def install_core_deps(self):
390
390
  to_install = set()
391
391
  to_install_friendly = set()
392
392
  playbook = []
393
393
  self._install_sudo_askpass()
394
394
  # ensure tldextract data is cached
395
395
  self.parent_helper.tldextract("evilcorp.co.uk")
396
+ # install any missing commands
396
397
  for command, package_name_or_playbook in self.CORE_DEPS.items():
397
398
  if not self.parent_helper.which(command):
398
399
  to_install_friendly.add(command)
@@ -400,6 +401,19 @@ class DepsInstaller:
400
401
  to_install.add(package_name_or_playbook)
401
402
  else:
402
403
  playbook.extend(package_name_or_playbook)
404
+ # install ansible community.general collection
405
+ if not self.setup_status.get("ansible:community.general", False):
406
+ log.info("Installing Ansible Community General Collection")
407
+ try:
408
+ command = ["ansible-galaxy", "collection", "install", "community.general"]
409
+ await self.parent_helper.run(command, check=True)
410
+ self.setup_status["ansible:community.general"] = True
411
+ log.info("Successfully installed Ansible Community General Collection")
412
+ except CalledProcessError as err:
413
+ log.warning(
414
+ f"Failed to install Ansible Community.General Collection (return code {err.returncode}): {err.stderr}"
415
+ )
416
+ # construct ansible playbook
403
417
  if to_install:
404
418
  playbook.append(
405
419
  {
@@ -408,6 +422,7 @@ class DepsInstaller:
408
422
  "become": True,
409
423
  }
410
424
  )
425
+ # run playbook
411
426
  if playbook:
412
427
  log.info(f"Installing core BBOT dependencies: {','.join(sorted(to_install_friendly))}")
413
428
  self.ensure_root()
@@ -594,7 +594,6 @@ names = [
594
594
  "rachel",
595
595
  "radagast",
596
596
  "ralph",
597
- "rambunctious",
598
597
  "randy",
599
598
  "raymond",
600
599
  "rebecca",
@@ -2,7 +2,7 @@ from bbot.modules.base import BaseInterceptModule
2
2
 
3
3
 
4
4
  class portfilter(BaseInterceptModule):
5
- watched_events = ["OPEN_TCP_PORT"]
5
+ watched_events = ["OPEN_TCP_PORT", "URL_UNVERIFIED", "URL"]
6
6
  flags = ["passive", "safe"]
7
7
  meta = {
8
8
  "description": "Filter out unwanted open ports from cloud/CDN targets",
@@ -14,7 +14,7 @@ class trufflehog(BaseModule):
14
14
  }
15
15
 
16
16
  options = {
17
- "version": "3.88.9",
17
+ "version": "3.88.12",
18
18
  "config": "",
19
19
  "only_verified": True,
20
20
  "concurrency": 8,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bbot
3
- Version: 2.3.2.5927rc0
3
+ Version: 2.3.2.5942rc0
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Topic :: Security
18
- Requires-Dist: ansible (>=7.3,<9.0)
18
+ Requires-Dist: ansible-core (>=2.15.13,<3.0.0)
19
19
  Requires-Dist: ansible-runner (>=2.3.2,<3.0.0)
20
20
  Requires-Dist: beautifulsoup4 (>=4.12.2,<5.0.0)
21
21
  Requires-Dist: cachetools (>=5.3.2,<6.0.0)
@@ -29,7 +29,7 @@ Requires-Dist: lxml (>=4.9.2,<6.0.0)
29
29
  Requires-Dist: mmh3 (>=4.1,<6.0)
30
30
  Requires-Dist: omegaconf (>=2.3.0,<3.0.0)
31
31
  Requires-Dist: orjson (>=3.10.12,<4.0.0)
32
- Requires-Dist: psutil (>=5.9.4,<7.0.0)
32
+ Requires-Dist: psutil (>=5.9.4,<8.0.0)
33
33
  Requires-Dist: puremagic (>=1.28,<2.0)
34
34
  Requires-Dist: pycryptodome (>=3.17,<4.0)
35
35
  Requires-Dist: pydantic (>=2.9.2,<3.0.0)
@@ -367,16 +367,16 @@ bbot -t evilcorp.com evilcorp.org 1.2.3.0/24 -p subdomain-enum
367
367
 
368
368
  Targets can be any of the following:
369
369
 
370
- - `DNS_NAME` (`evilcorp.com`)
371
- - `IP_ADDRESS` (`1.2.3.4`)
372
- - `IP_RANGE` (`1.2.3.0/24`)
373
- - `OPEN_TCP_PORT` (`192.168.0.1:80`)
374
- - `URL` (`https://www.evilcorp.com`)
375
- - `EMAIL_ADDRESS` (`bob@evilcorp.com`)
376
- - `ORG_STUB` (`ORG:evilcorp`)
377
- - `USER_STUB` (`USER:bobsmith`)
378
- - `FILESYSTEM` (`FILESYSTEM:/tmp/asdf`)
379
- - `MOBILE_APP` (`MOBILE_APP:https://play.google.com/store/apps/details?id=com.evilcorp.app`)
370
+ - DNS Name (`evilcorp.com`)
371
+ - IP Address (`1.2.3.4`)
372
+ - IP Range (`1.2.3.0/24`)
373
+ - Open TCP Port (`192.168.0.1:80`)
374
+ - URL (`https://www.evilcorp.com`)
375
+ - Email Address (`bob@evilcorp.com`)
376
+ - Organization (`ORG:evilcorp`)
377
+ - Username (`USER:bobsmith`)
378
+ - Filesystem (`FILESYSTEM:/tmp/asdf`)
379
+ - Mobile App (`MOBILE_APP:https://play.google.com/store/apps/details?id=com.evilcorp.app`)
380
380
 
381
381
  For more information, see [Targets](https://www.blacklanternsecurity.com/bbot/Stable/scanning/#targets-t). To learn how BBOT handles scope, see [Scope](https://www.blacklanternsecurity.com/bbot/Stable/scanning/#scope).
382
382
 
@@ -1,5 +1,5 @@
1
- bbot/__init__.py,sha256=Km7IhIhm1aKivSPyzhmNO0CUdTkPtzm21T_bank57aQ,130
2
- bbot/cli.py,sha256=hrzJX07sK3psSQWa461BXFuOxgCA94iztsw8syLdpNw,10830
1
+ bbot/__init__.py,sha256=720rTrE_SaUMfi_RXVJYG3VSgGShjsGoqzeM0fE8Fy4,130
2
+ bbot/cli.py,sha256=H7L3yIoYuSpkrf1K1qqiBMQBTyt8UI9FfConpjqr7KI,11029
3
3
  bbot/core/__init__.py,sha256=l255GJE_DvUnWvrRb0J5lG-iMztJ8zVvoweDOfegGtI,46
4
4
  bbot/core/config/__init__.py,sha256=zYNw2Me6tsEr8hOOkLb4BQ97GB7Kis2k--G81S8vofU,342
5
5
  bbot/core/config/files.py,sha256=zANvrTRLJQIOWSNkxd9MpWmf9cQFr0gRZLUxeIbTwQc,1412
@@ -16,7 +16,7 @@ bbot/core/helpers/bloom.py,sha256=gk02rO6x3F5MICa7ZUDsinRudwoGAifsbiyiMCwd0Gs,27
16
16
  bbot/core/helpers/cache.py,sha256=1aMr3HVD45cDtHEG5xlznDUCywRgO9oRFidscrs_5sA,1537
17
17
  bbot/core/helpers/command.py,sha256=UBJa2RInEJtGjZ5e24PUQxPu1aTCIFkcCrrB0ERLdGI,12810
18
18
  bbot/core/helpers/depsinstaller/__init__.py,sha256=2mx1nYylSyvwl0GCM9YDHqrFEt2_5dSWAjP1RmhmbQg,37
19
- bbot/core/helpers/depsinstaller/installer.py,sha256=lDglXOo72zFKa-xdWaWxBgdOepDg1BTjaEs1u2ESrdY,18914
19
+ bbot/core/helpers/depsinstaller/installer.py,sha256=0sEut_B1rJKEnlTJvtk6nsWv1_1hJsbDRsVzylidmYc,19774
20
20
  bbot/core/helpers/depsinstaller/sudo_askpass.py,sha256=yGa2OQv30RO75QkMuG1iruKqb7amQxRVRRcHmvIeGhk,1276
21
21
  bbot/core/helpers/diff.py,sha256=7pDibPTSsF_1_PoFypa8WvxbFDGeB_SGNzSyOEa1QQw,10791
22
22
  bbot/core/helpers/dns/__init__.py,sha256=2JK8P0BUfPlh4CTuuOWQCOacwL7NEtGFYPJsxbA0Zwo,27
@@ -30,7 +30,7 @@ bbot/core/helpers/helper.py,sha256=eD9yJUhrFUmmoXm4pyi31dulJ5W2eyS-YLGXmx7AyDQ,8
30
30
  bbot/core/helpers/interactsh.py,sha256=VBYYH6-rWBofRsgemndK6iZNmyifOps8vgQOw2mac4k,12624
31
31
  bbot/core/helpers/libmagic.py,sha256=QMHyxjgDLb2jyjBvK1MQ-xt6WkGXhKcHu9ZP1li-sik,3460
32
32
  bbot/core/helpers/misc.py,sha256=r-FUL5zdZagmLjNd_F577IE1CrT22f5qPb69RQcEHD0,87452
33
- bbot/core/helpers/names_generator.py,sha256=x6nZfEPKMwv3qR_RI4U6TBNbo6PgCF4fqbldtwilvpw,10334
33
+ bbot/core/helpers/names_generator.py,sha256=rJE6G-Brrgm1uFJUiCw2hseJVDGe4WfRZyCMeAcQ0lM,10314
34
34
  bbot/core/helpers/ntlm.py,sha256=P2Xj4-GPos2iAzw4dfk0FJp6oGyycGhu2x6sLDVjYjs,2573
35
35
  bbot/core/helpers/process.py,sha256=00uRpLMFi3Pt3uT8qXwAIhsXdoa7h-ifoXh0sGYgwqs,1702
36
36
  bbot/core/helpers/ratelimiter.py,sha256=fQp5mKfqfCkDkZzgntDu4NWlRsWSMCto0V8vaV8-34k,2115
@@ -165,7 +165,7 @@ bbot/modules/paramminer_getparams.py,sha256=_j6rgaqV5wGJoa8p5-KKbe2YsVGUtmWIanCV
165
165
  bbot/modules/paramminer_headers.py,sha256=CuiqT3nY3eIrZhT4CAEkRDfCbCYci8CmnXsippf3Qb4,10450
166
166
  bbot/modules/passivetotal.py,sha256=uGT6c_CUxBNInmClsTg8afIYA2ZykKYYCgjkyzujfHg,1653
167
167
  bbot/modules/pgp.py,sha256=Xu2M9WEIlwTm5-Lv29g7BblI05tD9Dl0XsYSeY6UURs,2065
168
- bbot/modules/portfilter.py,sha256=QMyO2Zu4hLqViMk92xK8z_wiRfrjoQ5O-mU1zESVx1s,1698
168
+ bbot/modules/portfilter.py,sha256=FB1plaBTZxiJnLJ8RiyPyc2Hrh7N7_DRSiyfeQEAfms,1723
169
169
  bbot/modules/portscan.py,sha256=dM2p3tBGQKSdeZRMlCpOwqRpz0XJfIMwY2n3Ajaig_M,13441
170
170
  bbot/modules/postman.py,sha256=vo761Nzu3kPBzfCY3KJcvsGEsjImaa7iA2z-LyASBDc,4589
171
171
  bbot/modules/postman_download.py,sha256=LUB9cP-otkB1HaNACGS5YPwsxnwp1uSo28SpGvmQ60A,3467
@@ -193,7 +193,7 @@ bbot/modules/templates/sql.py,sha256=o-CdyyoJvHJdJBKkj3CIGXYxUta4w2AB_2Vr-k7cDDU
193
193
  bbot/modules/templates/subdomain_enum.py,sha256=epyKSly08jqaINV_AMMWbNafIeQjJqvd3aj63KD0Mck,8402
194
194
  bbot/modules/templates/webhook.py,sha256=0N7LorCxT0sVmT2XgrV81ubdcdPVW8s2X__BrKC2AcM,3313
195
195
  bbot/modules/trickest.py,sha256=MRgLW0YiDWzlWdAjyqfPPLFb-a51r-Ffn_dphiJI_gA,1550
196
- bbot/modules/trufflehog.py,sha256=urYq_QpPQF_Piw1a5fWSyUymR_7YRsrqKTeZ0u_c7zU,8742
196
+ bbot/modules/trufflehog.py,sha256=tcVsyk4Bs__B_Nof4FNRWcRlSVZQgaDd7DtHdvTOMwU,8743
197
197
  bbot/modules/url_manipulation.py,sha256=4J3oFkqTSJPPmbKEKAHJg2Q2w4QNKtQhiN03ZJq5VtI,4326
198
198
  bbot/modules/urlscan.py,sha256=-w_3Bm6smyG2GLQyIbnMUkKmeQVauo-V6F4_kJDYG7s,3740
199
199
  bbot/modules/viewdns.py,sha256=2SjNZNjQL1tko58tPAjP-CGYDmP-zZ1HpY-vACGa9UI,2595
@@ -425,8 +425,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
425
425
  bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
426
426
  bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
427
427
  bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
428
- bbot-2.3.2.5927rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
429
- bbot-2.3.2.5927rc0.dist-info/METADATA,sha256=7enWDVSsYM9dt9R4TIdCBoPZJttapvE95IOSAwYndCM,18224
430
- bbot-2.3.2.5927rc0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
431
- bbot-2.3.2.5927rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
432
- bbot-2.3.2.5927rc0.dist-info/RECORD,,
428
+ bbot-2.3.2.5942rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
429
+ bbot-2.3.2.5942rc0.dist-info/METADATA,sha256=p2c3dkjOTu4IeNx7uCxbQDnFik_p0kyyLY0OOpZvPP8,18218
430
+ bbot-2.3.2.5942rc0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
431
+ bbot-2.3.2.5942rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
432
+ bbot-2.3.2.5942rc0.dist-info/RECORD,,