mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user