SECFORCE/Tunna — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Python command line tool for an authorized lab that can tunnel normal TCP traffic through HTTP when only a web server port is reachable. I want to upload a simple connector page to the remote web server, then run a local proxy on my machine, point my app at localhost, and have the traffic carried back and forth over HTTP.

It should support a local SOCKS mode by default, plus a direct mode where I choose the remote IP and port, like connecting a local port to RDP or SSH on the remote side. Add practical options for verbose packet size output, custom buffer size, upstream HTTP proxy with optional authentication, cookies, basic auth, ping interval, and starting the ping thread first for services that send data before the client does.

Please include connector files for common web server setups like JSP, ASPX, and PHP, clear usage examples, cleanup on exit, and warnings that this is proof of concept code for systems I’m allowed to test only.

Want more depth? Deep Reverse