Skip to content

Commit 212179b

Browse files
committed
change behavior to explicitly note when password is not set (or enhanced password supercedes it) as opposed to an empty string password
1 parent 721cf41 commit 212179b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/auxiliary/scanner/telnet/lantronix_telnet_password.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def run_host(ip)
6868
end
6969

7070
if password
71+
if password == "\x00\x00\x00\x00"
72+
password = "(not used, or secure)"
73+
end
74+
7175
print_good("#{rhost} - Telnet password found: #{password.to_s}")
7276
report_auth_info({
7377
:host => rhost,

0 commit comments

Comments
 (0)