Created
October 30, 2020 08:56
-
-
Save bomsi/946998ec0fb6a42a4f0f23f978a95bec to your computer and use it in GitHub Desktop.
Extract top 10 most common TCP ports from https://github.com/nmap/nmap/blob/master/nmap-services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep "\/tcp\s0" nmap-services|awk {'print $3,$2'}|sort -r|awk {'print $2'}|cut -d "/" -f 1|head -n 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment