fix version check
parent
9ae2c53c1f
commit
c603430228
|
@ -65,7 +65,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
php_version = res.headers['X-Powered-By'].scan(/PHP\/([\d\.]+)/i).flatten.first || ''
|
||||
vprint_status("Found PHP version: #{php_version}")
|
||||
|
||||
if php_version > '5.3'
|
||||
if php_version >= '5.4'
|
||||
vprint_error('This module currently does not work against this PHP version')
|
||||
return Exploit::CheckCode::Safe
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue