Skip to content

Instantly share code, notes, and snippets.

@pmolchanov
Created March 5, 2016 18:40
Show Gist options
  • Select an option

  • Save pmolchanov/af8e5409670566c843d3 to your computer and use it in GitHub Desktop.

Select an option

Save pmolchanov/af8e5409670566c843d3 to your computer and use it in GitHub Desktop.

Revisions

  1. pmolchanov created this gist Mar 5, 2016.
    1 change: 1 addition & 0 deletions netcathttp.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    while true ; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 ; done