python replacing networkscan
by sag2662 from LinuxQuestions.org on (#6EREH)
Hi all,
I am using the networkscan to scan the networks with in the environment but the networkscan results arenot accurate as it too short to scancheck the hosts are alive. is there any way to slowdown the connections ? looking for help
Code:# Import Python library
import networkscan
# Main function
if __name__ == '__main__':
# Define the network to scan
my_network = "192.168.200.0/24"
# Create the object
my_scan = networkscan.Networkscan(my_network)
# Run the scan of hosts using pings
my_scan.run()
# Display the IP address of all the hosts found
for i in my_scan.list_of_hosts_found:
print(i)]
I am using the networkscan to scan the networks with in the environment but the networkscan results arenot accurate as it too short to scancheck the hosts are alive. is there any way to slowdown the connections ? looking for help
Code:# Import Python library
import networkscan
# Main function
if __name__ == '__main__':
# Define the network to scan
my_network = "192.168.200.0/24"
# Create the object
my_scan = networkscan.Networkscan(my_network)
# Run the scan of hosts using pings
my_scan.run()
# Display the IP address of all the hosts found
for i in my_scan.list_of_hosts_found:
print(i)]