regex to check version fixed
parent
5901058a61
commit
ad3ca3a6bb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue