Real DNS
Real DNS
/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
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()