fix regexp handling

git-svn-id: file:///home/svn/framework3/trunk@9490 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-06-11 17:40:12 +00:00
parent f6901861fa
commit cb69258fb2
1 changed files with 2 additions and 2 deletions

View File

@ -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}")