Skip to content

Instantly share code, notes, and snippets.

@insom
Last active November 30, 2016 15:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save insom/6f086781adf18f8cffce0df72961547c to your computer and use it in GitHub Desktop.
Save insom/6f086781adf18f8cffce0df72961547c to your computer and use it in GitHub Desktop.
cat > pugbomb.txt << EOF
HTTP/1.0 302 Redirect
Location: http://www.pugbomb.me/
EOF
while true; do sudo nc -l -p 80 -c 'cat pugbomb.txt'; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment