bbot 2.1.0.5082rc0__py3-none-any.whl → 2.1.0.5097rc0__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/core/config/logger.py +0 -2
- bbot/core/helpers/depsinstaller/installer.py +9 -1
- bbot/modules/gowitness.py +1 -1
- bbot/modules/wpscan.py +8 -2
- bbot/test/conftest.py +23 -9
- {bbot-2.1.0.5082rc0.dist-info → bbot-2.1.0.5097rc0.dist-info}/METADATA +1 -1
- {bbot-2.1.0.5082rc0.dist-info → bbot-2.1.0.5097rc0.dist-info}/RECORD +11 -11
- {bbot-2.1.0.5082rc0.dist-info → bbot-2.1.0.5097rc0.dist-info}/LICENSE +0 -0
- {bbot-2.1.0.5082rc0.dist-info → bbot-2.1.0.5097rc0.dist-info}/WHEEL +0 -0
- {bbot-2.1.0.5082rc0.dist-info → bbot-2.1.0.5097rc0.dist-info}/entry_points.txt +0 -0
bbot/__init__.py
CHANGED
bbot/core/config/logger.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import sys
|
|
2
|
-
import atexit
|
|
3
2
|
import logging
|
|
4
3
|
from copy import copy
|
|
5
4
|
import multiprocessing
|
|
@@ -71,7 +70,6 @@ class BBOTLogger:
|
|
|
71
70
|
# Start the QueueListener
|
|
72
71
|
self.listener = logging.handlers.QueueListener(self.queue, *self.log_handlers.values())
|
|
73
72
|
self.listener.start()
|
|
74
|
-
atexit.register(self.listener.stop)
|
|
75
73
|
|
|
76
74
|
self.log_level = logging.INFO
|
|
77
75
|
|
|
@@ -342,7 +342,15 @@ class DepsInstaller:
|
|
|
342
342
|
# ensure tldextract data is cached
|
|
343
343
|
self.parent_helper.tldextract("evilcorp.co.uk")
|
|
344
344
|
# command: package_name
|
|
345
|
-
core_deps = {
|
|
345
|
+
core_deps = {
|
|
346
|
+
"unzip": "unzip",
|
|
347
|
+
"zipinfo": "unzip",
|
|
348
|
+
"curl": "curl",
|
|
349
|
+
"git": "git",
|
|
350
|
+
"make": "make",
|
|
351
|
+
"gcc": "gcc",
|
|
352
|
+
"bash": "bash",
|
|
353
|
+
}
|
|
346
354
|
for command, package_name in core_deps.items():
|
|
347
355
|
if not self.parent_helper.which(command):
|
|
348
356
|
to_install.add(package_name)
|
bbot/modules/gowitness.py
CHANGED
|
@@ -72,7 +72,7 @@ class gowitness(BaseModule):
|
|
|
72
72
|
|
|
73
73
|
# make sure we have a working chrome install
|
|
74
74
|
chrome_test_pass = False
|
|
75
|
-
for binary in ("chrome", "chromium", custom_chrome_path):
|
|
75
|
+
for binary in ("chrome", "chromium", "chromium-browser", custom_chrome_path):
|
|
76
76
|
binary_path = self.helpers.which(binary)
|
|
77
77
|
if binary_path and Path(binary_path).is_file():
|
|
78
78
|
chrome_test_proc = await self.run_process([binary_path, "--version"])
|
bbot/modules/wpscan.py
CHANGED
|
@@ -33,7 +33,7 @@ class wpscan(BaseModule):
|
|
|
33
33
|
deps_apt = ["curl", "make", "gcc"]
|
|
34
34
|
deps_ansible = [
|
|
35
35
|
{
|
|
36
|
-
"name": "Install Ruby Deps (Debian
|
|
36
|
+
"name": "Install Ruby Deps (Debian)",
|
|
37
37
|
"package": {"name": ["ruby-rubygems", "ruby-dev"], "state": "present"},
|
|
38
38
|
"become": True,
|
|
39
39
|
"when": "ansible_facts['os_family'] == 'Debian'",
|
|
@@ -48,7 +48,13 @@ class wpscan(BaseModule):
|
|
|
48
48
|
"name": "Install Ruby Deps (Fedora)",
|
|
49
49
|
"package": {"name": ["rubygems", "ruby-devel"], "state": "present"},
|
|
50
50
|
"become": True,
|
|
51
|
-
"when": "ansible_facts['os_family'] == '
|
|
51
|
+
"when": "ansible_facts['os_family'] == 'RedHat'",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "Install Ruby Deps (Alpine)",
|
|
55
|
+
"package": {"name": ["ruby-dev", "ruby-bundler"], "state": "present"},
|
|
56
|
+
"become": True,
|
|
57
|
+
"when": "ansible_facts['os_family'] == 'Alpine'",
|
|
52
58
|
},
|
|
53
59
|
{
|
|
54
60
|
"name": "Install wpscan gem",
|
bbot/test/conftest.py
CHANGED
|
@@ -13,17 +13,31 @@ from bbot.core import CORE
|
|
|
13
13
|
from bbot.core.helpers.misc import execute_sync_or_async
|
|
14
14
|
from bbot.core.helpers.interactsh import server_list as interactsh_servers
|
|
15
15
|
|
|
16
|
+
# silence stdout + trace
|
|
17
|
+
root_logger = logging.getLogger()
|
|
18
|
+
pytest_debug_file = Path(__file__).parent.parent.parent / "pytest_debug.log"
|
|
19
|
+
print(f"pytest_debug_file: {pytest_debug_file}")
|
|
20
|
+
debug_handler = logging.FileHandler(pytest_debug_file)
|
|
21
|
+
debug_handler.setLevel(logging.DEBUG)
|
|
22
|
+
debug_format = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s %(filename)s:%(lineno)s %(message)s")
|
|
23
|
+
debug_handler.setFormatter(debug_format)
|
|
24
|
+
root_logger.addHandler(debug_handler)
|
|
16
25
|
|
|
17
26
|
test_config = OmegaConf.load(Path(__file__).parent / "test.conf")
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
|
|
28
|
+
os.environ["BBOT_DEBUG"] = "True"
|
|
29
|
+
CORE.logger.log_level = logging.DEBUG
|
|
30
|
+
|
|
31
|
+
# silence all stderr output:
|
|
32
|
+
stderr_handler = CORE.logger.log_handlers["stderr"]
|
|
33
|
+
stderr_handler.setLevel(logging.CRITICAL)
|
|
34
|
+
handlers = list(CORE.logger.listener.handlers)
|
|
35
|
+
handlers.remove(stderr_handler)
|
|
36
|
+
CORE.logger.listener.handlers = tuple(handlers)
|
|
37
|
+
|
|
38
|
+
for h in root_logger.handlers:
|
|
39
|
+
h.addFilter(lambda x: x.levelname not in ("STDOUT", "TRACE"))
|
|
40
|
+
|
|
27
41
|
|
|
28
42
|
CORE.merge_default(test_config)
|
|
29
43
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
bbot/__init__.py,sha256=
|
|
1
|
+
bbot/__init__.py,sha256=zEW0INqnPnNqZuqw-WY5CEEWB4EtFYFIRycMv8wpQZ4,130
|
|
2
2
|
bbot/cli.py,sha256=7S3a4eB-Dl8yodc5WC-927Z30CNlLl9EXimGvIVypJo,10434
|
|
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=pNrcw61UKKZeMt0rp9Ac5mUK7LdIRmcpojMxI-LwjeA,1413
|
|
6
|
-
bbot/core/config/logger.py,sha256=
|
|
6
|
+
bbot/core/config/logger.py,sha256=PEiEzZ6CbxtAzWe5MRWKAg2O3YtgM3Y5z7Oum8YPvlA,9441
|
|
7
7
|
bbot/core/core.py,sha256=twd7-fiaaxzgcWTPwT1zbSWfAa_gHHfl7gAFvLYvFYg,6358
|
|
8
8
|
bbot/core/engine.py,sha256=wGopKa2GNs61r16Pr_xtp6Si9AT6I-lE83iWhEgtxwA,29290
|
|
9
9
|
bbot/core/event/__init__.py,sha256=8ut88ZUg0kbtWkOx2j3XzNr_3kTfgoM-3UdiWHFA_ag,56
|
|
@@ -16,7 +16,7 @@ bbot/core/helpers/bloom.py,sha256=z7gttz-ugvwj7s2L14feJhEx2rzECdqcB255A0hjvNI,25
|
|
|
16
16
|
bbot/core/helpers/cache.py,sha256=1aMr3HVD45cDtHEG5xlznDUCywRgO9oRFidscrs_5sA,1537
|
|
17
17
|
bbot/core/helpers/command.py,sha256=kORIRaDdbJF7yGOd5BNJH-UDLKi6rHfUoVUaJMF662M,12774
|
|
18
18
|
bbot/core/helpers/depsinstaller/__init__.py,sha256=2mx1nYylSyvwl0GCM9YDHqrFEt2_5dSWAjP1RmhmbQg,37
|
|
19
|
-
bbot/core/helpers/depsinstaller/installer.py,sha256=
|
|
19
|
+
bbot/core/helpers/depsinstaller/installer.py,sha256=esbN35gcm_OBr3QEDCpmoJIJ-Z7Enw9GcNbdzz9uY9E,16625
|
|
20
20
|
bbot/core/helpers/depsinstaller/sudo_askpass.py,sha256=yGa2OQv30RO75QkMuG1iruKqb7amQxRVRRcHmvIeGhk,1276
|
|
21
21
|
bbot/core/helpers/diff.py,sha256=7waBeHFGnAKn-R-sBd-wc3yjwxT_umwy4YxfE7JFd6w,10599
|
|
22
22
|
bbot/core/helpers/dns/__init__.py,sha256=2JK8P0BUfPlh4CTuuOWQCOacwL7NEtGFYPJsxbA0Zwo,27
|
|
@@ -105,7 +105,7 @@ bbot/modules/github_org.py,sha256=O1VBn65sYJaPWBDjssyQSnlEh6XQgLEF7gKDzWj64qc,91
|
|
|
105
105
|
bbot/modules/github_workflows.py,sha256=GvEVEa2vp5FnpKIthyMIkMmV84Sgh9whxpCcdFY1PB0,9555
|
|
106
106
|
bbot/modules/gitlab.py,sha256=9oWWpBijeHCjuFBfWW4HvNqt7bvJvrBgBjaaz_UPPnE,5964
|
|
107
107
|
bbot/modules/google_playstore.py,sha256=N4QjzQag_bgDXfX17rytBiiWA-SQtYI2N0J_ZNEOdv0,3701
|
|
108
|
-
bbot/modules/gowitness.py,sha256=
|
|
108
|
+
bbot/modules/gowitness.py,sha256=VYifohEuiIWTejzxM6kxpB8vcWTaiYgwdEeoiLWjZ9g,11071
|
|
109
109
|
bbot/modules/hackertarget.py,sha256=brp0khcRaSyzwjs6z89WbgULZEE8RmjLM_SxBrj3fDo,969
|
|
110
110
|
bbot/modules/host_header.py,sha256=JQGqdsuvaCwFaA5_9790T1P2DKJoDUQSPjyHgh6u2tU,7694
|
|
111
111
|
bbot/modules/httpx.py,sha256=wmgyRyCNg9vw_qO0pVo7I7QzGybDgt9pEdfU3QPgBMA,7588
|
|
@@ -188,7 +188,7 @@ bbot/modules/virustotal.py,sha256=GsGaVF05IMgSNOQtUx1B8UXL5JA1Bt8M6ZDWJiiEQ1k,12
|
|
|
188
188
|
bbot/modules/wafw00f.py,sha256=I-jEnHWxO4Ga72ukdeBlTGJB9xeucCT3lpDhhFaVyAk,2536
|
|
189
189
|
bbot/modules/wappalyzer.py,sha256=LL5QeY5DeG7LdaFzZZU-LXaVlJ-sHzOwQLgFtxW3TNg,2176
|
|
190
190
|
bbot/modules/wayback.py,sha256=9cxd_HfHgLp4AChzA8C0Zjd6DIJ7c3NsJ02W2oLIXuU,3257
|
|
191
|
-
bbot/modules/wpscan.py,sha256=
|
|
191
|
+
bbot/modules/wpscan.py,sha256=_mE1OAU7sZUW5HbJ5GepFsljzJ89Z0zmam4jZb69a40,11582
|
|
192
192
|
bbot/modules/zoomeye.py,sha256=3zZjafgLUFMzkqRSAi6CYVEsjGTN-BWzvbw8gvAxlCQ,2658
|
|
193
193
|
bbot/presets/baddns-thorough.yml,sha256=FXiNnsf3IIms3UJtS2CwLk82Yp0IXm1OvRM61-CHrno,195
|
|
194
194
|
bbot/presets/cloud-enum.yml,sha256=U1IuN_Vx4zFSvobQenXwSeEqFxRX28beS1Aek3hNUBg,121
|
|
@@ -220,7 +220,7 @@ bbot/scanner/target.py,sha256=X25gpgRv5HmqQjGADiSe6b8744yOkRhAGAvKKYbXnSI,19886
|
|
|
220
220
|
bbot/scripts/docs.py,sha256=kg2CzovmUVGJx9hBZjAjUdE1hXeIwC7Ry3CyrnE8GL8,10782
|
|
221
221
|
bbot/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
222
222
|
bbot/test/bbot_fixtures.py,sha256=J1_MfpCMXftfGHZc-dgn42ODpTmSJidoBibOltfthac,9862
|
|
223
|
-
bbot/test/conftest.py,sha256=
|
|
223
|
+
bbot/test/conftest.py,sha256=xmR5vLNwXvzmARP1ew8sF4XBDjAEs2M0EgmN5X6GMoA,10891
|
|
224
224
|
bbot/test/coverage.cfg,sha256=ko9RacAYsJxWJCL8aEuNtkAOtP9lexYiDbeFWe8Tp8Y,31
|
|
225
225
|
bbot/test/owasp_mastg.apk,sha256=Hai_V9JmEJ-aB8Ab9xEaGXXOAfGQudkUvNOuPb75byE,66651
|
|
226
226
|
bbot/test/run_tests.sh,sha256=0oprBl970NAqXS4YQa8nRUtKljPeS_WNSvd-QmO5FNY,945
|
|
@@ -395,8 +395,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ruUQwVfia1_m2u
|
|
|
395
395
|
bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
|
|
396
396
|
bbot/wordlists/valid_url_schemes.txt,sha256=VciB-ww0y-O8Ii1wpTR6rJzGDiC2r-dhVsIJApS1ZYU,3309
|
|
397
397
|
bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
|
|
398
|
-
bbot-2.1.0.
|
|
399
|
-
bbot-2.1.0.
|
|
400
|
-
bbot-2.1.0.
|
|
401
|
-
bbot-2.1.0.
|
|
402
|
-
bbot-2.1.0.
|
|
398
|
+
bbot-2.1.0.5097rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
|
|
399
|
+
bbot-2.1.0.5097rc0.dist-info/METADATA,sha256=gEn0ACl3ZiIASOavUl8eYJRslp3rL7aVAbvzw-18tbg,16930
|
|
400
|
+
bbot-2.1.0.5097rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
401
|
+
bbot-2.1.0.5097rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
|
|
402
|
+
bbot-2.1.0.5097rc0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|