一個簡單的端口掃描程序:
addstr = "發現端口" & Str(port) & "打開" & Space(5) Select Case port Case 7 plus = "ECHO服務" Case 21 plus = "FTP服務★★★★★" Case 25 plus = "SMTP服務★★" Case 43 plus = "Whois服務" Case 53 plus = "dns服務☆" Case 80 plus = "HTTP服務★★★★★" Case 81 plus = "HOSTS2名稱服務" Case 99 plus = "NCX99后門★★★★★" Case 110 plus = "POP3服務★★★★★" Case 111 plus = "Sun RPC服務★★" Case 135 plus = "本地服務" Case 137 plus = "NETBIOS 名稱服務/流影POP" Case 138 plus = "NETBIOS 數據存儲服務" Case 139 plus = "NETBIOS 會議服務★★★" Case 119 plus = "NNTP虛擬服務" Case 163 plus = "SNMP服務" Case 443 plus = "https服務" Case 512 plus = "遠程執行服務" Case 513 plus = "login, remote login" Case 514 plus = "cmd, exec with auto auth." Case 600 plus = "Sun IPC服務器" Case 1080 plus = "SOCKS代理服務★★★" Case 1433 plus = "SQL服務器★★★" Case 3128 plus = "HTTP代理服務" Case 7626 plus = "木馬冰河★★★★★" Case 8080 plus = "HTTP代理服務" Case Else plus = "未知服務!"
The iputils package contains ping, a basic networking tool. The ping command sends a series of ICMP protocol ECHO_REQUEST packets to as pecified network host and can tell you if that machine is alive and receiving network traffic.ipv6calc is a small utility which formats and calculates IPv6 addresses in different ways. It extends the existing address detection on IPv6 initscript setup or make life easier in adding reverse IPv6 zones to dnsor using in dns queries like nslookup -q=ANY ipv6calc -r 3ffe:400:100:f101::1/48`
Unix Unleashed, Third Edition is written with the power user and system administrator in mind. This book will help the reader understand the nuances of the major Unix variants including SVR4, HP-UX, Solaris, AIX, BSD, IRIX, SunOS, and Linux. It will help the reader decide which Unix shell works best for their particular situation. Other topics such as Kernel Configuration, Networking, User Administration, and File Management are covered extensively for the administrator who wants a variety of options to choose from for best performance. The book also provides in-depth coverage of configuring and optimizing mail, dns, HTTP and other services many companies deploy across their intranet and on the Internet