authfinder 1.1.1__tar.gz → 1.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: authfinder
3
- Version: 1.1.1
3
+ Version: 1.1.3
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
@@ -1,3 +1,3 @@
1
1
  """authfinder: Execute commands across Windows and Linux systems using multiple RCE methods"""
2
2
 
3
- __version__ = "1.1.1"
3
+ __version__ = "1.1.3"
@@ -231,9 +231,9 @@ def build_cmd(tool, user, target, credential, command):
231
231
  if tool == "wmi":
232
232
  # we don't actually need to pass the --no-output here, as defender won't catch it regardless it seems
233
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}'"
234
+ return (f"{NXC_CMD} wmi {target} -H {hash_val} -u \"{user}\" -X '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 '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 command' not in out:
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.1
3
+ Version: 1.1.3
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.1"
7
+ version = "1.1.3"
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