Abhinms / Infra

0 stars 0 forks source link

Scaning multipal port with IP #21

Open Abhinms opened 2 years ago

Abhinms commented 2 years ago

You can scan port ranges by implementing a hyphen, as shown in the following example in which all ports from 80 to 89 (included) are scanned.

nc -zvn 172.67.209.252 80-89

The syntax is the same as shown previously; just add a space and the ports you want to scan, as shown in the example below in which ports 80, 22, and 53 are scanned. nc -zvn 172.67.209.252 80 22 53