Skip to content

FlaskProx - A simple transparent HTTP proxy using Flask

License

Notifications You must be signed in to change notification settings

vladko312/FlaskProx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlaskProx

Version 1.0 Python 3.13 Python 3.6 GitHub GitHub last commit Maintenance

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.

Features

  • 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

Usage

Read help message with all CLI options:

python3 flaskprox.py -h

Run the FlaskProx server on port 1337:

python3 flaskprox.py -P 1337