????17.???????????·??
????????????nmap??“–iflist”?????????????·???????
????[root@server1 ~]# nmap --iflist
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:07 EST************************INTERFACES************************DEV  (SHORT) IP/MASK          TYPE     UP MAC
????lo   (lo)    127.0.0.1/8      loopback up
????eth0 (eth0)  192.168.0.100/24 ethernet up 08:00:27:11:C7:89
????**************************ROUTES**************************DST/MASK      DEV  GATEWAY192.168.0.0/0 eth0169.254.0.0/0 eth0
????????????????????????nmap?о????????????????????????·???????
????18.??????????
???????Nmap??????????????и??????????????“-P”??????????????????????????nmap????TCP????
????[root@server1 ~]# nmap -p 80 server2.tecmint.com
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:12 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT   STATE SERVICE80/tcp open  http
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) sca
????19.???TCP???
???????????????????????????????nmap??衣
????[root@server1 ~]# nmap -p T:8888??80 server2.tecmint.com
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:15 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT     STATE SERVICE80/tcp   open  http8888/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.157 seconds
????20.???UDP???
????[root@server1 ~]# nmap -sU 53 server2.tecmint.com
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:15 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT     STATE SERVICE53/udp   open  http8888/udp 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.157 seconds
????21.????????
????????????????“-P”???????????
????[root@server1 ~]# nmap -p 80??443 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-18 10:56 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT    STATE  SERVICE80/tcp  open   http443/tcp closed https
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.190 seconds
????22.????????Χ?????
??????????????????????????Χ??????
????[root@server1 ~]#  nmap -p 80-160 192.168.0.101
????23.????????????汾??
????[root@server1 ~]# nmap -sV 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:48 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE SERVICE VERSION22/tcp   open  ssh     OpenSSH 4.3 (protocol 2.0)80/tcp   open  http    Apache httpd 2.2.3 ((CentOS))111/tcp  open  rpcbind  2 (rpc #100000)957/tcp  open  status   1 (rpc #100024)3306/tcp open  mysql   MySQL (unauthorized)8888/tcp open  http    lighttpd 1.4.32MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 12.624 seconds
????24.???TCP ACK (PA)??TCP Syn (PS)??????????
???????????????????????????ICMP ping??????????????£???????????TCP ACK??TCP Syn??????????????????
????[root@server1 ~]# nmap -PS 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 17:51 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.360 seconds
????You have new mail in /var/spool/mail/root
????25.???TCP ACK???????????????????
????[root@server1 ~]# nmap -PA -p 22??80 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 18:02 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT   STATE SERVICE22/tcp open  ssh80/tcp open  http
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.166 seconds
????You have new mail in /var/spool/mail/root
????26. ???TCP Syn???????????????????
????[root@server1 ~]# nmap -PS -p 22??80 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 18:08 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????PORT   STATE SERVICE22/tcp open  ssh80/tcp open  http
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 0.165 seconds
????You have new mail in /var/spool/mail/root
????27.?????????ε????
????[root@server1 ~]# nmap -sS 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 18:10 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.383 seconds
????You have new mail in /var/spool/mail/root
????28.???TCP Syn??賣?????
????[root@server1 ~]# nmap -sT 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 18:12 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.406 seconds
????You have new mail in /var/spool/mail/root
????29.???TCP???????????????
????[root@server1 ~]# nmap -sN 192.168.0.101
????Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-11-11 19:01 ESTInteresting ports on server2.tecmint.com (192.168.0.101):
????Not shown: 1674 closed ports
????PORT     STATE         SERVICE22/tcp   open|filtered ssh80/tcp   open|filtered http111/tcp  open|filtered rpcbind957/tcp  open|filtered unknown3306/tcp open|filtered mysql8888/tcp open|filtered sun-answerbook
????MAC Address: 08:00:27:D9:8E:D7 (Cadmus Computer Systems)
????Nmap finished: 1 IP address (1 host up) scanned in 1.584 seconds
????You have new mail in /var/spool/mail/root