Ping to multiple IP address with python
1 year ago
14
#Ping to multiple IP address
import os
import time
import random
txt_file = input('Please enter IP addresses list text file location\n')
ip_list = open(txt_file,"r")
time_delay = random.randrange(1,5)
for ip in ip_list:
print('Pinging Now the follwing host IP address:',ip)
print('_'*50)
os .system('ping -n 2 -w 1500 {}'.format (ip))
print('_'*50)
time.sleep(time_delay)
Loading comments...
-
LIVE
Steven Crowder
2 hours agoHunter Biden IS Above the Law & We Have the Facts to Prove It!
37,430 watching -
40:06
GEN
5 days ago $0.03 earnedInside Brazil’s Most Dangerous Slums (Police Tour)
1062 -
LIVE
LFA TV
4 hours agoNEVER ENDING LAWFARE: IS HUNTER'S CONVICTION A DECOY? | LIVE FROM AMERICA 6.12.24 11am EST
2,520 watching -
1:24:25
Graham Allen
3 hours ago🚨Russian Warships Spotted Off The Coast Of Florida + Hunter Biden Found GUILY!!!
21.9K91 -
LIVE
Matt Kohrs
9 hours agoThe GameStop Squeeze, Markets Push Higher & Breaking News || The MK Show
1,284 watching -
1:46:04
The Podcast of the Lotus Eaters
7 hours agoThe Podcast of the Lotus Eaters #935
21.5K16 -
2:04:12
AP4Liberty
3 hours agoThey Fell For Another Horny Psyop
17.2K8 -
14:48
Adam Does Movies
16 hours agoIs Star Wars DEAD To You? - Rant!
74.8K80 -
8:53
Hack
1 day agoDIY : How To Make a Fast Cooling Freezing AC: Portable Conditioner Full Tutorial - 26 ℃
21.3K14 -
56:50
The Spoken Garden Channel
22 hours ago💚 Live | Repot or Not? Signs of Unhappy Container Plants 😮
27.4K2