mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Add a new username prompt to telnet-brute. Closes #2629
This commit is contained in:
@@ -68,6 +68,7 @@ local is_username_prompt = function (str)
|
|||||||
local lcstr = str:lower()
|
local lcstr = str:lower()
|
||||||
return lcstr:find("%f[%w]username%s*:%s*$")
|
return lcstr:find("%f[%w]username%s*:%s*$")
|
||||||
or lcstr:find("%f[%w]login%s*:%s*$")
|
or lcstr:find("%f[%w]login%s*:%s*$")
|
||||||
|
or lcstr:find("%f[%w]login as%s*:%s*$")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user