fix regexp handling
git-svn-id: file:///home/svn/framework3/trunk@9490 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f6901861fa
commit
cb69258fb2
|
@ -95,9 +95,9 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
ret = targets[1]
|
||||
elsif agent =~ /(Windows NT 5\.2|MiniRedir\/5\.2)/
|
||||
ret = targets[1]
|
||||
elsif agent =~ /MSIE 7.0/
|
||||
elsif agent =~ /MSIE 7\.0/
|
||||
ret = targets[1]
|
||||
elsif agent =~ /MSIE 6.0/
|
||||
elsif agent =~ /MSIE 6\.0/
|
||||
ret = targets[1]
|
||||
else
|
||||
print_status("Unknown User-Agent #{agent} from #{cli.peerhost}:#{cli.peerport}")
|
||||
|
|
Loading…
Reference in New Issue