Skip to content

Instantly share code, notes, and snippets.

@rndD
Created March 26, 2022 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rndD/7f718e885ebceebe196d91bfb60bcf2d to your computer and use it in GitHub Desktop.
Save rndD/7f718e885ebceebe196d91bfb60bcf2d to your computer and use it in GitHub Desktop.
nc: listen 3000 and log
while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; } | nc -l -p 3000 -c ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment