Python code that can really find all devices connected the same network User name Ip address Password of the device Add all functions of Python
import os def ping_address(address): """ This function is used to ping a device with a given address. """ response = os.system("ping -c 1 " + address) #and then check the response... if response == 0: return True else: return False ping_address("192.168.1.1") ping_address("192.168.1.100") ping_address("192.168.1.101") ping_address("192.168.1.102")