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

Add a new username prompt to telnet-brute. Closes #2629

This commit is contained in:
nnposter
2024-09-02 23:48:25 +00:00
parent bef25962e7
commit fbadb5256b

View File

@@ -68,6 +68,7 @@ local is_username_prompt = function (str)
local lcstr = str:lower()
return lcstr:find("%f[%w]username%s*:%s*$")
or lcstr:find("%f[%w]login%s*:%s*$")
or lcstr:find("%f[%w]login as%s*:%s*$")
end