Skip to content

Instantly share code, notes, and snippets.

@alexproca
Last active May 18, 2016 12:49
Show Gist options
  • Save alexproca/db5b1cf7d2cb772e3caa3b9bead120cb to your computer and use it in GitHub Desktop.
Save alexproca/db5b1cf7d2cb772e3caa3b9bead120cb to your computer and use it in GitHub Desktop.
#fake http server
while true; do; echo "\n\n"; echo -e 'HTTP/1.1 200 OK\r\n' | sudo ncat -lv 80
#wire tap
ncat -lkv localhost 8080 -c 'tee /dev/stderr | ncat -v example.com 80 | tee /dev/stderr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment