Create a gist now

Instantly share code, notes, and snippets.

# This is redundant with the new implementation
mkfifo /tmp/socks_proxy.fifo
while true; do
mkfifo /tmp/socks_proxy.fifo
# vv host to proxy to goes here
nc -l 8085 < /tmp/socks_proxy.fifo | tee /dev/stderr | nc google.com 80 | tee /tmp/socks_proxy.fifo
rm /tmp/socks_proxy.fifo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment