Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Created November 29, 2016 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benmmurphy/359297eb0ea14fa6ab05d1b1c96c32b6 to your computer and use it in GitHub Desktop.
Save benmmurphy/359297eb0ea14fa6ab05d1b1c96c32b6 to your computer and use it in GitHub Desktop.
rails redirect poison
echo $'HTTP/1.1 301 Redirect\r\nLocation: https://www.youtube.com/watch?v=dQw4w9WgXcQ\r\n\r\n' | nc -l -p 3000 127.0.0.1 & open http://localhost:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment