Created
December 16, 2016 22:25
-
-
Save mattes/ffc60821bc7b1715b63dd67fbe6f9a57 to your computer and use it in GitHub Desktop.
quick http server with netcat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do echo -e "HTTP/1.1 200 OK\n\n" | sudo nc -l -p 80 -q 1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment