more logic fixes

git-svn-id: file:///home/svn/framework3/trunk@13240 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
David Rude 2011-07-19 21:19:34 +00:00
parent a934004a2b
commit b96bf9754e
1 changed files with 10 additions and 10 deletions

View File

@ -95,7 +95,6 @@ class Metasploit3 < Msf::Auxiliary
if not msg[0].eql?("")
if msg[0].include?("SIP/2.0 180 Ringing")
origin = /o=\w+\@[\w+\.]+/.match(msg[0])
end
if not origin.nil?
print_good(/\w+\@[\w+\.]+/.match(origin.to_s).to_s)
@ -107,6 +106,7 @@ class Metasploit3 < Msf::Auxiliary
udp_sock.put(data)
strtport = fnlport + 1
rcv = nil
end
else
break
end