mercredi 7 janvier 2015

Is there a nmap command to get the top # most common ports?




Say you're curious or doing port-hardening, you'd be curious what those most common ports are. Short of opening the file & sorting, is there a command to show those ports? Another way that MAY please the desire is a command to show all ports scanned regardless of state (closed/filterd/etc)


Homework I did: did some googling & searching on this site. Quickly read over the nmap documentation. Tried scanning ports & it seems to start grouping (Not shown: 991 closed ports) around 29/30. Found the page below (not enough rep to post links) that seems to elude there was a function (probably in the nmap source) for gettoppts/getpts, then advises of a database sorted_services (maybe that's a file in the nmap directory)


http://ift.tt/1tJWlmD





Aucun commentaire:

Enregistrer un commentaire