authfinder 1.1.2__tar.gz → 1.1.4__tar.gz
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.
- {authfinder-1.1.2 → authfinder-1.1.4}/PKG-INFO +1 -1
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder/__init__.py +1 -1
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder/authfinder.py +5 -5
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/PKG-INFO +1 -1
- {authfinder-1.1.2 → authfinder-1.1.4}/pyproject.toml +1 -1
- {authfinder-1.1.2 → authfinder-1.1.4}/LICENSE +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/README.md +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/SOURCES.txt +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/dependency_links.txt +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/entry_points.txt +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/requires.txt +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/authfinder.egg-info/top_level.txt +0 -0
- {authfinder-1.1.2 → authfinder-1.1.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: authfinder
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Execute commands across Windows and Linux systems using multiple RCE methods (WinRM, SMB, WMI, RDP, SSH, MSSQL)
|
|
5
5
|
Author: Khael
|
|
6
6
|
Project-URL: Homepage, https://github.com/KhaelK138/authfinder
|
|
@@ -229,11 +229,11 @@ def build_cmd(tool, user, target, credential, command):
|
|
|
229
229
|
f"{NXC_CMD} smb {target} -p {credential} -u \"{user}\" -X 'powershell -enc {b64}' --exec-method smbexec{nxc_output_flag}")
|
|
230
230
|
|
|
231
231
|
if tool == "wmi":
|
|
232
|
-
# we don't actually need to pass the --no-output here, as defender won't catch it
|
|
233
|
-
# additionally, adding --no-output makes it very difficult to differentiate between command execution and a successful authentication w/o execution
|
|
234
|
-
return (f"{NXC_CMD} wmi {target} -H {hash_val} -u \"{user}\" -X 'powershell -enc {b64}'"
|
|
232
|
+
# we don't actually need to pass the --no-output here, as defender won't catch it with this specific `cmd /c "powershell -enc` combo
|
|
233
|
+
# additionally, adding --no-output makes it very difficult to differentiate between command execution and a successful authentication w/o execution for wmi specifically
|
|
234
|
+
return (f"{NXC_CMD} wmi {target} -H {hash_val} -u \"{user}\" -X 'cmd /c \"powershell -enc {b64}\"'"
|
|
235
235
|
if use_hash else
|
|
236
|
-
f"{NXC_CMD} wmi {target} -p {credential} -u \"{user}\" -X 'powershell -enc {b64}'")
|
|
236
|
+
f"{NXC_CMD} wmi {target} -p {credential} -u \"{user}\" -X 'cmd /c \"powershell -enc {b64}\"'")
|
|
237
237
|
|
|
238
238
|
if tool == "ssh":
|
|
239
239
|
if LINUX_MODE:
|
|
@@ -335,7 +335,7 @@ def run_chain(user, ip, credential, command, tool_list=None):
|
|
|
335
335
|
safe_print(f" \033[33m[!]\033[0m For {ip}: {tool} AUTHENTICATION succeeded as {user} with {credential}, but this seems like a Linux machine, so the command didn't run.")
|
|
336
336
|
safe_print(" \033[33m[!]\033[0m Use \033[33m--linux\033[0m to run command across Linux machines.")
|
|
337
337
|
continue
|
|
338
|
-
if '[+]' in out and 'Executed
|
|
338
|
+
if '[+]' in out and '[+] Executed' not in out:
|
|
339
339
|
safe_print(f" \033[33m[!]\033[0m For {ip}: {tool} AUTHENTICATION succeeded as {user} with {credential}, but seemingly failed to run command. Does the user have the necessary permissions?")
|
|
340
340
|
continue
|
|
341
341
|
if rc == 0 and out == "":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: authfinder
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Execute commands across Windows and Linux systems using multiple RCE methods (WinRM, SMB, WMI, RDP, SSH, MSSQL)
|
|
5
5
|
Author: Khael
|
|
6
6
|
Project-URL: Homepage, https://github.com/KhaelK138/authfinder
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "authfinder"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.4"
|
|
8
8
|
description = "Execute commands across Windows and Linux systems using multiple RCE methods (WinRM, SMB, WMI, RDP, SSH, MSSQL)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|