Attempt to fix #5979
parent
eca1253439
commit
ff22246119
|
@ -170,6 +170,9 @@ class Metasploit3 < Msf::Auxiliary
|
|||
buf = sock.get_once(1)
|
||||
if buf != "\x00"
|
||||
buf = sock.get_once(-1)
|
||||
if buf.nil?
|
||||
return :failed
|
||||
end
|
||||
result = buf.gsub(/[[:space:]]+/, ' ')
|
||||
vprint_error("Result: #{result}")
|
||||
return :skip_user if result =~ /locuser too long/
|
||||
|
|
Loading…
Reference in New Issue