HTTPHack

Send your own HTTP Requests\Responses


Frequently Asked Questions

 

Which platforms does HTTPHack work on?
HTTPHack was designed for Windows XP and Windows Vista. It's not been tested on other platforms. Though the socket engine was originally made on Linux so it will be easily portable in the future. Feel free to try HTTPHack on other Windows platforms and let us know how it works out.

Why use HTTPHack?
HTTPHack is mostly a test for Windows socket programming, but I found it useful to send custom HTTP message or return them. Wget does have basic functionality to do this (and HTTPHack is by no means as clever as Wget!), but it does give you raw control over your socket.

HTTPHack simply flashes open and then closes again, what gives?
You've not specified any arguments for the application. See the README file for usage instructions, alternatively, run the program from an already started command prompt, then you'll see the usage instructions displayed.

How is HTTPHack different to wget?
Firstly, wget is a lot smarter ;) HTTPHack is nowhere near as functional as wget, HTTPHack aims for simplicity, a quick-fire tool which gives you raw access to the sockets below. If you need something a little more professional, check wget out.

HTTPHack just hangs when sending a request
This is most likely a bug in the new HTTP persistency handling, HTTPHack should return an error code, let us know what request you made, and the code so we can fix it :)

When in server mode, my request isn't served!
Make sure you've calculated the correct Content-Length if you intend to return data to the client. HTTPHack doesn't take care of this, so ensure your request is valid.

Why's it called HTTPHack?
It's just a name, it won't allow you to hack into HTTP servers. It mainly focuses around the HTTP protocol, though can be adapted to use others, so a name change might be around the corner.

Does HTTPHack support IPv6?
At the moment, IPv6 is not supported.

Can I view the source code?
Right now, the source code isn't publicly available (mostly because it's so badly written!). It's also forver changing so wouldn't be much good, but eventually when it reaches a stable release, it will be published under a GPL license.

[ Back ]

© 2009 by John Payne.
http://www.the-serpent.co.uk