Skip to content

Instantly share code, notes, and snippets.

@fijiwebdesign
Created September 12, 2017 08:29
Show Gist options
  • Save fijiwebdesign/51282e977cd5aab54ec8988e812ca40c to your computer and use it in GitHub Desktop.
Save fijiwebdesign/51282e977cd5aab54ec8988e812ca40c to your computer and use it in GitHub Desktop.
Netcat intercepting proxy
# https://blog.hawkhost.com/2009/12/12/using-netcat-as-an-intercepting-proxy/
# http://noah.org/wiki/TCP_proxy_with_netcat
nc -l -p 12345 < pipe | tee outgoing.log | nc irc.freenode.net 6667 | tee pipe incoming.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment