authfinder 1.0.0__tar.gz → 1.0.1__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.0.0
3
+ Version: 1.0.1
4
4
  Summary: Execute commands across Windows 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
@@ -78,7 +78,7 @@ authfinder 192.168.1.10 administrator Password123 whoami
78
78
  # Execute across IP range of 192.168.1.1 to 192.168.1.50
79
79
  authfinder 192.168.1.1-50 admin Pass123 "net user"
80
80
 
81
- # Use hash instead of password
81
+ # Use nthash instead of password
82
82
  authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
83
83
  ```
84
84
 
@@ -86,6 +86,7 @@ authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
86
86
 
87
87
  Supports various formats:
88
88
  - Single IP: `192.168.1.10`
89
+ - Multi-IP: `192.168.1.15,17,29,153`
89
90
  - Range: `192.168.1.1-254`
90
91
  - Multiple ranges: `10.0.1-5.10-20` (expands to all combinations)
91
92
  - File with IP ranges: `targets.txt`
@@ -100,7 +101,7 @@ Password123!
100
101
  admin
101
102
  Pass123
102
103
  backup_admin
103
- :aad3b435b51404eeaad3b435b51404ee
104
+ :12345678123456781234567812345678
104
105
  ```
105
106
 
106
107
  Lines starting with `#` are treated as comments. For NT hashes, use them directly as the password.
@@ -50,7 +50,7 @@ authfinder 192.168.1.10 administrator Password123 whoami
50
50
  # Execute across IP range of 192.168.1.1 to 192.168.1.50
51
51
  authfinder 192.168.1.1-50 admin Pass123 "net user"
52
52
 
53
- # Use hash instead of password
53
+ # Use nthash instead of password
54
54
  authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
55
55
  ```
56
56
 
@@ -58,6 +58,7 @@ authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
58
58
 
59
59
  Supports various formats:
60
60
  - Single IP: `192.168.1.10`
61
+ - Multi-IP: `192.168.1.15,17,29,153`
61
62
  - Range: `192.168.1.1-254`
62
63
  - Multiple ranges: `10.0.1-5.10-20` (expands to all combinations)
63
64
  - File with IP ranges: `targets.txt`
@@ -72,7 +73,7 @@ Password123!
72
73
  admin
73
74
  Pass123
74
75
  backup_admin
75
- :aad3b435b51404eeaad3b435b51404ee
76
+ :12345678123456781234567812345678
76
77
  ```
77
78
 
78
79
  Lines starting with `#` are treated as comments. For NT hashes, use them directly as the password.
@@ -1,3 +1,3 @@
1
1
  """authfinder: Execute commands across Windows systems using multiple RCE methods"""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.0.1"
@@ -335,9 +335,13 @@ def run_chain(user, ip, credential, command, tool_list=None):
335
335
  safe_print(f" [-] For {ip}: {tool} failed.")
336
336
  continue
337
337
 
338
- if tool == "mssql" and "ERROR" in out:
339
- safe_print(f" [-] For {ip}: {tool} failed.")
340
- continue
338
+ if tool == "mssql":
339
+ if "The EXECUTE permission was denied" in out:
340
+ 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?")
341
+ continue
342
+ if "ERROR" in out:
343
+ safe_print(f" [-] For {ip}: {tool} failed.")
344
+ continue
341
345
 
342
346
  # one-shotting using evil-winrm results in a return code of 1
343
347
  if rc == 0 or (tool in ("winrm", "winrm-ssl") and rc == 1 and "NoMethodError" in out):
@@ -417,7 +421,7 @@ def parse_args():
417
421
  parser.error("Cannot specify username/password when using -f")
418
422
 
419
423
  if not args.file and (not args.username or not args.credential):
420
- parser.error("Must supply either -f FILE or username + credential")
424
+ parser.error("Must supply either -f FILE or username and credential")
421
425
 
422
426
  return args
423
427
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: authfinder
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Execute commands across Windows 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
@@ -78,7 +78,7 @@ authfinder 192.168.1.10 administrator Password123 whoami
78
78
  # Execute across IP range of 192.168.1.1 to 192.168.1.50
79
79
  authfinder 192.168.1.1-50 admin Pass123 "net user"
80
80
 
81
- # Use hash instead of password
81
+ # Use nthash instead of password
82
82
  authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
83
83
  ```
84
84
 
@@ -86,6 +86,7 @@ authfinder 10.0.0.1-10 admin :{32-bit-hash} whoami
86
86
 
87
87
  Supports various formats:
88
88
  - Single IP: `192.168.1.10`
89
+ - Multi-IP: `192.168.1.15,17,29,153`
89
90
  - Range: `192.168.1.1-254`
90
91
  - Multiple ranges: `10.0.1-5.10-20` (expands to all combinations)
91
92
  - File with IP ranges: `targets.txt`
@@ -100,7 +101,7 @@ Password123!
100
101
  admin
101
102
  Pass123
102
103
  backup_admin
103
- :aad3b435b51404eeaad3b435b51404ee
104
+ :12345678123456781234567812345678
104
105
  ```
105
106
 
106
107
  Lines starting with `#` are treated as comments. For NT hashes, use them directly as the password.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "authfinder"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "Execute commands across Windows 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