Created
March 28, 2019 21:57
-
-
Save xf0e/3e6aea5f58b71fe41c60c5c475d7ef27 to your computer and use it in GitHub Desktop.
server for poor peeople
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 -q 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment