Unanswered Question List.
How to scan ip range to find specfic mac address
if we do normal nmap scan
Host is up (0.00013s latency).
All 1000 scanned ports on -- (192.168.43.168) are closed
Nmap scan report for android-a80332351709 (192.168.43.205)
Host is up (0.0096s latency).
All 1000 scanned ports on android-a803232351709 (192.168.43.205) are closed
Nmap done: 256 IP addresses (3 hosts up) scanned in 4.05 seconds
what if i want to find perticular mac address in network. nmap scan does not shows any mac address entry.
You can simply use nmap -sn command to scam for a range of ip addresses which include MAC address and use grep to get the result related to the required MAC address.
here is output by using -sn
└──╼ $nmap -sn 192.168.43.*
Starting Nmap 7.91 ( https://nmap.org ) at 2021-01-17 22:21 IST
Nmap scan report for 192.168.43.1
Host is up (0.0060s latency).
Nmap scan report for parrot (192.168.43.168)
Host is up (0.00012s latency).
Nmap scan report for android-a8351709 (192.168.43.205)
Host is up (0.030s latency).
Nmap done: 256 IP addresses (3 hosts up) scanned in 2.62 seconds
it does not contain any mac
thanks for answer
sudo nmap -sP 172.31.201.0/24 | awk '/Nmap scan report for/{printf $5;}/MAC Address:/{print " => "$3;}' | sort
this command solved my probleem
cheack this link might help
use Nmap with GUI to scan and then you can filter out results.