sudo apt-get insall nmap;
y
y
administrator@ubuntu:~$ nmap -A www.fjnu.edu.cn Starting Nmap 5.00 ( http://nmap.org ) at 2011-02-24 21:37 CST Interesting ports on 10.128.1.1: Not shown: 989 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 4.3 (protocol 2.0) | ssh-hostkey: 1024 19:36:47:f5:a4:ca:28:e8:c6:6e:2a:92:44:fc:2f:d4 (DSA) |_ 2048 fd:2f:e8:f5:59:9b:85:09:1c:56:b9:c6:96:8b:6b:3c (RSA) 80/tcp open http Apache httpd 2.2.8 ((Unix) DAV/2 mod_jk/1.2.15) |_ html-title: /xE7/xA6/x8F/xE5/xBB/xBA/xE5/xB8/x88/xE8/x8C/x83/xE5/xA4/xA7/xE5/xAD/xA6 135/tcp filtered msrpc 139/tcp filtered netbios-ssn 445/tcp open netbios-ssn Samba smbd 3.X (workgroup: MYGROUP) 873/tcp open rsync (protocol version 30) 1433/tcp filtered ms-sql-s 4444/tcp filtered krb524 5440/tcp open unknown 8009/tcp open ajp13? 8080/tcp open http Apache Tomcat/Coyote JSP engine 1.1 |_ html-title: Apache Tomcat/6.0.13 - Error report 1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi : SF-Port5440-TCP:V=5.00%I=7%D=2/24%Time=4D665F35%P=i686-pc-linux-gnu%r(NULL SF:,13,"500:/x20No/x20Permission/n"); Host script results: | smb-os-discovery: Unix | LAN Manager: Samba 3.0.28a | Name: MYGROUP/Unknown |_ System time: 2011-02-24 21:38:41 UTC+8 |_ nbstat: ERROR: Name query failed: TIMEOUT Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 62.19 seconds administrator@ubuntu:~$ nmap -sS www.fjnu.edu.cn You requested a scan type which requires root privileges. QUITTING! administrator@ubuntu:~$ sudo nmap -sS www.fjnu.edu.cn [sudo] password for administrator: Starting Nmap 5.00 ( http://nmap.org ) at 2011-02-24 21:42 CST Interesting ports on 10.128.1.1: Not shown: 989 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 135/tcp filtered msrpc 139/tcp filtered netbios-ssn 445/tcp open microsoft-ds 873/tcp open rsync 1433/tcp filtered ms-sql-s 4444/tcp filtered krb524 5440/tcp open unknown 8009/tcp open ajp13 8080/tcp open http-proxy Nmap done: 1 IP address (1 host up) scanned in 1.50 seconds