I know that netcat can be used as a lightweight web-server to host a file, but I want to also have any post data saved to a separate file. Is this possible with netcat? What's the lightest way I can do something like this, preferably in os x.
Thanks
|
|
|
Well, you can get all the html headers:-
This will save the first 2000 bytes of the headers and the time stamp to a log_file, then restart the server. |
|||||
|