Last active
October 27, 2021 15:22
-
-
Save alisade/1da1ae25399e9bfffb558645330a50c9 to your computer and use it in GitHub Desktop.
simple https 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
echo -e "HTTP/1.1 200 OK\r\n$(date)\r\n\r\n<h1>hello world from $(hostname) on $(date)</h1>" | sudo ncat -vl --ssl 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment