-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
系统检测已违规,您将被禁赛24小时 #50
Comments
https://www.bilibili.com/video/BV1JU1YYEEj8 有种简单的改法是在answer.py里
answer_data = json.dumps(answer_json, ensure_ascii=False)
print(colored("生成答案: ", 'red') + answer_data)
# 每道题暂停0.2秒, 外加`试题倍率`秒
time.sleep(answer_json["questionCnt"] * 0.2 + q_magn)
"""
提交答案部分
答案gzip压缩一下, 传给服务器
目标url = https://xyks.yuanfudao.com/leo-game-pk/android/math/pk/submit?_productId=611&platform=android32&version=3.93.2&vendor=xiao_mi&av=5&sign=2147537776d49902270b5a6b27686beb&deviceCategory=pad
"""
answer_data_base64 = base64.b64encode(answer_data.encode('utf-8')).decode('utf-8')
answer_encrypt_base64 = self.fridaLoader.get_request_encrypt(answer_data_base64)
answer_json["correctCnt"] = answer_json["questionCnt"]
answer_json["costTime"] = answer_json["questionCnt"] * 0.2 + q_magn # 增加答题用时,详见https://github.com/xmexg/xyks/issues/50
answer_json["updatedTime"] = int(time.time() * 1000) |
我自己稍微测试了一下,发现服务器貌似只添加了对答题用时的验证,不验证提交 PK 的实际时间,因此「秒提交」依然是可用的 |
已经封了的怎么办 |
等解封, 增加答题用时,减少进程数量 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
怀疑加了针对秒答/发包方案的检测,今天正准备开刷结果出现了这么个玩意
有遇到同样问题的吗?
The text was updated successfully, but these errors were encountered: