Application Security Testing: An Integral Part of DevOps
This proxy program is a very simple console application to implement the HTTP proxy. It donot contain so much error tolerant code, so it is short. Run the proxy program, set your internet browser proxy server with correct ip and its port is 5060(default, defined in program as PROXYPORT), it should be work( I test it with IE4.0 and on Win98). Press 'q' will terminate the proxy program.
The program's structure is simple. For each request , it starts two threads, one is forward local data to remote server and the other is forward remote data to local machine.