nmap port scanning port scanner
SSR Conductor:
firewalld on conductor and router
install nmap | |
---|---|
centos | yum install nmap |
RPM install | rpm -vhU https://nmap.org/dist/nmap-7.92-1.x86_64.rpm |
Ubuntu | apt update apt install nmap |
usage | |
nmap vagrant@contrib-jessie:~$ nmap localhost Starting Nmap 6.47 ( http://nmap.org ) at 2017-05-24 15:44 GMT Nmap scan report for localhost (127.0.0.1) Host is up (0.00018s latency). Other addresses for localhost (not scanned): 127.0.0.1 Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 8080/tcp open http-proxy Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds | |
list of port | nmap -p 22,80,443,1280,830,930 -T4 192.168.0.204 |
UDP port | -p U:53,111,137,T:21-25,80,139,8080 |
port range 1-1024 22-45006 | [root@node1 ~]# nmap 172.20.8.17 -p 22-45006 Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-09 18:15 UTC Nmap scan report for 172.20.8.17 Host is up (0.000012s latency). Not shown: 44979 closed tcp ports (reset) PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https 930/tcp open unknown 4505/tcp open unknown 4506/tcp open unknown |
GUI | zenmap https://nmap.org/zenmap/ |