1. Ping sweep
-sn is a host-discovery ping sweep: it finds which hosts in the authorized range are alive without scanning ports.
nmap -sn 10.0.0.0/24Typorithm · medium
Step 1 of 8 · intro card
Network Security
With written authorization, nmap maps a network: -sn pings hosts to find what is live, -sS runs a stealth SYN port scan, -sV detects service versions, -O fingerprints the OS, and --script vuln probes known weaknesses. This is the reconnaissance phase of an approved assessment — and exactly what defenders watch for.
Reconnaissance is the first phase of any authorized security assessment. With explicit, written permission to test, nmap discovers which hosts are alive, which ports are open, and which services answer.
-sn is a ping sweep that only finds live hosts. -sS is a stealth SYN scan that maps open ports without completing the TCP handshake. -sV detects each service's version and -O fingerprints the operating system, building a picture of the attack surface.
--script vuln runs Nmap Scripting Engine checks for known vulnerabilities. Run only against systems in your authorized scope — and remember defenders see these scans, so unexpected probes are a red flag in their monitoring.
-sn = ping sweep for live-host discovery.
-sS stealth SYN scan; -sV service versions; -O OS.
Scan only systems you are explicitly authorized to test.
nmap -sn 10.0.0.0/24
nmap -sS -p 1-1000 target
nmap -sV -O target
nmap --script vuln targetConnect each part of the code to the concept before you type.
-sn is a host-discovery ping sweep: it finds which hosts in the authorized range are alive without scanning ports.
nmap -sn 10.0.0.0/24-sS is a stealth SYN scan; -p 1-1000 limits it to the first 1000 ports to map what is open.
nmap -sS -p 1-1000 target-sV detects the version of each service and -O fingerprints the operating system.
nmap -sV -O target--script vuln runs NSE scripts that probe known vulnerabilities — only against systems you are authorized to test.
nmap --script vuln targetRead the concept map and follow the code breakdown.
Type the implementation, repair mistakes and work through every recall exercise.
Use the final check without hints; revisit weak concepts in short practice sessions.