Port Specification and Scan Order Nmap Network Scanning. -p (Only scan specified ports) . This option specifies which ports you want to scan and overrides the default. Individual port numbers are OK, as are ranges separated by a hyphen (e.g. 1-1023).The beginning and/or end values of a range may be omitted, causing Nmap to use 1 and 65535, respectively.
Port Specification and Scan Order Nmap Network Scanning from www.cyberpratibha.com
However, you can also find open UDP ports using Nmap. Use this Nmap command to scan UDP ports on a network: sudo nmap -sU scanme.nmap.org. Up until now, we have scanned for all open ports using Nmap. But you may also specify which ports to check using the -p option of Nmap. It makes the scan faster and less intrusive. sudo nmap -sS -p 20-80 192.
0 komentar