先看一個掃描實例: Scanning host xx.xx.xx, ports 0 to 1000 Port 7 found. Desc='echo' Port 21 found. Desc='ftp' Port 23 found. Desc='telnet' Port 25 found. Desc='smtp' Port 53 found. Desc='domain/nameserver' Port 79 found. Desc='finger' Port 80 found. Desc='www' Port 90 found. Port 111 found. Desc='portmap/sunrpc' Port 512 found. Desc='biff/exec' Port 513 found. Desc='login/who' Port 514 found. Desc='shell/syslog' Port 515 found. Desc='printer' Done!
Establishing real-time userlist… (Only works if the sysadmin is a moron) ---[ Finger session ]-------------------------------------- Welcome to Linux version 2.0.30 at xx.xx.xx …
上面的這句話就已經(jīng)足夠! 如何知道系統(tǒng)中其它端口使用的是什么服務?例如23、25、80等端口。 采用同樣上面的手段,利用TELNET和本身的應用工具,F(xiàn)TP等。 使用TELNET是請將端口號作為命令行參數(shù),例如: telnet xx.xx.xx 25 就會有類似下面的信息提供給你: 220 xx.xx.xx Sendmail 5.65v3.2 (1.1.8.2/31Jan97-1019AM) Wed, 3 Jun 1998 13:50:47 +0900 這樣很清楚目標主機Sendmail的版本。當然對很多端口和不同的系統(tǒng)根本沒有用。 因此需要對應的應用工具才能獲得相應的信息。例如: Connected to xx.xx.xx.220 xx.xx.xx FTP server (Digital UNIX Version 5.60) ready. User (xx.xx.xx none)): INTERNET上大多數(shù)是WWW主機,如何知道目標主使用的是什么樣的WEB SERVER,介紹一個頁面的查詢工具,只要你告訴它目標主機的地址和WEB服務斷口,它立刻會告訴你有關信息。