authfinder 1.1.0__tar.gz → 1.1.2__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.0
3
+ Version: 1.1.2
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.0"
3
+ __version__ = "1.1.2"
@@ -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:
@@ -515,7 +515,7 @@ def main():
515
515
  else:
516
516
  ips = parse_ip_range(args.ip_range)
517
517
 
518
- if len(ips) < MAX_THREADS:
518
+ if len(ips) < MAX_THREADS and not args.threads:
519
519
  MAX_THREADS = len(ips)
520
520
 
521
521
  print(f"[*] Loaded {len(credential_list)} credential set(s)")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: authfinder
3
- Version: 1.1.0
3
+ Version: 1.1.2
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.0"
7
+ version = "1.1.2"
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