Skip to content

Instantly share code, notes, and snippets.

@zjaml
Last active June 30, 2018 08:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zjaml/398af96cb7f5047feab9b463e53c4c0d to your computer and use it in GitHub Desktop.
Save zjaml/398af96cb7f5047feab9b463e53c4c0d to your computer and use it in GitHub Desktop.
Common Command
  • Port Scan
    • Windows:
// list listened ports with process info
netstat -ano -np TCP | find "80"
  • Linux & Mac
lsof -n -i4TCP:8081 | grep LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment