Skip to content

Instantly share code, notes, and snippets.

@thehenster
Last active December 8, 2015 14:40
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 thehenster/cdee221db95e30fba31a to your computer and use it in GitHub Desktop.
Save thehenster/cdee221db95e30fba31a to your computer and use it in GitHub Desktop.
The nc in Ubuntu doesn't have the same arguments as the normal one
# in normal nc
nc -l -p 8888
# in bsd nc
nc -l 0.0.0.0 8888
# throw in a -k to keep listening to subsequent requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment