Last active
October 5, 2016 06:06
-
-
Save enil/e096023d5d834f69b4b6bb8a98e9114f to your computer and use it in GitHub Desktop.
Use ncat as an HTTP server
This file contains hidden or 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
ncat -k -l 4000 -o /dev/stderr -c 'echo "HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment