Friday, March 20, 2009

ARP scanning: Finding all used IP addresses

When you cannot ping something, like when the firewall is on, it still responsed to arp requests.

run this fromt he command prompt, just remember to change the IP addresss:

arp -d 
for /L %i in (1,1,254) do @start ping 192.168.0.%i -n 1 -l 10 -w 50 
ping 127.0.0.1 -n 5 
cls 
arp -a  
So this clears your arp cache, ping 255 address's , waits a few seconds, and then displays your arp cache. Cut and paste it all in a command prompt and your good to run. and of course change the IP address range as needed.

No comments:

Post a Comment