fix version check

bug/bundler_fix
Christian Mehlmauer 2015-12-15 18:26:21 +01:00
parent 9ae2c53c1f
commit c603430228
No known key found for this signature in database
GPG Key ID: DCF54A05D6E62591
1 changed files with 1 additions and 1 deletions

View File

@ -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