Dealing with a hung quit state. oof.

git-svn-id: file:///home/svn/framework3/trunk@9458 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-06-09 17:27:32 +00:00
parent 74a68138fc
commit 7677bbedea
1 changed files with 2 additions and 1 deletions

View File

@ -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