Header info:
firstMark: 0x8
unknownInfo: 1896035559
infoListLength: 820413577
dataLength: 1552518864
lastMark: 0x54
/wxappUnpacker-main/wuWxapkg.js:21
if (firstMark != 0xbe || lastMark != 0xed) throw Error("Magic number is not correct!");
^
Error: Magic number is not correct!
at header (Downloads/wxappUnpacker-main/wuWxapkg.js:21:54)
at Downloads/wxappUnpacker-main/wuWxapkg.js:186:44
at Downloads/wxappUnpacker-main/wuLib.js:95:14
at agent (/Downloads/wxappUnpacker-main/wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
File list info:
fileCount: 227
Saving files...
Unpack done.
Split app-service.js and make up configs & wxss & wxml & wxs...
deal config ok
deal js ok
deal wxss.js ok
deal css ok
C:\Pyhton37\PythonEDU\wxappUnpacker-main\wuConfig.js:49
for (let page of subPackage.pages) {
^
TypeError: subPackage.pages is not iterable
at C:\Pyhton37\PythonEDU\wxappUnpacker-main\wuConfig.js:49:45
at C:\Pyhton37\PythonEDU\wxappUnpacker-main\wuLib.js:95:14
at agent (C:\Pyhton37\PythonEDU\wxappUnpacker-main\wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
解包时报一下错误:
/Users/chenzongyong/wxappUnpacker-main/node_modules/vm2/lib/vm.js:290
throw bridge.from(e);
^
ReferenceError [Error]: __g is not defined
at vm.js:108:3
at Script.runInContext (node:vm:135:12)
at VM.runScript (/Users/chenzongyong/wxappUnpacker-main/node_modules/vm2/lib/vm.js:288:18)
at VM.run (/Users/chenzongyong/wxappUnpacker-main/node_modules/vm2/lib/vm.js:508:16)
at /Users/chenzongyong/wxappUnpacker-main/wuJs.js:48:12
at /Users/chenzongyong/wxappUnpacker-main/wuLib.js:95:14
at agent (/Users/chenzongyong/wxappUnpacker-main/wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
SyntaxError: Unexpected token '}'
at makeNiceSyntaxError (F:\wxappUnpacker-threecha\node_modules\vm2\lib\transformer.js:41:16)
at transformer (F:\wxappUnpacker-threecha\node_modules\vm2\lib\transformer.js:84:8)
at VM.run (F:\wxappUnpacker-threecha\node_modules\vm2\lib\vm.js:496:16)
at F:\wxappUnpacker-threecha\wuWxml.js:397:16
at F:\wxappUnpacker-threecha\wuRestoreZ.js:280:27
at catchZ (F:\wxappUnpacker-threecha\wuRestoreZ.js:32:5)
at getZ (F:\wxappUnpacker-threecha\wuRestoreZ.js:280:9)
at F:\wxappUnpacker-threecha\wuWxml.js:380:9
at F:\wxappUnpacker-threecha\wuLib.js:95:14
at agent (F:\wxappUnpacker-threecha\wuLib.js:64:23)