How to Scan a Network with Nmap on Linux (Ubuntu)
HardReset.InfoDecember 17, 20258 min133 views
5 connectionsΒ·9 entities in this videoβInstalling and Using Nmap on Linux
- π‘ Nmap is a powerful network scanning tool for Linux, particularly useful on Ubuntu and Debian distributions.
- π To install Nmap, use the command
sudo apt install nmapin the terminal.
Basic Network Scanning Techniques
- π To find your IP address, use the command
ip a. - π― Scanning a single host is done by typing
nmapfollowed by the IP address (e.g.,nmap 10.0.2.15). - π Scanning an entire subnet is achieved using CIDR notation (e.g.,
nmap 10.0.2.0/24). - β‘ A ping scan (
nmap -sn) can discover active hosts without port scanning.
Advanced Nmap Options
- π To scan specific ports, use the
-pflag followed by the port number (e.g.,nmap -p 80 10.0.2.15). - π The
-sVflag is used to detect services and their versions running on open ports. - π» OS detection can be performed with the
sudo nmap -Ocommand to identify the operating system. - π₯ An aggressive scan (
nmap -A) enables OS detection, version detection, script scanning, and traceroute for comprehensive information. - π οΈ Installing services like Apache2 (
sudo apt install apache2) can help demonstrate scanning specific ports like HTTP (port 80).
Knowledge graph9 entities Β· 5 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
9 entities
Chapters3 moments
Key Moments
Transcript29 segments
Full Transcript
Topics13 themes
Whatβs Discussed
NmapLinuxUbuntuNetwork ScanningIP AddressSubnet ScanPing ScanPort ScanningService DetectionOS DetectionAggressive ScanTerminal CommandsDebian
Smart Objects9 Β· 5 links
ProductsΒ· 2
LocationΒ· 1
ConceptsΒ· 6