Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import select | |
| from logzero import logger | |
| # python forwarder.py localhost:1337 ipinfo.io:80 | |
| # curl -v http://localhost.com:1337 -H "Host: ipinfo.io" | |
| # video: https://www.youtube.com/watch?v=32KKwgF67Ho | |
| class Forwarder: |
OlderNewer