Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sverrirab/web_tunnel
Simple transparent proxy (web tunnel) in python)
https://github.com/sverrirab/web_tunnel
Last synced: about 2 months ago
JSON representation
Simple transparent proxy (web tunnel) in python)
- Host: GitHub
- URL: https://github.com/sverrirab/web_tunnel
- Owner: sverrirab
- License: unlicense
- Created: 2015-01-15T15:25:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T08:30:01.000Z (about 3 years ago)
- Last Synced: 2023-04-01T14:38:02.445Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web_tunnel
Very simple HTTP Tunnel. Useful for quick debugging of http requests.
Also supports replacing host header so this can function as a poor man's web debugging tool.## Example usage
> python web_tunnel.py -p 8888 myapi.internal 8080
With host name replacement (tricking test server into believing it's production)
> python web_tunnel.py -p 8888 -r api.example.com myapi.internal 80
In both cases you can now connect to localhost:8888 and talk to myapi.internal server. If you want to see the content of the requests and responses add '-vv' argument.
## Advanced usage
If you need to trick the client into using a different hostname then set the tunnel to be the default SOCKS proxy. Note that only your site will work (for now at least).