mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Include a message in the output (and quit trying users with the current method)
when smtp-enum-users hits an unhandled status code.
This commit is contained in:
parent
90e2d1dacd
commit
f7b4900eac
1 changed files with 3 additions and 0 deletions
|
|
@ -390,6 +390,9 @@ function go(host, port)
|
|||
elseif status == STATUS_CODES.AUTHENTICATION then
|
||||
quit(socket)
|
||||
return false, "Couldn't perform user enumeration, authentication needed"
|
||||
else -- STATUS_CODES.INVALID
|
||||
table.insert(result, string.format("Method %s returned a unhandled status code.", method))
|
||||
break
|
||||
end
|
||||
|
||||
username = nextuser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue