FlaskProx is a simple transparent HTTP proxy, which uses Host
HTTP header to determine the upstream server. This proxy is using Flask WSGI server, which simplifies deployment.
This tool was created mainly for information security research, but it could be used as a regular transparent proxy for many other tasks.
Host
header upstream detection- Easy deployment using Flask
- Configuration through CLI options
- Upstream HTTP proxy support
- Server-side redirect processing
- Overriding upstream parameters
- Connection and reading timeouts
- SSL/TLS certificate validation
- Easy to modify code
Read help message with all CLI options:
python3 flaskprox.py -h
Run the FlaskProx server on port 1337:
python3 flaskprox.py -P 1337