无意间盘里翻出来了当年玩CF WARP 的时候找到的刷流量的脚本
原理类似于签到 运行一次可以支持获取 1 GB 的流量
虽然这个东西TG上有24PB的激活码或者是直接工作室白嫖
但是总归有有需要的地方
代码自取 Python环境自备 Github可以白嫖ACT使用
import webbrowser
import urllib.request
import json
import datetime
import random
import string
import time
import os
import sys
os.system("title WARP Plus Traffic Acquisition")
os.system('cls' if os.name == 'nt' else 'clear')
print ("[+] ABOUT SCRIPT:")
#print ("[+] 关于此脚本:")
print ("[-] With this script, you can getting unlimited GB on Warp+.")
#print ("[-] 使用此脚本,您可以在Warp+ 上获得无限GB的流量")
print ("[-] Version: 4.0.0")
print ("----------------------------------------")
print ("[+] THIS SCRIPT CODDED BY CXAI-Stu.")
print ("----------------------------------------")
#print ("[#] 请键入WARP+ ID 信息:")
referrer = input("[#] Enter the WARP+ ID INFO:")
def genString(stringLength):
try:
letters = string.ascii_letters + string.digits
return ''.join(random.choice(letters) for i in range(stringLength))
except Exception as error:
print(error)
def digitString(stringLength):
try:
digit = string.digits
return ''.join((random.choice(digit) for i in range(stringLength)))
except Exception as error:
print(error)
url = f'https://api.cloudflareclient.com/v0a{digitString(3)}/reg'
def run():
try:
install_id = genString(22)
body = {"key": "{}=".format(genString(43)),
"install_id": install_id,
"fcm_token": "{}:APA91b{}".format(install_id, genString(134)),
"referrer": referrer,
"warp_enabled": False,
"tos": datetime.datetime.now().isoformat()[:-3] + "+02:00",
"type": "Android",
"locale": "es_ES"}
data = json.dumps(body).encode('utf8')
headers = {'Content-Type': 'application/json; charset=UTF-8',
'Host': 'api.cloudflareclient.com',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip',
'User-Agent': 'okhttp/3.12.1'
}
req = urllib.request.Request(url, data, headers)
response = urllib.request.urlopen(req)
status_code = response.getcode()
return status_code
except Exception as error:
print(error)
g = 0
b = 0
while True:
result = run()
if result == 200:
g = g + 1
os.system('cls' if os.name == 'nt' else 'clear')
print("")
print(" WARP-PLUS-CLOUDFLARE (script)" + " By CXAI-Stu.")
print("")
animation = ["[■□□□□□□□□□] 10%","[■■□□□□□□□□] 20%", "[■■■□□□□□□□] 30%", "[■■■■□□□□□□] 40%", "[■■■■■□□□□□] 50%", "[■■■■■■□□□□] 60%", "[■■■■■■■□□□] 70%", "[■■■■■■■■□□] 80%", "[■■■■■■■■■□] 90%", "[■■■■■■■■■■] 100%"]
for i in range(len(animation)):
time.sleep(0.5)
sys.stdout.write("\r[+] Preparing... " + animation[i % len(animation)])
sys.stdout.flush()
print(f"\n[-] WORK ON ID: {referrer}")
print(f"\033[0;32;40m[:)] {g} GB has been successfully added to your account.\033[0m")
print(f"\033[0;33;40m[#] Total: {g} Good {b} Bad\033[0m")
print("\033[0;36;40m[*] After 18 seconds, a new request will be sent.\033[0m")
#print("[*] 等待约18秒,发送新的流量请求")
time.sleep(18)
webbrowser.open("https://s.cxit.top")
else:
b = b + 1
os.system('cls' if os.name == 'nt' else 'clear')
print("")
print(" WARP-PLUS-CLOUDFLARE (script)" + " By CXAI-Stu.")
print("")
print("0x000IA")
print("\031[0;33;40m[:(] Error when connecting to server.\033[0m")
print(f"\033[0;33;40m[#] Total: {g} Good {b} Bad\033[0m")