有时候想知道某一IP地址到底是哪台服务器, 到底是什么操作系统, 只知道IP地址, 怎么办?
#nmap -sS -O 192.168.*.*
看看我的结果
Starting Nmap 4.62 ( http://nmap.org ) at 2009-04-02 16:31 CST Interesting ports on localhost (127.0.0.1):
Not shown: 1710 closed ports
PORT STATE SERVICE
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.17 - 2.6.21
Network Distance: 0 hops
OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.655 seconds