AKZN Notes

Archives for My Lazy and Forgetful Mind

Nmap Install & Usage

if you want to scan your network, you can use Nmap

Nmap is a powerful network exploration and security auditing tool that can be used to discover hosts and services on a computer network. Here's a tutorial on how to install and use Nmap on Linux:

Installation:

Open the terminal on your Linux system.

# Update package list
sudo apt update

# Install Nmap
sudo apt install nmap

# Check Nmap version
nmap --version

Usage:

# Scan a single host
sudo nmap <host>

# Scan a range of IP addresses
sudo nmap <starting IP address>-<ending IP address>

# Perform a TCP port scan
sudo nmap -sT <host>

# Perform a UDP port scan
sudo nmap -sU <host>

# To perform an aggressive scan, which includes operating system detection, version detection, script scanning, and traceroute
sudo nmap -A <host>

Note: Replace <host>, <starting IP address>, and <ending IP address> with the appropriate values for your use case.

Leave a Reply

Your email address will not be published.