❑ Nmap(Network Mapper) is network scanner that scans the information of hosts.
❑ Feature
❍ It can check live hosts and opened ports.
❍ It can check hosts' information such as OS, MAC, computer name etc.
❑ How to install : $ sudo apt-get install nmap(Ubuntu) or download(nmap.org).
❑ How to use : Refer below examples based on the nmap manual.
Example | Description |
nmap -A 192.168.0.1 | Check the general information of 192.168.0.1 which can be checked by network such as OS, MAC, well kown port, trace route etc. |
nmap -sn 192.168.0.1/24 nmap -sn 192.168.0.1-254 | Check live hosts on the 192.168.0.0/24 network. |
nmap -sS 192.168.0.1 -p 0-3000 | Check the status of 192.168.0.1's TCP 0-3000 ports.
* How to specify individual ports : -p 22,23,53,80,443,445
* Scan type : -sS(SYN), -sF(FIN), -sX(Xmas), -sN(Null), -sU(UDP), -sA(ACK), -sW(Window), -sR(RPC), -b(FTP Bounce), -sI(Idle), -sY(SCTP init), -sW(TCP window) , -sM(TCP Maimon), -sZ(SCTP cookie echo), -s0(IP protocol), -b(FTP bounce)
|
nmap -Pn -vv -sS 192.168.0.1 -p 0-3000 | Perform port scanning by applying the the verbose output(-vv) without ICMP scan(-Pn). |