import threading,base64 import os,time,re,json,random from datetime import datetime, date from time import sleep,strftime import requests import os, sys, hashlib import webbrowser import random session = requests.Session() import socket try: from faker import Faker from requests import session from colorama import Fore, Style import requests, random, re from random import randint import requests,pystyle except: os.system("pip install faker") os.system("pip install requests") os.system("pip install colorama") os.system('pip install requests && pip install bs4 && pip install pystyle') print('__Vui Lòng Chạy Lại Tool__') from pystyle import Add, Center, Anime, Colors, Colorate, Write, System #----------------MÀU------------# def clear(): os.system("cls" if os.name == "nt" else "clear") den='' luc='' trang='' red='' vang='' tim='' lamd='' lam='' purple='\e[35m' hong='' #--------------------BẢN QUYỀN-------------# thanh_xau=trang+'~'+red+'['+vang+'⟨⟩'+red+'] '+trang+'➩ '+luc thanh_dep=trang+'~'+red+'['+luc+'✓'+red+'] '+trang+'➩ '+luc #----------------LOGO-------------# def get_ip_from_url(url): response = requests.get(url) ip_address = socket.gethostbyname(response.text.strip()) return ip_address url = "http://kiemtraip.com/raw.php" ip = get_ip_from_url(url) def phucdz(so): a='────'*so for i in range(len(a)): sys.stdout.write(a[i]) sys.stdout.flush() sleep(0.003) print() def banner(): print('',end='') clear() a=Colorate.Horizontal(Colors.yellow_to_red,banners) for i in range(len(a)): sys.stdout.write(a[i]) sys.stdout.flush() print() print(thongtin) def is_connected(): try: import socket socket.create_connection(('1.1.1.1',53)) return True except OSError: pass return False headers={'user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36'} banners=f""" ██████╗ ████████╗ ██████╗ ██████╗ ██╗ ██╔══██╗ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██████╔╝█████╗██║ ██║ ██║██║ ██║██║ ██╔═══╝ ╚════╝██║ ██║ ██║██║ ██║██║ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ """ thongtin=f""" \033[1;37mCopyright © P-Tool 2023 | Version 3.2\n\033[1;31m────────────────────────────────────────────────────────\n\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]\033[1;37m ➩\033[1;35m Admin: \033[1;36mLê Hoàng Phúc \n\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]\033[1;37m ➩\033[1;36m Zalo: \033[1;31m0336321753\n\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]\033[1;37m ➩\033[1;32m Box Zalo: \033[1;37mNULL\n\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]\033[1;37m ➩\033[1;33m YouTube: \033[1;37mhttps://youtube.com/@lehoangphucreg\n\033[1;37m~\033[1;31m[\033[1;32m●\033[1;31m]\033[1;37m ➩ {Colorate.Horizontal(Colors.yellow_to_red, 'Mua Key Tại: ')}{Colorate.Horizontal(Colors.white_to_red, 'https://card1s.store.shopclonegiare.com/ ')}\n\033[1;31m────────────────────────────────────────────────────────\033[0m""" banner() now = datetime.now() thu = now.strftime("%A") ngay_hom_nay = now.strftime("%d") thang_nay = now.strftime("%m") nam_ = now.strftime("%Y") a=now.strftime("%d") h=int(now.strftime("%d")) ngay_trc=h-2 b=now.strftime("%m") day=now.strftime("%d-%m-%Y") today=now.strftime("%d-%m-%Y") d=now.strftime("%d-%m") ngay=int(strftime('%d')) #encodedBytes = base64.b64encode(d.encode("utf-8")) #key = str(encodedBytes, "utf-8") key1=str(ngay*199872767+168299) key='free'+key1 #long_url=(f"https://keyvip24h.net/giaodien/key.php?key={key}") long_url=(f"https://profile-le-hoang-phuc.neocities.org/lehoangphuc/key.html?key={key}") api_token='95bf10e32d1c212e9acd13ef135ffaa5520d2ebb' url=requests.get(f'https://octolinkz.com/api?api={api_token}&url={long_url}').json() status=url['status'] link=url['shortenedUrl'] #lấy key file_key=f'key_ngay{ngay_hom_nay}.txt' file_key_cu=f'key_ngay{ngay_trc}.txt' check_file_key=os.path.exists(file_key) if check_file_key == False: print(f"{thanh_xau}{luc}Đây Là Tool Free Nên Key Sẽ Thay Đổi Mỗi Ngày !!") print(f'{thanh_xau}{luc}Truy Cập Vào Link{trang}: {link} {luc}Để Lấy Key Miễn Phí') print(f'{trang}-----------------------------------------------------------------') while(True): ma=input(f"{thanh_xau}{luc}Nhập API Key\033[1;32m Ngày \033[1;37m{today}: \033[1;33m") if ma == key: print(f'{thanh_xau}{luc}API Key Chính Xác') luu=open(file_key, 'a+') luu.write(ma) luu.close() break elif ma != key: print(f'{thanh_xau}{do}API Key Sai') elif check_file_key == True: print(f'{thanh_xau}{luc}Đang Lấy Key...',end='\r') sleep(1) k=open(file_key, 'r') ma=k.read() k.close() if ma == key: print(f'{thanh_xau}{luc}Lấy Key Thành Công ',end='\r') sleep(0.5) elif ma != key: if os.path.exists(file_key_cũ) == True: os.system(f'rm {file_key_cũ}') os.system(f'rm {file_key}') print(f'{thanh_xau}{do}API Key Sai ') while(True): ma=input(f"{thanh_xau}{luc}Nhập API Key\033[1;32m Ngày \033[1;37m{today}: \033[1;33m") if ma == key: print(f'{thanh_xau}{luc}API Key Chính Xác') luu=open(file_key, 'a+') luu.write(ma) luu.close() break elif ma != key: print(f'{thanh_xau}{do}API Key Sai ') print(f'{thanh_xau}{luc}Nhập {hong}[{vang}1{red}] {luc}Để Vào Key Free') print(f'{thanh_xau}{luc}Nhập {hong}[{vang}2{red}] {luc}Để Vào Key Phí') phucdz(14) chon = int(input('\033[1;31m[\033[1;37m=.=\033[1;31m] \033[1;37m=> \033[1;32mNhập Số \033[1;37m: \033[1;33m')) #api if chon == 1 : exec(requests.get('https://run.mocky.io/v3/82565e4d-6536-4148-a630-e70241a0cadd').text) if chon == 2 : exec(requests.get('https://run.mocky.io/v3/0a6d5897-1913-44a3-af87-01ee1584015e').text)