1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Credential object is creds.Account, not brute.Account. See #2086

This commit is contained in:
nnposter
2020-07-20 20:58:30 +00:00
parent 05763b620d
commit be25ad6005
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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