Skip to content

Instantly share code, notes, and snippets.

@pmolchanov
Created March 5, 2016 18:40
Show Gist options
  • Save pmolchanov/af8e5409670566c843d3 to your computer and use it in GitHub Desktop.
Save pmolchanov/af8e5409670566c843d3 to your computer and use it in GitHub Desktop.
Simple NetCat HTTP server
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