From 2db1945637a067a994d96b864b26692f815d6799 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 22 Feb 2007 07:33:00 +0000 Subject: [PATCH] Fix a bone-headed error when adding http evasion, this fixes #31 git-svn-id: file:///home/svn/framework3/trunk@4459 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/proto/http/client.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rex/proto/http/client.rb b/lib/rex/proto/http/client.rb index 89c12dce0f..b9d403fdbf 100644 --- a/lib/rex/proto/http/client.rb +++ b/lib/rex/proto/http/client.rb @@ -238,6 +238,7 @@ class Client # Read a response from the server # def read_response(t = -1) + resp = Response.new resp.max_data = config['read_max_data'] @@ -435,7 +436,7 @@ class Client ret = Rex::Text.to_rand_base(ret) end - ret += "\r\n" + ret end #