bbot 2.4.2.6655rc0__py3-none-any.whl → 2.4.2.6677rc0__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,5 +1,5 @@
1
1
  # version placeholder (replaced by poetry-dynamic-versioning)
2
- __version__ = "v2.4.2.6655rc"
2
+ __version__ = "v2.4.2.6677rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
5
5
 
@@ -14,7 +14,7 @@ class trufflehog(BaseModule):
14
14
  }
15
15
 
16
16
  options = {
17
- "version": "3.88.31",
17
+ "version": "3.88.34",
18
18
  "config": "",
19
19
  "only_verified": True,
20
20
  "concurrency": 8,
@@ -18,7 +18,7 @@ class PresetPath:
18
18
  self.paths = [DEFAULT_PRESET_PATH]
19
19
 
20
20
  def find(self, filename):
21
- filename_path = Path(filename).expanduser().resolve()
21
+ filename_path = Path(filename).expanduser()
22
22
  extension = filename_path.suffix.lower()
23
23
  file_candidates = set()
24
24
  extension_candidates = {".yaml", ".yml"}
@@ -39,7 +39,7 @@ class PresetPath:
39
39
  if file.is_file():
40
40
  log.verbose(f'Found preset matching "{filename}" at {file}')
41
41
  self.add_path(file.parent)
42
- return file.resolve()
42
+ return file
43
43
  raise ValidationError(
44
44
  f'Could not find preset at "{filename}" - file does not exist. Use -lp to list available presets'
45
45
  )
@@ -61,7 +61,7 @@ class PresetPath:
61
61
  return
62
62
  # preemptively remove any paths that are subdirectories of the new path
63
63
  self.paths = [p for p in self.paths if not p.is_relative_to(path)]
64
- self.paths.append(path)
64
+ self.paths.insert(0, path)
65
65
 
66
66
  def __iter__(self):
67
67
  yield from self.paths
bbot/scripts/docs.py CHANGED
@@ -199,14 +199,16 @@ def update_docs():
199
199
 
200
200
  # BBOT presets
201
201
  for _, (loaded_preset, category, preset_path, original_filename) in DEFAULT_PRESET.all_presets.items():
202
+ str_category = "" if not category else f"/{category}"
203
+ filename = f"~/.bbot/presets{str_category}/{original_filename.name}"
202
204
  preset_yaml = f"""
203
- ```yaml title={preset_path.name}
205
+ ```yaml title={filename}
204
206
  {loaded_preset._yaml_str}
205
207
  ```
206
208
  """
207
209
  preset_yaml_expandable = f"""
208
210
  <details>
209
- <summary><b><code>{preset_path.name}</code></b></summary>
211
+ <summary><b><code>{original_filename.name}</code></b></summary>
210
212
 
211
213
  ```yaml
212
214
  {loaded_preset._yaml_str}
@@ -222,7 +224,8 @@ def update_docs():
222
224
  yaml_str = loaded_preset._yaml_str
223
225
  indent = " " * 4
224
226
  yaml_str = f"\n{indent}".join(yaml_str.splitlines())
225
- filename = homedir_collapseuser(preset_path)
227
+ str_category = "" if not category else f"/{category}"
228
+ filename = f"~/.bbot/presets{str_category}/{original_filename.name}"
226
229
 
227
230
  num_modules = len(loaded_preset.scan_modules)
228
231
  modules = ", ".join(sorted([f"`{m}`" for m in loaded_preset.scan_modules]))
@@ -233,7 +236,7 @@ def update_docs():
233
236
 
234
237
  {loaded_preset.description}
235
238
 
236
- ??? note "`{filename.name}`"
239
+ ??? note "`{original_filename.name}`"
237
240
  ```yaml title="{filename}"
238
241
  {yaml_str}
239
242
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bbot
3
- Version: 2.4.2.6655rc0
3
+ Version: 2.4.2.6677rc0
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
@@ -18,7 +18,7 @@ Classifier: Topic :: Security
18
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
- Requires-Dist: cachetools (>=5.3.2,<6.0.0)
21
+ Requires-Dist: cachetools (>=5.3.2,<7.0.0)
22
22
  Requires-Dist: cloudcheck (>=7.2.11,<8.0.0)
23
23
  Requires-Dist: deepdiff (>=8.0.0,<9.0.0)
24
24
  Requires-Dist: dnspython (>=2.4.2,<3.0.0)
@@ -1,4 +1,4 @@
1
- bbot/__init__.py,sha256=yDRP6RswzftH1j2TWgwfKcvWyZmu1jV25g7RRdk5lj0,163
1
+ bbot/__init__.py,sha256=bmNeDHa64LphmNVvCdHjCmGtQexQBcOVguArCx7r5Dw,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
@@ -208,7 +208,7 @@ bbot/modules/templates/sql.py,sha256=o-CdyyoJvHJdJBKkj3CIGXYxUta4w2AB_2Vr-k7cDDU
208
208
  bbot/modules/templates/subdomain_enum.py,sha256=epyKSly08jqaINV_AMMWbNafIeQjJqvd3aj63KD0Mck,8402
209
209
  bbot/modules/templates/webhook.py,sha256=uGFmcJ81GzGN1UI2k2O7nQF_fyh4ehLDEg2NSXaPnhk,3373
210
210
  bbot/modules/trickest.py,sha256=MRgLW0YiDWzlWdAjyqfPPLFb-a51r-Ffn_dphiJI_gA,1550
211
- bbot/modules/trufflehog.py,sha256=jjk48EMY1J4rqgb6x5vP0HmZGvgDf2pQu_eOjVyNxsU,8743
211
+ bbot/modules/trufflehog.py,sha256=bMO30pE9HAYeSgEQ00xH3kvtKbUoiULeTkT33BiCdR8,8743
212
212
  bbot/modules/url_manipulation.py,sha256=4J3oFkqTSJPPmbKEKAHJg2Q2w4QNKtQhiN03ZJq5VtI,4326
213
213
  bbot/modules/urlscan.py,sha256=-w_3Bm6smyG2GLQyIbnMUkKmeQVauo-V6F4_kJDYG7s,3740
214
214
  bbot/modules/vhost.py,sha256=cirOe0HR4M0TEBN8JdXo2l0s2flc8ZSdxggGm79blT8,5459
@@ -253,12 +253,12 @@ bbot/scanner/preset/__init__.py,sha256=If_YqKILIxjlaJvf8lFc5zQTHDkounLdC8x_72N-V
253
253
  bbot/scanner/preset/args.py,sha256=yADXhmmLWBODsEqw1NbEBh8UWltUEoB--2S7myHTwAQ,19212
254
254
  bbot/scanner/preset/conditions.py,sha256=hFL9cSIWGEsv2TfM5UGurf0c91cyaM8egb5IngBmIjA,1569
255
255
  bbot/scanner/preset/environ.py,sha256=9KbEOLWkUdoAf5Ez_2A1NNm6QduQElbnNnrPi6VDhZs,4731
256
- bbot/scanner/preset/path.py,sha256=0BnhI3brWdkpE96ZOEQwfwhZoKMMnXx0uXPVdAg8spI,2500
256
+ bbot/scanner/preset/path.py,sha256=X32-ZUmL7taIv37VKF1KfmeiK9fjuQOE7pWUTEbPK8c,2483
257
257
  bbot/scanner/preset/preset.py,sha256=t9Aa3n3mpGVZ274z2hXaGsdpRZe0BSGuF3WTM6Dinj8,40817
258
258
  bbot/scanner/scanner.py,sha256=2slrxEfcBjSZgZ1jmQ34a4X6aMli80K85_eY8ti7zZQ,55471
259
259
  bbot/scanner/stats.py,sha256=re93sArKXZSiD0Owgqk2J3Kdvfm3RL4Y9Qy_VOcaVk8,3623
260
260
  bbot/scanner/target.py,sha256=lI0Tn5prQiPiJE3WW-ZLx_l6EFqzAVabtyL-nfXJ8cE,10636
261
- bbot/scripts/docs.py,sha256=paB_n6yzuuglNsc90h_-XzudWavwIbM6l62OUoGjsww,10772
261
+ bbot/scripts/docs.py,sha256=JYdn9jLnnxmHM3hQc1C3tjxGs6hgFhqouUS3WtYN0q0,11004
262
262
  bbot/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
263
263
  bbot/test/bbot_fixtures.py,sha256=XrCQDLVe80BG3QTUDnXb0y-cWnBpJJoRh2Z3J3xJn_w,9961
264
264
  bbot/test/conftest.py,sha256=OacpJ98g00HqCoHpEnuzzMK47LkbZdJWr25Pm0SbTM0,11783
@@ -452,8 +452,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
452
452
  bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
453
453
  bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
454
454
  bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
455
- bbot-2.4.2.6655rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
456
- bbot-2.4.2.6655rc0.dist-info/METADATA,sha256=ZGC7qPJcqpTX0gaUp2rLUa6oIi9Qzxex27HjI0cGFmg,18308
457
- bbot-2.4.2.6655rc0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
458
- bbot-2.4.2.6655rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
459
- bbot-2.4.2.6655rc0.dist-info/RECORD,,
455
+ bbot-2.4.2.6677rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
456
+ bbot-2.4.2.6677rc0.dist-info/METADATA,sha256=C1S2EK8cW4u3b8k4fsrQGrMW-12R47Oa4yNzgqUHncg,18308
457
+ bbot-2.4.2.6677rc0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
458
+ bbot-2.4.2.6677rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
459
+ bbot-2.4.2.6677rc0.dist-info/RECORD,,