scythe-ttp 0.16.0__py3-none-any.whl → 0.16.1__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.
- scythe/cli/main.py +3 -5
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/METADATA +1 -1
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/RECORD +7 -7
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/WHEEL +0 -0
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/entry_points.txt +0 -0
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/licenses/LICENSE +0 -0
- {scythe_ttp-0.16.0.dist-info → scythe_ttp-0.16.1.dist-info}/top_level.txt +0 -0
scythe/cli/main.py
CHANGED
|
@@ -226,10 +226,8 @@ def _create_test(project_root: str, name: str) -> str:
|
|
|
226
226
|
|
|
227
227
|
return filepath
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
_DETECTED_LIST_RE = re.compile(r"Detected target versions: \[?([^\]]*)\]?")
|
|
232
|
-
|
|
229
|
+
_VERSION_RE = re.compile(r"['\"]?X-Scythe-Target-Version['\"]?\s*:\s*['\"]?([\w.-]+)['\"]?")
|
|
230
|
+
_DETECTED_LIST_RE = re.compile(r"Target versions detected:\s*\[?([^]]*)\]?")
|
|
233
231
|
|
|
234
232
|
def _parse_version_from_output(output: str) -> Optional[str]:
|
|
235
233
|
m = _VERSION_RE.search(output)
|
|
@@ -240,7 +238,7 @@ def _parse_version_from_output(output: str) -> Optional[str]:
|
|
|
240
238
|
if m:
|
|
241
239
|
inner = m.group(1)
|
|
242
240
|
# extract first version-like token
|
|
243
|
-
mv = re.search(r"
|
|
241
|
+
mv = re.search(r"\d+(?:\.[\w\-]+)+", inner)
|
|
244
242
|
if mv:
|
|
245
243
|
return mv.group(0)
|
|
246
244
|
return None
|
|
@@ -11,7 +11,7 @@ scythe/behaviors/human.py,sha256=1PqYvE7cnxlj-KDmDIr3uzfWHvDAbbxQxJ0V0iTl9yo,102
|
|
|
11
11
|
scythe/behaviors/machine.py,sha256=NDMUq3mDhpCvujzAFxhn2eSVq78-J-LSBhIcvHkzKXo,4624
|
|
12
12
|
scythe/behaviors/stealth.py,sha256=xv7MrPQgRCdCUJyYTcXV2aasWZoAw8rAQWg-AuQVb7U,15278
|
|
13
13
|
scythe/cli/__init__.py,sha256=9EVxmFiWsAoqWJ6br1bc3BxlA71JyOQP28fUHhX2k7E,43
|
|
14
|
-
scythe/cli/main.py,sha256
|
|
14
|
+
scythe/cli/main.py,sha256=-PXmdzYzlS5KWndVd35CoxAK17wxfLEmF_KUotJrHc0,21373
|
|
15
15
|
scythe/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
scythe/core/executor.py,sha256=x1w2nByVu2G70sh7t0kOh6urlrTm_r_pbk0S7v1Ov28,9736
|
|
17
17
|
scythe/core/headers.py,sha256=AokCQ3F5QGUcfoK7iO57hA1HHL4IznZeWV464_MqYcE,16670
|
|
@@ -32,9 +32,9 @@ scythe/ttps/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
32
32
|
scythe/ttps/web/login_bruteforce.py,sha256=D4G8zB_nU9LD5w3Vv2ABTuOl4XTeg2BgZwYMObt4JJw,2488
|
|
33
33
|
scythe/ttps/web/sql_injection.py,sha256=aWk4DFePbtFDsieOOj03Ux-5OiykyOs2_d_3SvWMOVE,2910
|
|
34
34
|
scythe/ttps/web/uuid_guessing.py,sha256=JwNt_9HVynMWFPPU6UGJFcpxvMVDsvc_wAnJVtcYbps,1235
|
|
35
|
-
scythe_ttp-0.16.
|
|
36
|
-
scythe_ttp-0.16.
|
|
37
|
-
scythe_ttp-0.16.
|
|
38
|
-
scythe_ttp-0.16.
|
|
39
|
-
scythe_ttp-0.16.
|
|
40
|
-
scythe_ttp-0.16.
|
|
35
|
+
scythe_ttp-0.16.1.dist-info/licenses/LICENSE,sha256=B7iB4Fv6zDQolC7IgqNF8F4GEp_DLe2jrPPuR_MYMOM,1064
|
|
36
|
+
scythe_ttp-0.16.1.dist-info/METADATA,sha256=LxmrtQniVraYXKXFAlrTE66DYvHC-vGQNp6Wk6HmCDA,30161
|
|
37
|
+
scythe_ttp-0.16.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
38
|
+
scythe_ttp-0.16.1.dist-info/entry_points.txt,sha256=rAAsFBcCm0OX3I4uRyclfx4YJGoTuumZKY43HN7R5Ro,48
|
|
39
|
+
scythe_ttp-0.16.1.dist-info/top_level.txt,sha256=BCKTrPuVvmLyhOR07C1ggOh6sU7g2LoVvwDMn46O55Y,7
|
|
40
|
+
scythe_ttp-0.16.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|