Created
March 5, 2016 18:40
-
-
Save pmolchanov/af8e5409670566c843d3 to your computer and use it in GitHub Desktop.
Simple NetCat HTTP server
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 $(date)" | nc -l -p 1500 ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment