Skip to content

Instantly share code, notes, and snippets.

@gedsic
Created August 12, 2015 08:40
Show Gist options
  • Select an option

  • Save gedsic/5e92702ace5fd26f9d88 to your computer and use it in GitHub Desktop.

Select an option

Save gedsic/5e92702ace5fd26f9d88 to your computer and use it in GitHub Desktop.
Get top 1000 UDP ports from nmap records
cat /usr/share/nmap/nmap-services | grep "/udp" | sort -k3 -n -r | head -n 1000 | grep -o "[0-9]*/udp" | sed 's/\/udp//g'
@Jineeshak
Copy link

YOU ARE A HERO!!!

@gedsic
Copy link
Author

gedsic commented Jul 22, 2020

YOU ARE A HERO!!!

Thanks, I'm glad this helped :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment