Last active
February 7, 2017 23:54
-
-
Save greymd/759bbf5317c6028f61d9a17fc14242f6 to your computer and use it in GitHub Desktop.
proxy server with netcat
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
| Terminal1 | |
| ``` | |
| $ mkfifo backpipe | |
| $ nc -l 8080 < backpipe | curl example.com > backpipe | |
| ``` | |
| Terminal2 | |
| ``` | |
| $ curl example.com -x 'localhost:8080' | |
| <result> | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment