1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Minor edits

This commit is contained in:
wchen-r7 2015-12-07 21:13:14 -06:00
parent 3bbc413935
commit ea3c7cb35b

View File

@ -66,12 +66,12 @@ class Metasploit3 < Msf::Exploit::Remote
end
def push
uri = normalize_uri(target_uri.path)
uri = normalize_uri(target_uri.path)
# To push the Enter button
res = send_request_cgi({
'method' => 'POST',
'uri' => uri,
'method' => 'POST',
'uri' => uri,
'vars_post' => {
'frame' => '3',
'pass' => '' # yep this should be empty
@ -93,7 +93,7 @@ class Metasploit3 < Msf::Exploit::Remote
end
def http_send_command(cmd)
cookie = push()
cookie = push
res = send_request_cgi({
'method' => 'GET',
'uri' => normalize_uri(target_uri.path),