Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:11
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 dacr/534059d7e6278e0d1cb78d191c59d920 to your computer and use it in GitHub Desktop.
Save dacr/534059d7e6278e0d1cb78d191c59d920 to your computer and use it in GitHub Desktop.
netcat cheat sheet / published by https://github.com/dacr/code-examples-manager #ae40c554-2c26-46a3-bdbd-d1757ed15a56/4b526c08a285ac52dde84d245a196af694ee97b2

nc cheat sheet

client usage

echo -e "GET /\n" | nc -v 127.0.0.1 8888

server usage

sudo nc -v -l 0.0.0.0 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment