fix(lanzou): handle acw_sc__v2 anti-crawler challenge on all requests (#9548) The acw_sc__v2 challenge can be served on any pan.lanzoui.com request (share page, iframe page, ajaxm.php), but it was only handled for the first share page. This caused intermittent failures: “uid variable not find” when mydisk.php returned the challenge on init “not find data” when the iframe download page returned the challenge empty “failed get link” when ajaxm.php POST returned the challenge (the challenge HTML was parsed as JSON, zt=0 -> empty info) Also fix HexXor, which was broken since the driver was introduced and made every challenge unsolvable: bytes.NewBuffer(make([]byte, len(hex1))) prefixed the result with len(hex1) null bytes missing zero-padding produced a single hex char when xor result < 0x10, misaligning the whole string Move the challenge solve/retry loop down into request() so every GET/POST transparently handles it, and simplify getHtml accordingly.
fix(lanzou): handle acw_sc__v2 anti-crawler challenge on all requests (#9548)
The acw_sc__v2 challenge can be served on any pan.lanzoui.com request (share page, iframe page, ajaxm.php), but it was only handled for the first share page. This caused intermittent failures:
Also fix HexXor, which was broken since the driver was introduced and made every challenge unsolvable:
Move the challenge solve/retry loop down into request() so every GET/POST transparently handles it, and simplify getHtml accordingly.
🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs。
English | 中文 | 日本語 | Contributing | CODE_OF_CONDUCT
README.md
https://alistgo.com/zh/
https://alist-public.apifox.cn/
https://al.nn.ci
一般问题请到讨论论坛 ,issue仅针对错误报告和功能请求。
AList 是一个开源软件,如果你碰巧喜欢这个项目,并希望我继续下去,请考虑赞助我或提供一个单一的捐款!感谢所有的爱和支持:https://alistgo.com/zh/guide/sponsor.html
Thanks goes to these wonderful people:
AList 是在 AGPL-3.0 许可下许可的开源软件。
AList
@博客 · @GitHub · @Telegram群 · @Discord
a mirror of alist.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs。
English | 中文 | 日本語 | Contributing | CODE_OF_CONDUCT
功能
README.md预览渲染文档
https://alistgo.com/zh/
API 文档(通过 Apifox 提供)
https://alist-public.apifox.cn/
Demo
https://al.nn.ci
讨论
一般问题请到讨论论坛 ,issue仅针对错误报告和功能请求。
赞助
AList 是一个开源软件,如果你碰巧喜欢这个项目,并希望我继续下去,请考虑赞助我或提供一个单一的捐款!感谢所有的爱和支持:https://alistgo.com/zh/guide/sponsor.html
特别赞助
贡献者
Thanks goes to these wonderful people:
许可
AList是在 AGPL-3.0 许可下许可的开源软件。免责声明