Dealing with a hung quit state. oof.
git-svn-id: file:///home/svn/framework3/trunk@9458 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
74a68138fc
commit
7677bbedea
|
@ -125,7 +125,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
rescue ::Rex::ConnectionError, EOFError, ::Errno::ECONNRESET => e
|
||||
this_attempt[[user,pass]] += 1
|
||||
vprint_status "#{rhost}:#{rport} - Caught #{e.class}, reconnecting and retrying"
|
||||
ftp_quit
|
||||
disconnect
|
||||
@ftp_sock = nil
|
||||
end
|
||||
end
|
||||
return :connection_error
|
||||
|
|
Loading…
Reference in New Issue