nmap -v -A 192.168.1.2
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-08-09 17:54 CEST
Initiating ARP Ping Scan against 192.168.1.2 [1 port] at 17:54
The ARP Ping Scan took 0.02s to scan 1 total hosts.
DNS resolution of 1 IPs took 0.02s.
Initiating SYN Stealth Scan against 192.168.1.2 [1680 ports] at 17:54
Discovered open port 23/tcp on 192.168.1.2
Discovered open port 21/tcp on 192.168.1.2
Discovered open port 139/tcp on 192.168.1.2
The SYN Stealth Scan took 1.69s to scan 1680 total ports.
Initiating service scan against 3 services on 192.168.1.2 at 17:54
The service scan took 6.04s to scan 3 services on 1 host.
For OSScan assuming port 21 is open, 1 is closed, and neither are firewalled
Host 192.168.1.2 appears to be up ... good.
Interesting ports on 192.168.1.2:
Not shown: 1677 closed ports
PORT STATE SERVICE VERSION
21/tcp open tcpwrapped
23/tcp open telnet Linux telnetd
139/tcp open netbios-ssn Samba smbd (workgroup: 7WORKGROUP)
MAC Address: 66:DB:F7:3A:BC:D5 (Unknown)
Device type: general purpose
Running: Linux 2.4.X|2.5.X
OS details: Linux 2.4.0 - 2.5.20
Uptime 0.015 days (since Wed Aug 9 17:32:29 2006)
TCP Sequence Prediction: Class=random positive increments
Difficulty=2124364 (Good luck!)
IPID Sequence Generation: All zeros
Service Info: OS: Linux
Nmap finished: 1 IP address (1 host up) scanned in 10.170 seconds
Raw packets sent: 1696 (75.130KB) | Rcvd: 1694 (75.022KB)