????Nmap?????????????Linux??/???????????????????????????????Nmap????????????????????磬??а????裬??????????????????????????????????????????????????????????????????????
??????????????????????????????NMAP????÷?????????nmap????????????????????????У???????????????????????????????Nmap?????????????
????192.168.0.100 – server1.tecmint.com
????192.168.0.101 – server2.tecmint.com
????NMAP?????÷?
????# nmap [Scan Type(s)] [Options] {target specification}
?????????Linux?°??NMAP
???????????Linux????а汾??Red Hat??CentOS??Fedoro??Debian??Ubuntu????????????????????Yum ?? APT???ж??????Nmap??????????????????????????????????????а?????Nmap??????????????
????# yum install nmap      [on Red Hat based systems]$ sudo apt-get install nmap [on Debian based systems]
?????????????μ?nmap??ó??????????????????????????????????
????1. ??????????IP????????
????Nmap????????????????????????????????У??????server2.tecmint.com?????????????????????????п????????????MAC?????
????????????????
????[root@server1 ~]# nmap server2.tecmint.com
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 15:42 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE22/tcp   open  ssh80/tcp   open  http111/tcp  open  rpcbind957/tcp  open  unknown3306/tcp open  mysql8888/tcp open  sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.415 seconds
????You have new mail in /var/spool/mail/root
???????IP??????
????[root@server1 ~]# nmap 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-18 11:04 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE22/tcp   open  ssh80/tcp   open  http111/tcp  open  rpcbind958/tcp  open  unknown3306/tcp open  mysql8888/tcp open  sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.465 seconds
????You have new mail in /var/spool/mail/root
????2.??????“-v”???
????????????????????????“ -v “???????????????????????????
????[root@server1 ~]# nmap -v server2.tecmint.com
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 15:43 ESTInitiating ARP Ping Scan against 192.168.0.101 [1 port] at 15:43The ARP Ping Scan took 0.01s to scan 1 total hosts.
????Initiating SYN Stealth Scan against server2.tecmint.com (192.168.0.101) [1680 ports] at 15:43Discovered open port 22/tcp on 192.168.0.101Discovered open port 80/tcp on 192.168.0.101Discovered open port 8888/tcp on 192.168.0.101Discovered open port 111/tcp on 192.168.0.101Discovered open port 3306/tcp on 192.168.0.101Discovered open port 957/tcp on 192.168.0.101The SYN Stealth Scan took 0.30s to scan 1680 total ports.
????Host server2.tecmint.com (192.168.0.101) appears to be up ... good.
????Interesting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE22/tcp   open  ssh80/tcp   open  http111/tcp  open  rpcbind957/tcp  open  unknown3306/tcp open  mysql8888/tcp open  sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.485 seconds
????Raw packets sent: 1681 (73.962KB) | Rcvd: 1681 (77.322KB)
????3.?????????
??????????????Nmap??????????IP????????????????????????
????[root@server1 ~]# nmap 192.168.0.101 192.168.0.102 192.168.0.103 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 16:06 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE22/tcp   open  ssh80/tcp   open  http111/tcp  open  rpcbind957/tcp  open  unknown3306/tcp open  mysql8888/tcp open  sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 3 IP addresses (1 host up) scanned in 0.580 seconds
????4.???????????
????????????*????????????????????????Χ??IP?????
????[root@server1 ~]# nmap 192.168.0.*
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 16:11 ESTInteresting ports on server1.tecmint.com (192.168.0.100):
????Not shown: 1677 closed ports
????PORT    STATE SERVICE22/tcp  open  ssh111/tcp open  rpcbind851/tcp open  unknown
????Interesting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE22/tcp   open  ssh80/tcp   open  http111/tcp  open  rpcbind957/tcp  open  unknown3306/tcp open  mysql8888/tcp open  sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 256 IP addresses (2 hosts up) scanned in 5.550 seconds
????You have new mail in /var/spool/mail/root
???????????????????????nmap??????????????????????????е???????????????????????