-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathviewdns.py
More file actions
60 lines (50 loc) · 2.22 KB
/
viewdns.py
File metadata and controls
60 lines (50 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import os
import re
from multiprocessing.dummy import Pool as ThreadPool
import requests
from http_request_randomizer.requests.proxy.requestProxy import RequestProxy
red = '\033[91m'
green = '\033[92m'
white = '\033[00m'
req_proxy = RequestProxy()
os.system('cls' if os.name == 'nt' else 'clear')
logo = '''
______ ___________ _ _
| ___ \ |_ _| ___ \ | | | |
| |_/ /_____ _____ _ __ ___ ___ | | | |_/ / | | ___ ___ | | ___ _ _ __
| // _ \ \ / / _ \ '__/ __|/ _ \ | | | __/ | | / _ \ / _ \| |/ / | | | '_ \
| |\ \ __/\ V / __/ | \__ \ __/ _| |_| | | |___| (_) | (_) | <| |_| | |_) |
\_| \_\___| \_/ \___|_| |___/\___| \___/\_| \_____/\___/ \___/|_|\_\\__,_| .__/
| |
Mister Spy Tool View Dns Unlimited
'''
print red + logo + white
def taz(i):
try:
i = i.replace('\n', '').replace('\r', '')
api = 'https://viewdns.info/reverseip/?host=' + i + '&t=1'
while True:
request = req_proxy.generate_proxied_request(api)
if '.com' in request.text:
mrspy = re.findall('</tr><tr> <td>(.*?)</td><td align="center">', request.text)
for i in mrspy:
if i.startswith("http//"):
print 'http://'+i
open('Grabbed.txt', "a").write('http://'+i + "\n")
elif i.startswith("https//"):
print 'http://'+i
open('Grabbed.txt', "a").write('http://'+i + "\n")
else:
print 'http://'+i
open('Grabbed.txt', "a").write('http://'+i + "\n")
break
except:
pass
print 'Maybe Your Internet Too Bad Or Not Working Contact Mr Spy'
ListPass = open(raw_input("Ips List .txt:"), 'r').readlines()
pool = ThreadPool(100)
pool.map(taz, ListPass)
pool.close()
pool.join()
if __name__ == '__main__':
print("Finished, success , Thank you for using Mr Spy Tool --> Grabbed.txt")