1+ #Author: chainski
2+ #Github: https://github.com/chainski
3+
4+ import os
5+ import requests ,json
6+ import os .path
7+ from colorama import Fore
8+ os .system ('mode con: cols=160 lines=40' )
9+
10+
11+ test_url = r'https://www.youtube.com/channel/UCR55c-mtcH86O-QvOQC_oFg?sub_confirmation=1'
12+
13+ with open ('Subscribe.url' ,'w' ) as f :
14+ f .write (f"""[InternetShortcut]
15+ URL={ test_url }
16+ """ )
17+
18+
19+ banner = '''
20+ ██████╗ ██████╗ ███╗ ███╗ █████╗ ██╗███╗ ██╗ ███████╗ ██████╗██████╗ █████╗ ██████╗ ███████╗██████╗
21+ ██╔══██╗██╔═══██╗████╗ ████║██╔══██╗██║████╗ ██║ ██╔════╝██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗
22+ ██║ ██║██║ ██║██╔████╔██║███████║██║██╔██╗ ██║ ███████╗██║ ██████╔╝███████║██████╔╝█████╗ ██████╔╝
23+ ██║ ██║██║ ██║██║╚██╔╝██║██╔══██║██║██║╚██╗██║ ╚════██║██║ ██╔══██╗██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗
24+ ██████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ██║██║██║ ╚████║ ███████║╚██████╗██║ ██║██║ ██║██║ ███████╗██║ ██║
25+ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝
26+ '''
27+
28+ info = '''
29+ ╔════════════════════════════════╗
30+ ║ DOMAIN SCRAPER V1.0 ║
31+ ║ coded by chainski ║
32+ ║ For Educational Purposes Only ║
33+ ║ Join : https://t.me/chinotech ║
34+ ╚════════════════════════════════╝
35+ '''
36+
37+
38+
39+ print (Fore .CYAN + banner )
40+ print (Fore .LIGHTGREEN_EX + info )
41+
42+ def main ():
43+
44+ choice = '0'
45+ while choice == '0' :
46+ print (Fore .RESET + " API URL:hackertarget.com" )
47+ choice = input (Fore .LIGHTGREEN_EX + "\n \n [+] Press 1 To Start: " )
48+ if choice == "1" :
49+ Hackertarget ()
50+ else :
51+ print ("I don't understand your choice." )
52+
53+
54+ def Hackertarget ():
55+ os .system ("cls" )
56+ print ("""
57+ ╦ ╦╔═╗╔═╗╦╔═╔═╗╦═╗╔╦╗╔═╗╦═╗╔═╗╔═╗╔╦╗
58+ ╠═╣╠═╣║ ╠╩╗║╣ ╠╦╝ ║ ╠═╣╠╦╝║ ╦║╣ ║
59+ ╩ ╩╩ ╩╚═╝╩ ╩╚═╝╩╚═ ╩ ╩ ╩╩╚═╚═╝╚═╝ ╩
60+ """ )
61+ session = requests .session ()
62+ inip = input ('Enter URL or IP: ' )
63+ print ("\n =========== Output ===============" )
64+ api = "http://api.hackertarget.com/reverseiplookup/?q="
65+ apipun = api + inip
66+ output = session .get (apipun ).text
67+ print (output )
68+ file = input ("Save output to txt? [Y/n]" ).lower ()
69+ if file == 'y' :
70+ fila = input ("\n Filename: " )
71+ filename = fila + ".txt"
72+ file1 = open (filename , "w" )
73+ file1 .write (str (output ))
74+ else :
75+ print ("\n Thank for using my tool !" )
76+
77+
78+ main ()
0 commit comments