nmap扫描端口
传输层4层 渡口
端口范围 0-65535
0-10000常用端口
10000+不常用端口
nmap -p1-65535 制动端口扫描
[root@rstx-53 ~]# nmap 192.168.1.12 -p1-65535
Starting Nmap 6.40 ( http://nmap.org ) at 2021-03-15 14:04 CST
Nmap scan report for 118.178.142.13
Host is up (0.027s latency).
Not shown: 978 closed ports
PORT STATE SERVICE
22/tcp open ssh
42/tcp filtered nameserver