Force the socket to close between each pass -- thanks quine!
git-svn-id: file:///home/svn/framework3/trunk@6435 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
fad673fb35
commit
93bcddf469
|
@ -81,6 +81,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
raise $!
|
||||
rescue ::Exception => e
|
||||
print_status("Unknown error: #{e.class} #{e}")
|
||||
ensure
|
||||
udp_sock.close if udp_sock
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -126,7 +128,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:name => 'sip'
|
||||
)
|
||||
|
||||
if(agent != 'Unknown')
|
||||
if(not agent.empty?)
|
||||
report_note(
|
||||
:host => pkt[1],
|
||||
:ntype => 'sip_useragent',
|
||||
|
|
Loading…
Reference in New Issue