Skip to content
KAGETERM

$ ./nmap-temel

First scans with nmap

Last updated: status: in effect

Which devices are up on your own network, which ports are listening? Only scan systems you own or have permission to scan.

About this topic

Tool
nmap
Level
Basic
Commands
6
Access
Free

Commands

nmap --version

Prints the version; also confirms it is installed.

nmap
network discovery and audit tool
--version
show version information

nmap localhost

Scans the 1000 most common ports on your own machine.

nmap
network discovery and audit tool
localhost
target: your own machine

nmap -sn 192.168.1.0/24

Lists the devices that are up on the network; does not scan ports.

nmap
network discovery and audit tool
-sn
host discovery only, no port scan
192.168.1.0/24
target: 192.168.1.0 through 192.168.1.255

nmap -p 22,80,443 192.168.1.10

Looks only at the ports you give.

nmap
network discovery and audit tool
-p 22,80,443
scan only these ports
192.168.1.10
target device

nmap -F scanme.nmap.org

Scans the 100 most common ports. scanme.nmap.org is the server the Nmap project lets people scan for practice.

nmap
network discovery and audit tool
-F
fast: only the 100 most common ports
scanme.nmap.org
practice server you are allowed to scan

nmap --open 192.168.1.10

Leaves closed and filtered ports out of the output.

nmap
network discovery and audit tool
--open
show only open ports
192.168.1.10
target device

Start practising

Practise the commands in your browser: learn mode explains every part, exam mode shows only the question.

Open KAGETERM All topics