예제 #1
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def subnet():
    sntl =("https://api.hackertarget.com/subnetcalc/?q="+site)
    snto =html(sntl).read().decode('utf-8')
    id = open("subnet.txt","a")
    id.write(snto)
예제 #2
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def geo():
    geol =("https://api.hackertarget.com/geoip/?q="+site)
    geoo =html(geol).read().decode('utf-8')
    a =open("geolocation.txt","a")
    a.write(geoo)
예제 #3
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def mtr():
    mtrl =("https://api.hackertarget.com/mtr/?q="+site)
    mtro =html(mtrl).read().decode('utf-8')
    t = open("traceroute.txt","a")
    t.write(mtro)
예제 #4
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def ip():
    nip =("http://api.hackertarget.com/nmap/?q="+site)
    pip = html(nip).read().decode('utf-8')
    i =open("portscan.txt","a")
    i.write(pip)
예제 #5
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def sub():
    subl =("https://api.hackertarget.com/hostsearch/?q="+site)
    subo =html(subl).read().decode('utf-8')
    b = open("subdomain.txt","a")
    b.write(subo)
예제 #6
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def grab():
   gra =("https://api.hackertarget.com/httpheaders/?q="+site)
   grob =html(gra).read().decode('utf-8')
   head = open("banner.txt","a")
   head.write(grob)
예제 #7
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def ip():
    site = input("\033[32mEnter Site Name plz:")
    nip = ("http://api.hackertarget.com/nmap/?q=" + site)
    pip = html(nip).read().decode('utf-8')
    print(pip)
예제 #8
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def crwl():
    cli = input("\033[36mEnter site name plz:")
    cll = ("https://api.hackertarget.com/pagelinks/?q=" + cli)
    clo = html(cll).read().decode('utf-8')
    print(clo)
예제 #9
0
from urllib.request import urlopen as html
ip = input("Enter your Ip :-")
url = 'http://ipinfo.io/' + ip + '/geo?token=0b6776a4b59afd'  #add your token here
r = html(url).read().decode('utf-8')
print(r)
예제 #10
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def subnet():
    snti = input("\033[33mEnter site name plz:")
    sntl = ("https://api.hackertarget.com/subnetcalc/?q=" + snti)
    snto = html(sntl).read().decode('utf-8')
    print(snto)
예제 #11
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def dlook():
    dli = input("\033[34mEnter site name plz:")
    dll = ("http://api.hackertarget.com/dnslookup/?q=" + dli)
    dlo = html(dll).read().decode('utf-8')
    print(dlo)
예제 #12
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def mtr():
    mtri = input("\033[32mEnter site name plz:")
    mtrl = ("https://api.hackertarget.com/mtr/?q=" + mtri)
    mtro = html(mtrl).read().decode('utf-8')
    print(mtro)
예제 #13
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def geo():
    geoi = input("\033[31mEnter site name plz:")
    geol = ("https://api.hackertarget.com/geoip/?q=" + geoi)
    geoo = html(geol).read().decode('utf-8')
    print(geoo)
예제 #14
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def sub():
    subi = input("\033[36mEnter site name plz:")
    subl = ("https://api.hackertarget.com/hostsearch/?q=" + subi)
    subo = html(subl).read().decode('utf-8')
    print(subo)
예제 #15
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def dlook():
    dll =("http://api.hackertarget.com/dnslookup/?q="+site)
    dlo =html(dll).read().decode('utf-8')
    k =open("dnslookup.txt","a")
    k.write(dlo)
예제 #16
0
파일: dRes.py 프로젝트: 0xh7ml/dRes
from urllib.request import urlopen as html ,Request
from urllib.error import HTTPError,URLError
print('''\033[33;1m
 ___     ____ ____ ____ 
 |  \ __ |__/ |___ [__  
 |__/    |  \ |___ ___] 
\033[0m''')
print("\033[31;1m --::{ A http response status checker tool by 0xh7ml }::--")
print("\033[31;1mUsage : google.com\033[0m")
site = input("\033[36;1mEnter domain name / ip plz ~\033[0m")
try:
    tid = Request("http://www."+site)
    sie = html(tid)
    kis = sie.getcode()
except(ValueError,TypeError,HTTPError,URLError):
    pass
    print("\033[31;1mIt's 40* response or Plz check url again\033[0m")
else:
    print("\033[32;1mHttp Response status::")
    print(kis)
예제 #17
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def crwl():
    cll =("https://api.hackertarget.com/pagelinks/?q="+site)
    clo =html(cll).read().decode('utf-8')
    s = open("link.html","a")
    s.write(clo)
예제 #18
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def who():
    who =("http://api.hackertarget.com/whois/?q="+site)
    wip =html(who).read().decode('utf-8')
    d =open("whois.txt","a")
    d.write(wip)
예제 #19
0
파일: dig2.py 프로젝트: 0xh7ml/dig2
def rip():
   ri = ("https://api.hackertarget.com/reverseiplookup/?q="+site)
   p = html(ri).read().decode('utf-8')
   ata = open("reverseiplist.txt","a")
   ata.write(p)
예제 #20
0
파일: dig.py 프로젝트: 0xh7ml/digtool
def who():
    domain = input("\033[34mEnter Site Name plz:")
    who = ("http://api.hackertarget.com/whois/?q=" + domain)
    wip = html(who).read().decode('utf-8')
    print(wip)