Running nmap -sn 192.168.1.* is supposed to give you the hostname of the specified IP, however, in my case, it didn't seem to work for a majority of devices as this command will not return the hostname if the device does not respond to ICMP. logging into your router and looking at the list of clients)? However, is there a way to determine the name of each device (as they appear when e.g. The nmap library can also be used to get a more information about each device, like the ports they use, the OS they are running, etc. IP address: 192.168.1.5, MAC: xx:xx:xx:xx:xx:xx, Name: Google-ChromecastĪfter doing some research, I know that its fairly simple to grab the IP address-MAC address pairing through an arp scan. This week we have guest blogger Niklas Goude. It may also work with token ring and FDDI, but they have not been. LAN IP scanners let you track all devices and eliminate any suspicious elements that can be harmful for the network and database security. arp-scan works on Ethernet and 802.11 wireless networks. It can discover all hosts, including those that block all IP traffic such as firewalls and systems with ingress filters. IP address: 192.168.1.3, MAC: xx:xx:xx:xx:xx:xx, Name: Galaxy-S20 Summary: Guest blogger, Niklas Goude, discusses using Windows PowerShell to perform ping sweeps and port scans on a connected network.Microsoft Scripting Guy, Ed Wilson, is here. arp-scan can be used to discover IP hosts on the local network. Also all of the devices connected to my network are wireless devices.įor example, if I had my phone, laptop and chromecast connected to the network, the script would show the following: Currently I'm trying to write a Python script to scan through my local network, and list all of the active IP addresses, and their corresponding MAC address and device name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |