bbot 2.1.2.5217rc0__py3-none-any.whl → 2.1.2.5223rc0__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.1.2.5217rc"
2
+ __version__ = "v2.1.2.5223rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
@@ -350,6 +350,7 @@ class DepsInstaller:
350
350
  "make": "make",
351
351
  "gcc": "gcc",
352
352
  "bash": "bash",
353
+ "which": "which",
353
354
  }
354
355
  for command, package_name in core_deps.items():
355
356
  if not self.parent_helper.which(command):
bbot/core/shared_deps.py CHANGED
@@ -159,6 +159,39 @@ DEP_MASSCAN = [
159
159
  },
160
160
  ]
161
161
 
162
+ DEP_JAVA = [
163
+ {
164
+ "name": "Check if Java is installed",
165
+ "command": "which java",
166
+ "register": "java_installed",
167
+ "ignore_errors": True,
168
+ },
169
+ {
170
+ "name": "Install latest JRE (Debian)",
171
+ "package": {"name": ["default-jre"], "state": "present"},
172
+ "become": True,
173
+ "when": "ansible_facts['os_family'] == 'Debian' and java_installed.rc != 0",
174
+ },
175
+ {
176
+ "name": "Install latest JRE (Arch)",
177
+ "package": {"name": ["jre-openjdk"], "state": "present"},
178
+ "become": True,
179
+ "when": "ansible_facts['os_family'] == 'Archlinux' and java_installed.rc != 0",
180
+ },
181
+ {
182
+ "name": "Install latest JRE (Fedora)",
183
+ "package": {"name": ["which", "java-latest-openjdk-headless"], "state": "present"},
184
+ "become": True,
185
+ "when": "ansible_facts['os_family'] == 'RedHat' and java_installed.rc != 0",
186
+ },
187
+ {
188
+ "name": "Install latest JRE (Alpine)",
189
+ "package": {"name": ["openjdk11"], "state": "present"},
190
+ "become": True,
191
+ "when": "ansible_facts['os_family'] == 'Alpine' and java_installed.rc != 0",
192
+ },
193
+ ]
194
+
162
195
  # shared module dependencies -- ffuf, massdns, chromium, etc.
163
196
  SHARED_DEPS = {}
164
197
  for var, val in list(locals().items()):
bbot/modules/jadx.py CHANGED
@@ -18,31 +18,8 @@ class jadx(BaseModule):
18
18
  options_desc = {
19
19
  "threads": "Maximum jadx threads for extracting apk's, default: 4",
20
20
  }
21
+ deps_common = ["java"]
21
22
  deps_ansible = [
22
- {
23
- "name": "Install latest JRE (Debian)",
24
- "package": {"name": ["default-jre"], "state": "present"},
25
- "become": True,
26
- "when": "ansible_facts['os_family'] == 'Debian'",
27
- },
28
- {
29
- "name": "Install latest JRE (Arch)",
30
- "package": {"name": ["jre-openjdk"], "state": "present"},
31
- "become": True,
32
- "when": "ansible_facts['os_family'] == 'Archlinux'",
33
- },
34
- {
35
- "name": "Install latest JRE (Fedora)",
36
- "package": {"name": ["which", "java-latest-openjdk-headless"], "state": "present"},
37
- "become": True,
38
- "when": "ansible_facts['os_family'] == 'RedHat'",
39
- },
40
- {
41
- "name": "Install latest JRE (Alpine)",
42
- "package": {"name": ["openjdk11"], "state": "present"},
43
- "become": True,
44
- "when": "ansible_facts['os_family'] == 'Alpine'",
45
- },
46
23
  {
47
24
  "name": "Create jadx directory",
48
25
  "file": {"path": "#{BBOT_TOOLS}/jadx", "state": "directory", "mode": "0755"},
@@ -102,10 +79,9 @@ class jadx(BaseModule):
102
79
  try:
103
80
  output = await self.run_process(command, check=True)
104
81
  except CalledProcessError as e:
105
- self.warning(f"Error decompiling {path}. STDERR: {repr(e.stderr)}")
82
+ self.warning(f"Error decompiling {path}. STDOUT: {e.stdout} STDERR: {repr(e.stderr)}")
106
83
  return False
107
- if not Path(output_dir / "resources").exists() and not Path(output_dir / "sources").exists():
108
- self.warning(f"JADX was unable to decompile {path}.")
109
- self.warning(output)
84
+ if not (output_dir / "resources").exists() and not (output_dir / "sources").exists():
85
+ self.warning(f"JADX was unable to decompile {path}: (STDOUT: {output.stdout} STDERR: {output.stderr})")
110
86
  return False
111
87
  return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bbot
3
- Version: 2.1.2.5217rc0
3
+ Version: 2.1.2.5223rc0
4
4
  Summary: OSINT automation for hackers.
5
5
  Home-page: https://github.com/blacklanternsecurity/bbot
6
6
  License: GPL-3.0
@@ -1,4 +1,4 @@
1
- bbot/__init__.py,sha256=bcMCe34JyyhiWa3oujbqtItGNcI12sPbMHi-V-cULyc,130
1
+ bbot/__init__.py,sha256=aekooHcHziO6lPgvwep-hyBz_rH9rrpnNKqtzZdp7Qg,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
@@ -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=Ofo-7NVpdXXWc0Z-D5zIGzM1Xc7m_NZesZkFeNXX3nM,16671
19
+ bbot/core/helpers/depsinstaller/installer.py,sha256=p1fU0uMh6hFKMbGyg6w40z-KCBNycQw9Fx_-4Y2zisI,16701
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
@@ -45,7 +45,7 @@ bbot/core/helpers/web/ssl_context.py,sha256=aWVgl-d0HoE8B4EBKNxaa5UAzQmx79DjDByf
45
45
  bbot/core/helpers/web/web.py,sha256=K7BOts1c1bRjU5rpluD94jClwchmBMZQk8FZI1ljS94,22661
46
46
  bbot/core/helpers/wordcloud.py,sha256=WdQwboCNcCxcUdLuB6MMMDQBL4ZshFM_f6GW7nUZEBQ,19819
47
47
  bbot/core/modules.py,sha256=OOUSncr-EM6bJBrI3iH5wvfnpTXKQ-A8OL8UMvkL0CU,31432
48
- bbot/core/shared_deps.py,sha256=JRvDwyc8AncsqhYCO0nvvklsPkjv5q_VSJbIsW2EKmw,5816
48
+ bbot/core/shared_deps.py,sha256=A3vrI62uPTTayNIHhWAj6xz43cj--oXWC4prmDlgJnw,6958
49
49
  bbot/db/sql/models.py,sha256=AXefz4nEtpV2p19d6rLaEcCQNnqXODpldA-P5uSUntg,4729
50
50
  bbot/defaults.yml,sha256=_3sNH-2TWPaQHZ6ozBA1UKWLB7HuHK8vjZ534mb8cO4,6042
51
51
  bbot/errors.py,sha256=xwQcD26nU9oc7-o0kv5jmEDTInmi8_W8eKAgQZZxdVM,953
@@ -126,7 +126,7 @@ bbot/modules/internetdb.py,sha256=Edg0Z84dH8dPTZMd7RlzvYBYNq8JHs_ns_ldnFxwRKo,54
126
126
  bbot/modules/ip2location.py,sha256=yGivX9fzvwvLpnqmYCP2a8SPjTarzrZxfRluog-nkME,2628
127
127
  bbot/modules/ipneighbor.py,sha256=Gr-HGtyZRDp_fPjpw-Mq1al7ocFdiZbKsAoAit-EUlA,1591
128
128
  bbot/modules/ipstack.py,sha256=j_S8WMNqQuSQgBT7AX4tO70fgbWuRYrpsS3tVsu_hn4,2200
129
- bbot/modules/jadx.py,sha256=a5RrFiXglgNQpXkRHZM6i_fqCP1GPBB_UVZZk9BrehY,3946
129
+ bbot/modules/jadx.py,sha256=O8134-Rda5PxZyGFBNHCtvXAEUplOqQPlhTrxBGOtCw,3048
130
130
  bbot/modules/leakix.py,sha256=KkqhlBHhKxYGcWfGdrXzJPYXFIshp2oCY6FRHhsI8mY,1547
131
131
  bbot/modules/myssl.py,sha256=yypGgAwkPAsoo9_eUFx1TO7qdE4UAUPW24Ca6G0z76M,936
132
132
  bbot/modules/newsletters.py,sha256=5PfkzYmnrP2Pbqsch5z575Isck5TG4RJPH8vPr_vM2c,2632
@@ -402,8 +402,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ruUQwVfia1_m2u
402
402
  bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
403
403
  bbot/wordlists/valid_url_schemes.txt,sha256=VciB-ww0y-O8Ii1wpTR6rJzGDiC2r-dhVsIJApS1ZYU,3309
404
404
  bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
405
- bbot-2.1.2.5217rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
406
- bbot-2.1.2.5217rc0.dist-info/METADATA,sha256=xPAP-jaJXyObldRPFdKgbFfvFFzf9bLlOOj9AQhkqMk,17109
407
- bbot-2.1.2.5217rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
408
- bbot-2.1.2.5217rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
409
- bbot-2.1.2.5217rc0.dist-info/RECORD,,
405
+ bbot-2.1.2.5223rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
406
+ bbot-2.1.2.5223rc0.dist-info/METADATA,sha256=twDbdgmWLHvXj0d5DNc6B-Q6ioy4pNN0dOVdpU2fGgA,17109
407
+ bbot-2.1.2.5223rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
408
+ bbot-2.1.2.5223rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
409
+ bbot-2.1.2.5223rc0.dist-info/RECORD,,