Skip to content

Instantly share code, notes, and snippets.

@hoodoer
Created December 10, 2019 09:55
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 hoodoer/6372c47edd44d6f8b7cc3526ee6ec25a to your computer and use it in GitHub Desktop.
Save hoodoer/6372c47edd44d6f8b7cc3526ee6ec25a to your computer and use it in GitHub Desktop.
Nmap output, open port counter
cat nmapOutput.gnmap | grep -E -o '[0-9]{1,5}/open' | sort | uniq -c | sort -r | head -n 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment