Nmap usage options

Nmap usage options

Posted By: pmietlicki

Published to Linux on Apr 28, 2017

Most basic :

nmap ipaddress
To scan TCP ports : -sT
nmap -sT 192.168.0.5
In case of ping blocking, option without ping : -P0
nmap -sT -PO 192.168.0.5
To try to guess the type of OS : -O
nmap -O 192.168.0.5
OS details: Linux 2.1.19 – 2.2.25

Uptime 112.835 days (since Mon Mar 13 18:20:40 2006)

Thorough scan with software version : -sV

nmap -sV -sT 192.168.0.5
Starting Nmap 4.01 ( http://www.insecure.org/nmap ) at 2006-07-04 14:10 Malay Pe

ninsula Standard Time
Interesting ports on 192.168.0.5:
(The 1660 ports scanned but not shown below are in state: filtered)
PORT STATE SERVICE VERSION
21/tcp open ftp WU-FTPD wu-2.6.0
23/tcp open telnet Linux telnetd
79/tcp open finger Linux fingerd
98/tcp open linuxconf Linuxconf (Access denied)
111/tcp open rpcbind 2 (rpc #100000)
113/tcp open ident OpenBSD identd
513/tcp open login?
514/tcp open tcpwrapped
938/tcp open status 1 (rpc #100024)
1024/tcp open tcpwrapped
4000/tcp open remoteanything?
5000/tcp open UPnP?

Tags: Nmap, system, TCP

Archive