wxappUnpacker icon indicating copy to clipboard operation
wxappUnpacker copied to clipboard

Error: Magic number is not correct!错误是为什么呢?如何解决

Open 15879246396 opened this issue 4 years ago • 4 comments

if (firstMark != 0xbe || lastMark != 0xed) throw Error("Magic number is not correct!");

15879246396 avatar Aug 17 '20 04:08 15879246396

小程序包文件格式不对

------------------ 原始邮件 ------------------ 发件人: "xuedingmiaojun/wxappUnpacker" <[email protected]>; 发送时间: 2020年8月17日(星期一) 中午12:42 收件人: "xuedingmiaojun/wxappUnpacker"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [xuedingmiaojun/wxappUnpacker] Error: Magic number is not correct!错误是为什么呢?如何解决 (#11)

if (firstMark != 0xbe || lastMark != 0xed) throw Error("Magic number is not correct!");

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

xdmjun avatar Aug 17 '20 14:08 xdmjun

你这个是加密了的,要解密,你应该是电脑微信端拿的包。

nieweiming avatar Aug 25 '20 08:08 nieweiming

你这个是加密了的,要解密,你应该是电脑微信端拿的包。

如何拿包是正确姿势?

kimwong0919 avatar Jan 04 '21 13:01 kimwong0919

我自己是自作聪明把模拟器的压缩文件,也就是.zip结尾的文件,没有解压直接重命名把最后面的 【 .zip】 直接去掉导致报错。后面如果有人也遇到了这个问题可以把文件解压出来再解析。

guo544099246 avatar Feb 27 '22 09:02 guo544099246