disconnect() tcp socket instead of just close()ing it
git-svn-id: file:///home/svn/framework3/trunk@6758 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
09eb53be5b
commit
58671fd684
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue