bbot 2.7.0.7094rc0__py3-none-any.whl → 2.7.0.7098rc0__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.7.0.7094rc"
2
+ __version__ = "v2.7.0.7098rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
5
5
 
@@ -1,6 +1,7 @@
1
1
  import os
2
2
  import mmh3
3
3
  import mmap
4
+ import xxhash
4
5
 
5
6
 
6
7
  class BloomFilter:
@@ -55,14 +56,12 @@ class BloomFilter:
55
56
  if not isinstance(item, str):
56
57
  item = str(item)
57
58
  item = item.encode("utf-8")
58
- return [abs(hash(item)) % self.size, abs(mmh3.hash(item)) % self.size, abs(self._fnv1a_hash(item)) % self.size]
59
59
 
60
- def _fnv1a_hash(self, data):
61
- hash = 0x811C9DC5 # 2166136261
62
- for byte in data:
63
- hash ^= byte
64
- hash = (hash * 0x01000193) % 2**32 # 16777619
65
- return hash
60
+ return [
61
+ abs(hash(item)) % self.size,
62
+ abs(mmh3.hash(item)) % self.size,
63
+ abs(xxhash.xxh32(item).intdigest()) % self.size,
64
+ ]
66
65
 
67
66
  def close(self):
68
67
  """Explicitly close the memory-mapped file."""
@@ -14,7 +14,7 @@ class trufflehog(BaseModule):
14
14
  }
15
15
 
16
16
  options = {
17
- "version": "3.90.5",
17
+ "version": "3.90.6",
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.7.0.7094rc0
3
+ Version: 2.7.0.7098rc0
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
@@ -45,6 +45,7 @@ Requires-Dist: unidecode (>=1.3.8,<2.0.0)
45
45
  Requires-Dist: websockets (>=14.0.0,<16.0.0)
46
46
  Requires-Dist: wordninja (>=2.0.0,<3.0.0)
47
47
  Requires-Dist: xmltojson (>=2.0.2,<3.0.0)
48
+ Requires-Dist: xxhash (>=3.5.0,<4.0.0)
48
49
  Requires-Dist: yara-python (>=4.5.1,<5.0.0)
49
50
  Project-URL: Documentation, https://www.blacklanternsecurity.com/bbot/
50
51
  Project-URL: Discord, https://discord.com/invite/PZqkgxu5SA
@@ -1,4 +1,4 @@
1
- bbot/__init__.py,sha256=sSXSPAwPsioHw-7Udw4YDVfxenQGSRFP3Xzs8o0SgwU,163
1
+ bbot/__init__.py,sha256=4PaVXMu1s5Vw1M5tkylmUSJC0xGSUZjBl-YjJBnEaz8,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
@@ -12,7 +12,7 @@ bbot/core/event/helpers.py,sha256=MohOCVBjkn_K1p4Ipgx-MKliZtV6l4NJPq3YgagkvSM,65
12
12
  bbot/core/flags.py,sha256=Ltvm8Bc4D65I55HuU5bzyjO1R3yMDNpVmreGU83ZBXE,1266
13
13
  bbot/core/helpers/__init__.py,sha256=cpOGLKIgA3vdHYqsOtx63BFO_qbtwCmez2amFPu6YTs,111
14
14
  bbot/core/helpers/async_helpers.py,sha256=bVHEUIOZo8iCmuovLYb3oNLPdLFUoEyc6wZIIvtELVs,4399
15
- bbot/core/helpers/bloom.py,sha256=gk02rO6x3F5MICa7ZUDsinRudwoGAifsbiyiMCwd0Gs,2739
15
+ bbot/core/helpers/bloom.py,sha256=fTMdgnrJPC9fzNXwBg1GYbz1P05YPhjxy9aUg6-z3a4,2605
16
16
  bbot/core/helpers/cache.py,sha256=1aMr3HVD45cDtHEG5xlznDUCywRgO9oRFidscrs_5sA,1537
17
17
  bbot/core/helpers/command.py,sha256=ZiLp71iEEcnnHLkvyD_TVeBKl9Uz9PGpTcpl9EHLCgQ,12938
18
18
  bbot/core/helpers/depsinstaller/__init__.py,sha256=C2jF_ymSPIO68F649csYQql37ppPfUjFc8eq8LhgDkQ,66
@@ -209,7 +209,7 @@ bbot/modules/templates/sql.py,sha256=o-CdyyoJvHJdJBKkj3CIGXYxUta4w2AB_2Vr-k7cDDU
209
209
  bbot/modules/templates/subdomain_enum.py,sha256=epyKSly08jqaINV_AMMWbNafIeQjJqvd3aj63KD0Mck,8402
210
210
  bbot/modules/templates/webhook.py,sha256=uGFmcJ81GzGN1UI2k2O7nQF_fyh4ehLDEg2NSXaPnhk,3373
211
211
  bbot/modules/trickest.py,sha256=MRgLW0YiDWzlWdAjyqfPPLFb-a51r-Ffn_dphiJI_gA,1550
212
- bbot/modules/trufflehog.py,sha256=o8FYUYH95323y10GcV0biJjvCZ_Vdfkh5qaMRFdQNXU,8717
212
+ bbot/modules/trufflehog.py,sha256=cnsVfZyfstlANhADsJONQAmrg1iQ1j1milvh8FR4oRs,8717
213
213
  bbot/modules/url_manipulation.py,sha256=4J3oFkqTSJPPmbKEKAHJg2Q2w4QNKtQhiN03ZJq5VtI,4326
214
214
  bbot/modules/urlscan.py,sha256=-w_3Bm6smyG2GLQyIbnMUkKmeQVauo-V6F4_kJDYG7s,3740
215
215
  bbot/modules/vhost.py,sha256=cirOe0HR4M0TEBN8JdXo2l0s2flc8ZSdxggGm79blT8,5459
@@ -463,8 +463,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
463
463
  bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
464
464
  bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
465
465
  bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
466
- bbot-2.7.0.7094rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
467
- bbot-2.7.0.7094rc0.dist-info/METADATA,sha256=yL-NwOA3pMPOnDFg2tnxDfpxs9K_-i82nugiiIEF6L4,18308
468
- bbot-2.7.0.7094rc0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
469
- bbot-2.7.0.7094rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
470
- bbot-2.7.0.7094rc0.dist-info/RECORD,,
466
+ bbot-2.7.0.7098rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
467
+ bbot-2.7.0.7098rc0.dist-info/METADATA,sha256=OTWiqjrkocESkKnkmysslxt5L3X1XtJGWoArv7PnyV4,18347
468
+ bbot-2.7.0.7098rc0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
469
+ bbot-2.7.0.7098rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
470
+ bbot-2.7.0.7098rc0.dist-info/RECORD,,