fix success detection read loop
git-svn-id: file:///home/svn/framework3/trunk@11535 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
87cdaa4ea5
commit
b9836dcf50
|
@ -275,7 +275,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
|
|
||||||
# Allow for slow echos
|
# Allow for slow echos
|
||||||
1.upto(10) do
|
1.upto(10) do
|
||||||
recv(self.sock, 0.10) if @recvd == recvd_sample
|
recv(self.sock, 0.10)
|
||||||
|
break if login_succeeded?
|
||||||
end
|
end
|
||||||
|
|
||||||
vprint_status("#{rhost}:#{rport} Result: #{@recvd.gsub(/[\r\n\e\b\a]/, ' ')}")
|
vprint_status("#{rhost}:#{rport} Result: #{@recvd.gsub(/[\r\n\e\b\a]/, ' ')}")
|
||||||
|
|
Loading…
Reference in New Issue