Zirconium233 / yunForNewVerison

合肥工业大学云运动3.3.1版本自动跑步脚本,也可以针对接口一致的其他校区,主要解决加密问题,提供一些小工具和教程。
54 stars 12 forks source link

求助 #11

Closed thersir closed 5 months ago

thersir commented 5 months ago

大佬,我用工具解密时有问题,是用response body和cipherkey吗 image c710c2c77f40f8d509a42bbf83d731d8 55dd1d4ebb23392eed6f5cbe15681719

Zirconium233 commented 5 months ago

盲猜data填的不完整,因为太长剪切板截断了,或者不小心把引号打进去了这样,也可以试试看把gzip关掉,看看结尾和开头能不能对应上。如果还不行试试看去网页上解,验证一下是不是我工具的问题。

thersir commented 5 months ago

data没问题,网页上解密还不是很懂,用的是config.ini里自带的公钥私钥吗 image

Zirconium233 commented 5 months ago

是的,但你网页提示的是invalid cipher text,也就是你下面的CipherKey不对(大概率是base64编码错误,不太可能是解密错误),解密不出来。你检查一下是不是少了字符什么的,或者直接重新抓一次换一个看看能不能解密。

thersir commented 5 months ago

大佬您好,我没有学过python,出现这个报错要怎么解决 image

Zirconium233 commented 5 months ago

你有可能是版本不对,或者是开始时候选的选项不对。打表模式没有生成manageList因为不需要,使用表格的https://github.com/Zirconium233/yunForNewVerison/blob/7e0634cb0b11792fb65beedea3b349d543dd05fb/main.py#L440 但是你的使用的却是 self.manageList https://github.com/Zirconium233/yunForNewVerison/blob/7e0634cb0b11792fb65beedea3b349d543dd05fb/main.py#L490 检查上面这行是不是改动了

thersir commented 5 months ago

谢谢大佬 改回来之后就好了