Messages:


Unanswered Question List.
564

How to scan ip range to find specfic mac address

Asked by : fluxx , Date : Jan. 16, 2021, 7:45 a.m.

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.




Answers :


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.


Answered by : munna , Date : Jan. 17, 2021, 4:48 p.m.

Rep. by : fluxx

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

Rep. by : fluxx

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


Answered by : XMS , Date : June 8, 2021, 12:14 p.m.





use Nmap with GUI to scan and then you can filter out results.


Answered by : ramp_up , Date : Oct. 1, 2021, 4:23 p.m.