mirror of
https://github.com/nmap/nmap.git
synced 2026-07-11 18:55:08 +00:00
Credential object is creds.Account, not brute.Account. See #2086
This commit is contained in:
parent
05763b620d
commit
be25ad6005
2 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ Driver = {
|
|||
return false, brute.Error:new(error_message)
|
||||
end
|
||||
|
||||
return true, brute.Account:new(username, password, creds.State.VALID)
|
||||
return true, creds.Account:new(username, password, creds.State.VALID)
|
||||
end,
|
||||
|
||||
check = function(self)
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ Driver = {
|
|||
hmac_salt, rakp2_message["hmac_sha1"], password)
|
||||
|
||||
if found then
|
||||
return true, brute.Account:new(username, password, creds.State.VALID)
|
||||
return true, creds.Account:new(username, password, creds.State.VALID)
|
||||
else
|
||||
return false, brute.Error:new("Incorrect password")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue