Metasploit mailing list archives
Simple HTTP Proxy
From: hdm at metasploit.com (H D Moore)
Date: Tue, 19 Aug 2008 12:03:16 -0500
This may be a bug in the framework HTTP code, there have been a handful of parsing issues here. Try removing the proxy code now and just use the HTTP client code to send the request and parse the response. If you can reproduce this with a public site, let me know what site it is or provide a packet capture, and we can work on a fix. -HD On Tuesday 19 August 2008, Vincent MAUGE wrote:
I try to develop a simple HTTP Proxy using the Framework and HTTP class. I use auxiliary/server/capture/http.rb as example. I change the dispatch_request() function to create a new Rex::Proto::Http::Client with the host provide in header request and send the request to the server using send_recv(req). I send back the response to the client using cli.put(res.to_s). But I have a problem the client receives only the header and not the body. Where did I make a mistake ?
Current thread:
- Simple HTTP Proxy Vincent MAUGE (Aug 19)
- Simple HTTP Proxy H D Moore (Aug 19)
- Simple HTTP Proxy Vincent MAUGE (Aug 19)
- Simple HTTP Proxy H D Moore (Aug 19)