Skip to content

Instantly share code, notes, and snippets.

@greymd
Last active February 7, 2017 23:54
Show Gist options
  • Select an option

  • Save greymd/759bbf5317c6028f61d9a17fc14242f6 to your computer and use it in GitHub Desktop.

Select an option

Save greymd/759bbf5317c6028f61d9a17fc14242f6 to your computer and use it in GitHub Desktop.
proxy server with netcat
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