-
Notifications
You must be signed in to change notification settings - Fork 8
/
Real-DNS
165 lines (152 loc) · 5.29 KB
/
Real-DNS
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#!/usr/bin/env python
from urllib2 import *
from platform import system
import sys
def clear():
if system() == 'Linux':
os.system("clear")
if system() == 'Windows':
os.system('cls')
os.system('color a')
else:
pass
def slowprint(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(4. / 100)
banner = '''
, \033[96m
|'. ,
| '-._ / )
.' .._ ', /_'-,
' / _'.'_\ /._)') \033[91m
: / '_' '_' / _.'
|E | |Q| |Q| / /
.' _\ '-' '-' /
.'--.(S ,__` ) /
'-. _.' / \033[92m
__.--'----( /
_.-' : __\ /
( __.' :' :Y
'. '._, : :| \033[96m
'. ) :.__:|
\ \______/
'._L/_H____]
======= Script Name: Scanning Sites Web =======\033[91m
======= Script By: Real Strategy ==================\033[92m
======= Real Strategy - Learning Control the world ====\033[96m
'''
print banner
def menu():
print'''
\033[91m 1 \033[92m)\033[96m DNS Lookup
\033[91m 2 \033[92m)\033[96m Whois Lookup
\033[91m 3 \033[92m)\033[96m Reverse IP Lookup
\033[91m 4 \033[92m)\033[96m GeoIP Lookup
\033[91m 5 \033[92m)\033[96m Subnet Lookup
\033[91m 6 \033[92m)\033[96m Port Scanner
\033[91m 7 \033[92m)\033[96m Extract Links
\033[91m 8 \033[92m)\033[96m Zone Transfer
\033[91m 9 \033[92m)\033[96m HTTP Header
\033[91m 10\033[92m)\033[96m Host Finder
\033[91m 11\033[92m)\033[96m About o Info!!!
\033[91m 0 \033[92m)\033[96m Exit
'''
slowprint("\033[1;91mEsto es un simple script By Real Strategy " + "\n Let's Start")
menu()
def ext():
ex = raw_input ('\033[92mContinue/Exit -=[C/E]=- -> ')
if ex[0].upper() == 'E' :
print 'Exiting!!!'
exit()
else:
clear()
print banner
menu()
select()
def select():
try:
joker = input("\033[96mEnter \033[92m0/\033[91m11 -> -> ")
if joker == 2:
dz = raw_input('\033[91mEnter IP Address : \033[91m')
whois = "http://api.hackertarget.com/whois/?q=" + dz
dev = urlopen(whois).read()
print (dev)
ext()
elif joker == 3:
dz = raw_input('\033[92mEnter IP Address : \033[92m')
revrse = "http://api.hackertarget.com/reverseiplookup/?q=" + dz
lookup = urlopen(revrse).read()
print (lookup)
ext()
elif joker == 1:
dz = raw_input('\033[96mEntre Your Domain :\033[96m')
dns = "http://api.hackertarget.com/dnslookup/?q=" + dz
joker = urlopen(dns).read()
print (joker)
ext()
elif joker == 4:
dz = raw_input('\033[91mEnter IP Address : \033[91m')
geo = "http://api.hackertarget.com/geoip/?q=" + dz
ip = urlopen(geo).read()
print (ip)
ext()
elif joker == 5:
dz = raw_input('\033[92mEnter IP Address : \033[92m')
sub = "http://api.hackertarget.com/subnetcalc/?q=" + dz
net = urlopen(sub).read()
print (net)
ext()
elif joker == 6:
dz = raw_input('\033[96mEnter IP Address : \033[96m')
port = "http://api.hackertarget.com/nmap/?q=" + dz
scan = urlopen(port).read()
print (scan)
ext()
elif joker == 7:
dz = raw_input('\033[91mEntre Your Domain :\033[91m')
get = "https://api.hackertarget.com/pagelinks/?q=" + dz
page = urlopen(get).read()
print(page)
ext()
elif joker == 8:
dz = raw_input('\033[92mEntre Your Domain :\033[92m')
zon = "http://api.hackertarget.com/zonetransfer/?q=" + dz
tran = urlopen(zon).read()
print (tran)
ext()
elif joker == 9:
dz = raw_input('\033[96mEntre Your Domain :\033[96m')
hea = "http://api.hackertarget.com/httpheaders/?q=" + dz
der = urlopen(hea).read()
print (der)
ext()
elif joker == 10:
dz = raw_input('\033[91mEntre Your Domain :\033[91m')
host = "http://api.hackertarget.com/hostsearch/?q=" + dz
finder = urlopen(host).read()
print (finder)
ext()
elif joker == 11:
slowprint("Script Name : Real Strategy-Scanning Sites Web \033[92m")
slowprint(".....................")
slowprint("Script by: Real Strategy \033[96m")
slowprint(".........................")
slowprint("website : @Real Hack RWAM \033[91m")
slowprint("............................")
slowprint("Github : http://www.github.com/ \033[92m")
slowprint(".........................................")
slowprint("YOUTUBE : https://www.youtube.com/channel/UCAIFSeW0e6jTmm8SfWQ8FBg \033[96m")
slowprint("........................................................")
slowprint("facebook Id : Real Hack RWAM \033[91m")
slowprint("..........................................................")
slowprint("MENSAJE: Nunca dejes de aprender\033[96m ")
slowprint("................................................................... ")
ext()
elif joker == 0:
print "Exiting!!"
ext()
except(KeyboardInterrupt):
print "\nCtrl + C -> Exiting!!"
select()