Skip to content

Instantly share code, notes, and snippets.

View dmiller-nmap's full-sized avatar

Daniel Miller dmiller-nmap

View GitHub Profile
diff --git a/scripts/telnet-brute.nse b/scripts/telnet-brute.nse
index 9b0e019..94445de 100644
--- a/scripts/telnet-brute.nse
+++ b/scripts/telnet-brute.nse
@@ -78,16 +78,24 @@ local patt_login = U.atwordboundary(re.compile [[([uU][sS][eE][rR][nN][aA][mM][e
local patt_password = U.atwordboundary(re.compile [[[pP][aA][sS][sS] ([wW][oO][rR][dD] / [cC][oO][dD][eE]) %s* ':' %s* !.]])
-local patt_login_success = re.compile([[
- prompt <- [/>%$#] / -- general prompt