kursatkobya / libfrizz

libfrizz is a computer software project providing a lightweight library and command-line tool for transferring data
GNU General Public License v3.0
0 stars 1 forks source link

Add a filter to scan only wellknown protocols [UDP, TCP, ...] #46

Closed kursatkobya closed 2 years ago

kursatkobya commented 3 years ago

Currently port scan has availability to filter between port number range. It would be useful to scan depending on protocol type. check nmap parameters before implementing this https://techtalk.gfi.com/scanning-open-ports-in-windows-part-3-nmap/

tip : https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

AC

ozkanpakdil commented 2 years ago

https://github.com/nmap/nmap/blob/master/nmap-services https://svn.nmap.org/nmap/nmap-services better then "awk '$2~/tcp$/' /usr/share/nmap/nmap-services | sort -r -k3 | head -n 1000 | tr -s ' ' | cut -d '/' -f1 | sed 's/\S\s(\S)./\1,/'" although image

kursatkobya commented 2 years ago

https://github.com/nmap/nmap/blob/master/nmap-services https://svn.nmap.org/nmap/nmap-services better then "awk '$2~/tcp$/' /usr/share/nmap/nmap-services | sort -r -k3 | head -n 1000 | tr -s ' ' | cut -d '/' -f1 | sed 's/\S\s(\S)./\1,/'" although image

yeah, fair i will change the comment in next update.