Monday, April 07, 2014

Script: World Simplest Network Scanner (Class C)

Note: This tool requires an understanding of IPv4 networking to utilize it.
If you have a small home or business network, and need a way to find all the devices that are attached to it, then you can use a program called a "network scanner".  It will try to find all the visible devices (i.e. without a firewall blocking outside network access) on a network using various different techniques.

A simple way of mapping the visible devices on your network, that doesn't require the use of any extra tools.  Paste the following line into the command prompt:
for /l %i in (1,1,255) do @ping -n 1 192.168.1.%i | find /i "bytes="

  • You might have to modify the text in red so matches the network segment you want to scan.
  • There are more robust 3rd party network scanners available.  Check your favorite tool site to see what they may offer.
  • Another trick that can be use to find out this information check your router or DHCP server to see what devices have requested a dynamic IP address.

No comments: