more logic fixes
git-svn-id: file:///home/svn/framework3/trunk@13240 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
a934004a2b
commit
b96bf9754e
|
@ -95,7 +95,6 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
if not msg[0].eql?("")
|
if not msg[0].eql?("")
|
||||||
if msg[0].include?("SIP/2.0 180 Ringing")
|
if msg[0].include?("SIP/2.0 180 Ringing")
|
||||||
origin = /o=\w+\@[\w+\.]+/.match(msg[0])
|
origin = /o=\w+\@[\w+\.]+/.match(msg[0])
|
||||||
end
|
|
||||||
|
|
||||||
if not origin.nil?
|
if not origin.nil?
|
||||||
print_good(/\w+\@[\w+\.]+/.match(origin.to_s).to_s)
|
print_good(/\w+\@[\w+\.]+/.match(origin.to_s).to_s)
|
||||||
|
@ -107,6 +106,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
udp_sock.put(data)
|
udp_sock.put(data)
|
||||||
strtport = fnlport + 1
|
strtport = fnlport + 1
|
||||||
rcv = nil
|
rcv = nil
|
||||||
|
end
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue