The log-proxy server is a perl script which can be used as a direct fixed-destination proxy, or as an http proxy. It sends all the data being sent or recieved in both hex and ascii to stdout so it can be easily logged to a file. log-proxy also has built-in support for colored output.
You can download it from the following link: https://packetstormsecurity.com/files/download/11517/log-proxy.pl
Source: https://packetstormsecurity.com/files/11517/log-proxy.pl.html

