regex to check version fixed

bug/bundler_fix
jvazquez-r7 2013-01-09 23:48:55 +01:00
parent 5901058a61
commit ad3ca3a6bb
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Metasploit3 < Msf::Exploit::Remote
return Exploit::CheckCode::Safe
end
if res.body =~ /<version>2\.1\.0RC[012]<\/version>/
if res.body =~ /<version>2\.1\.(0RC\d|0|1|2)<\/version>/
return Exploit::CheckCode::Vulnerable
end