-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path9.py
More file actions
140 lines (131 loc) · 6.4 KB
/
9.py
File metadata and controls
140 lines (131 loc) · 6.4 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
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
from ast import Try
from email import header
import requests
import os
import webbrowser
#colors
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
WHITE = '\033[37m'
RESET = '\033[39m'
os.system("clear")
print(f'''\033[1;36m
__ __ __ ______
/ | / | / | / |
$$ | $$ | ______ __ __ ____$$ | $$$$$$/ ______
$$ |__$$ | / \ / | / | / $$ | $$ | / \
$$ $$ | $$$$$$ |$$ | $$ |/$$$$$$$ | $$ | /$$$$$$ |
$$$$$$$$ | / $$ |$$ | $$ |$$ | $$ | $$ | $$ | $$ |
$$ | $$ |/$$$$$$$ |$$ \__$$ |$$ \__$$ | _$$ |_ $$ |__$$ |
$$ | $$ |$$ $$ |$$ $$ |$$ $$ | / $$ |$$ $$/
$$/ $$/ $$$$$$$/ $$$$$$$ | $$$$$$$/ $$$$$$/ $$$$$$$/
/ \__$$ | $$ |
$$ $$/ $$ |
$$$$$$/ $$/
\033[1;35m
____________________________________________________________
| 𝐇𝐀𝐑𝐌𝐅𝗨𝐋 𝐀𝐏𝐏𝐋𝐈𝐂𝐀𝐓𝐈𝐎𝐍𝐒 𝐅𝐎𝐑 𝐀𝐍𝐃𝐑𝐎𝐈𝐃 𝐒𝐘𝐒𝐓𝐄𝐌𝐒 𖡕 |
| 𝐓𝐎𝐎𝐋 𝐁𝐘 𝐁𝐎 𝐇𝐀𝐘𝐃𝐀𝐑 𝐄𝐋 𝐌𝐎3𝐀𝐋𝐄𝐌 𖡧😏🔥🇵🇸 |
| 𝙵𝚁𝙴𝙴 𝙿𝙰𝙻𝙴𝚂𝚃𝙸𝙽𝙴 🇵🇸🔥 ♡ |
|____________________________________________________________|
\033[0;32m
___________________________________________
|Youtube:https://youtube.com/@BO_HAYDAR_HK |
|Tele:https://t.me/txrtm |
|Tele Team:https://t.me/+EHo65POl1yA2ZjA0 |
|___________________________________________|
''')
ip=input(f'\033[31mType ip \033[36m:\033[39m ')
def ipinfo():
url=f'https://demo.ip-api.com/json/{ip}?fields=66842623&lang=en'
headers={
'Accept': '*/*',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US,en;q=0.9',
'Connection': 'keep-alive',
'Host': 'demo.ip-api.com',
'Origin': 'https://ip-api.com',
'Referer': 'https://ip-api.com/',
'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': "Windows",
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-site',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36'
}
req=requests.post(url,headers=headers)
print(f'\033[31m[+] status : \033[32m'+req.json()['status'])
print(f'\033[31m[+] continent : \033[32m'+req.json()['continent'])
print(f'\033[31m[+] continentCode : \033[32m'+req.json()['continentCode'])
print(f'\033[31m[+] country : \033[32m'+req.json()['country'])
print(f'\033[31m[+] countryCode : \033[32m'+req.json()['countryCode'])
print(f'\033[31m[+] region : \033[32m'+req.json()['region'])
print(f'\033[31m[+] regionName : \033[32m'+req.json()['regionName'])
print(f'\033[31m[+] city : \033[32m'+req.json()['city'])
print(f'\033[31m[+] district : \033[32m'+req.json()['district'])
print(f'\033[31m[+] zip : \033[32m'+req.json()['zip'])
print(f'\033[31m[+] timezone : \033[32m'+req.json()['timezone'])
print(f'\033[31m[+] currency : \033[32m'+req.json()['currency'])
print(f'\033[31m[+] isp : \033[32m'+req.json()['isp'])
print(f'\033[31m[+] as : \033[32m'+req.json()['as'])
print(f'\033[31m[+] asname : \033[32m'+req.json()['asname'])
print(f'\033[31m[+] query : \033[32m'+req.json()['query'])
print(f'\033[31m[+] lat : \033[32m'+str(req.json()['lat']))
print(f'\033[31m[+] lon : \033[32m'+str(req.json()['lon']))
print(f'\033[31m[+] offset : \033[32m'+str(req.json()['offset']))
print(f'\033[31m[+] mobile : \033[32m'+str(req.json()['mobile']))
print(f'\033[31m[+] proxy : \033[32m'+str(req.json()['proxy']))
print(f'\033[31m[+] hosting : \033[32m'+str(req.json()['hosting']))
url1=f'https://ipwhois.pro/{ip}?key=Sxd2AkU2ZL0YtkSR&security=1&lang=en'
headers1={
'Accept': '*/*',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US,en;q=0.9',
'Connection': 'keep-alive',
'Host': 'ipwhois.pro',
'Origin': 'https://ipwhois.io',
'Referer': 'https://ipwhois.io/',
'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': "Windows",
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'cross-site',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36ed-with'
}
req1=requests.get(url1,headers=headers1)
print(f'\033[31m[+] calling_code : \033[32m'+str(req1.json()['calling_code']))
print(f'\033[31m[+] img country : \033[32m'+str(req1.json()['flag']['img']))
print(f'\033[31m[+] vpn : \033[32m'+str(req1.json()['security']['vpn']))
print(f'\033[31m[+] tor : \033[32m'+str(req1.json()['security']['tor']))
print(f'\033[31m[+] anonymous : \033[32m'+str(req1.json()['security']['anonymous']))
req3=requests.get(f'https://ipapi.co/{ip}/json/')
print(f'\033[31m[+] version : \033[32m'+str(req3.json()['version']))
print(f'\033[31m[+] asn : \033[32m'+str(req3.json()['asn']))
print(f'\033[31m[+] Location : \033[32m'+str(req.json()['lat'])+','+str(req.json()['lon']))
ipinfo()
print('''
⠛⠛⣿⣿⣿⣿⣿⡷⢶⣦⣶⣶⣤⣤⣤⣀⠀⠀⠀
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
⠀⠀⠀⠉⠉⠉⠙⠻⣿⣿⠿⠿⠛⠛⠛⠻⣿⣿⣇⠀
⠀⠀⢤⣀⣀⣀⠀⠀⢸⣷⡄⠀ ⣀⣤⣴⣿⣿⣿⣆
⠀⠀⠀⠀⠹⠏⠀⠀⠀⣿⣧⠀⠹⣿⣿⣿⣿⣿⡿⣿
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠇⢀⣼⣿⣿⠛⢯⡿⡟
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠦⠴⢿⢿⣿⡿⠷⠀⣿⠀
⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣤⣤⣤⣤⣤⣶⣦⠃⠀
⠀⠀⠀⠀⠀⠀⠀⢐⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢿⣿⣿⣿⣿⠟⠁ ''')
myweb = input("This tool was by bo haydar, do you want to visit my personal website? (Y/N)")
if myweb == "y":
webbrowser.open("https://alhelfi.softr.app")
elif myweb == "n":
print("thank you for using :( ")
else:
print("i said Y or N =_=")
exit()