Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import urllib2
- i=0
- mylist = ['']
- while i < 1000:
- tip1 = 27
- tip2 = random.randint(70, 80)
- tip3 = random.randint(20, 30)
- tip4 = random.randint(60, 70)
- ip = str(tip1)+'.'+str(tip2)+'.'+str(tip3)+'.'+str(tip4)
- addr = 'http://'+ip+'.ipaddress.com/'
- temp = urllib2.urlopen(addr)
- data = temp.read()
- if (data.count('lags/vn.gif') > 1):
- print ip
- i = i + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement