disconnect() tcp socket instead of just close()ing it

git-svn-id: file:///home/svn/framework3/trunk@6758 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2009-07-09 07:08:25 +00:00
parent 09eb53be5b
commit 58671fd684
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Metasploit3 < Msf::Auxiliary
)
print_status(" TCP OPEN #{ip}:#{port}")
report_service(:host => ip, :port => port)
s.close
disconnect(s)
rescue ::Interrupt
raise $!
rescue ::Rex::ConnectionError