-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHT_FULL_TDS[V3].py
129 lines (125 loc) · 4.53 KB
/
HT_FULL_TDS[V3].py
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
# UPLOAD 31/12/2023
# ////////////////////////////////////// NOI DUNG CAP NHAP //////////////////////
# VISION 3.4
# ////////// CẬP NHẬP KEY MỖI MÁY 1 KEY(socket) KHÁC NHAU - TRỪ KEY VIP
# ////////// CẬP NHẬP MANG KHONG CO MANG SE THONG BAO NGUOI DUNG
import requests ,socket,base64,os,sys
try:
import requests ,socket
import pystyle
from pystyle import Colors, Colorate, Write, Center, Add, Box
import pystyle
except:
os.system("pip install requests")
os.system("pip install pystyle")
from time import strftime,sleep
from pystyle import System
do="\033[1;31m"
xanh_lam="\033[1;32m"
vang="\033[1;33m"
xn="\033[1;34m"
tim="\033[1;35m"
blue="\033[1;36m"
trang="\033[1;97m"
nenden = "\033[40m"
nendo = "\033[41m"
nenxanhla = "\033[42m"
nencam = "\033[43m"
nenxanhduong = "\033[44m"
nentim = "\033[45m"
nenxanhduongnhat = "\033[46m"
# ############################## check ip vs check
def check_mang(url):
re=requests.get(url=url)
if re.status_code !=200:
print("Vui long ket noi lai mang")
sleep(5)
print("Ket noi mang that bai :((")
exit();
else:
return
check_mang('https://google.com')
def check_ip():
ip=socket.gethostbyname(socket.gethostname())
ip_name=socket.gethostname()
return ip,ip_name;
ip,ip_name =check_ip();
ip=int(ip.replace('.',''))# thay doi cac dau cham thanh 1 so nguyen
################################ quan ly 24/h
time=int(strftime("%d%m"))
name=requests.get('https://support-jusst.000webhostapp.com/key24/key24').text
key1=int(time+ip+2024)
key24 =f'{name}{key1}2024'
##############quang cao
exec(requests.get('https://raw.githubusercontent.com/nguyenthanhtung2k4/AMDIN_JUSST/main/ADS_quang_cao').text)
System.Clear();
########################################### logo
exec(requests.get('https://github.com/nguyenthanhtung2k4/AMDIN_JUSST/raw/main/LOGO').text)
#########################key vip
name_file_key='Key_tool_Jusst.txt' ## TEN FILE CUA KEY
url = f'https://support-jusst.000webhostapp.com/key24.html?key='+key24
token_web1s = '7ff9cc84-0711-4b47-ad79-3dc34fa8308c'
web1s = requests.get(f'https://web1s.com/api?token={token_web1s}&url={url}').json()
if web1s['status']=="error":
print(web1s['message'])
quit()
else:
link_key=web1s['shortenedUrl']
###################################################################################### CODE THUAT TOAN ################################
def key_vip(key,link24):
data={'key':key}
url='https://support-jusst.000webhostapp.com/key_vip/check.php'
re=requests.post(url=url,data=data).json()
if re['status']==False:
System.Clear();
print(re['message'])
print()
sleep(1)
print(blue,'Vui long Vuot Link:',trang,link24)
key=input(xanh_lam+'Nhap_Key:')
luu=open(name_file_key,'w')
luu.write(key)
luu.close();
print(do,'Vui long chay lai:()')
quit();
else:
sleep(1)
print(re['message'])
luu=open(name_file_key,'w')
luu.write(key)
luu.close()
file_key=name_file_key
check_file_key=os.path.exists(file_key)
#file chua ton tai
if check_file_key == False:
print(blue,'Link Để Vượt Key Là: ',trang,link_key)
key=input(xanh_lam+'Nhap key:')
if key == key24:
print(vang,'Key Đúng Mời Bạn Dùng Tool')
##tao file
luu=open(file_key,'w')
luu.write(key)
luu.close()
elif key != key24:
key_vip(key,link_key);
else:
print(do,"Key Sai Vui Lòng Vượt Link Lại",trang,link_key)
quit();
#file ton tai
if check_file_key == True:
check_file_key=os.path.exists(file_key)
mo=open(file_key,'r')
doc=mo.read()
mo.close()
if doc == key24:
print(vang,'Key Đúng Mời Bạn Dùng Tool')
elif doc!=key24:
key_vip(doc,link_key);
#exec(requests.get('https://hoangsontung.000webhostapp.com/admin-tool/ADMIN_TDS[02]').text)
else:
print(do,"Key Sai Vui Lòng Vượt Link Lại",link_key)
quit();
################################################################ START TOOL#####################################################
System.Clear();
print(trang,'LOADING....')
exec(requests.get('https://github.com/nguyenthanhtung2k4/AMDIN_JUSST/raw/main/GOP_UPLOAD_TOOL%5BV3.4%5D.py').text)