del
wxappunpacker's Introduction
wxappunpacker's People
Forkers
wxy2077 guangtougit als2014 tomtam ttfaye ke-nan ywxzm xixi39 hs912 kolf wangfujia guos 2667198085 python6460 winddu zhujunxin521 flyfoxci fengchao8627 minorboy shoryon kernelbk er3c redcath cherishs001 thmail gumpsj raochuan lihaijett frewen dot365 blue03 liaonian oberdex zeronebit ttfcfc qiygan 2033723741 winjune eoaud1987 daocalendar binge1993 vebin jl621 cnguu 40740 56get wuweok zhongyuehui yanggang12345 yuuteng zhongliuze lzh06 naoh2o aphy358 realrogerchou justausera kevenshijian 0x24bin wang0098 yhforever4 xiaojigugu zhenninglang mrchens congwiny cd0304 wydhcws last0monster alienwarehe oneplusdash songhongliang zhuyl369 bo1839 mxl314 sunfengqi8023 erekook peaceflash xiaoyongv5 booksir yrhgame imklever jtaosj johnhubcr anjinde yashika liuxingke mooncn updata7 light8771 cnbjx wojiaohuhu oliverlopez sitoto aiguangyuan hisygg bluesheet maydayv zhaobao vobear titer18 geekyongwxappunpacker's Issues
SyntaxError: Unexpected token '}'
还原后wxss没有import部分,被import的wxss文件是空白的
发表 Issue 前请仔细阅读以下内容:
- 如果你是要反馈 bug, 请按以下
模板
书写 Issue; - 如果你遇到的是 Node.js 使用问题, 请尽可能依赖搜索引擎解决问题;
- 遇到包依赖问题,请联系对应项目;
- 任何对某类小程序包的适配问题都应提供 wxapkg 程序包,否则直接 Close 处理;
- 提交前请确认 wxapkg 程序包版本不小于 v0.6vv_20180111_fbi (直接用文本编辑器打开 wxapkg包搜索 v0.6vv 或 v0.5vv 即可查到,注意版本大小主要比较的是日期), 旧版本不提供支持, 相关 Issue 直接 Close 处理;
- 直接分包和直接处理含插件的包两个功能暂不支持, 请勿重复发表 Issue, 新样例可在已存在的 Issue 下提出;
- 请不要在其他 Issue 下发表与该 Issue 无关的回复, 否则将有可能被删除。
模板内容如下:
程序执行命令(可选):
程序执行错误信息(如果反馈是抛出异常的错误,必填):
复制到这里
程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
其他附加内容:
有新包吗 发来看看
111111
同样问题
/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/node_modules/vm2/lib/transformer.js:86
throw e;
^
vm.js:47
}
^
SyntaxError: Unexpected token '}'
at makeNiceSyntaxError (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/node_modules/vm2/lib/transformer.js:41:16)
at transformer (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/node_modules/vm2/lib/transformer.js:84:8)
at VM.run (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/node_modules/vm2/lib/vm.js:497:16)
at /Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuWxml.js:399:16
at /Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuRestoreZ.js:280:21
at catchZGroup (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuRestoreZ.js:16:2)
at catchZ (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuRestoreZ.js:21:33)
at getZ (/Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuRestoreZ.js:280:3)
at /Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuWxml.js:382:9
at /Users/tpg_usercar/nick/code/weixinUnpacker/wxappUnpacker/wuLib.js:95:14
怎么只剩下乱码啦?
function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[]
return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[]
^^^^^^
SyntaxError: Illegal return statement
at new Script (vm.js:83:7)
at VM.run (C:\Users\DELL\node_modules\vm2\lib\main.js:834:13)
at z (C:\Users\DELL\Desktop\wxappUnpacker-master\wuWxml.js:399:16)
at z (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:280:21)
at catchZGroup (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:16:2)
at catchZ (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:21:33)
at getZ (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:280:3)
at wu.get.code (C:\Users\DELL\Desktop\wxappUnpacker-master\wuWxml.js:382:9)
at ioLimit.runWithCb (C:\Users\DELL\Desktop\wxappUnpacker-master\wuLib.js:103:14)
at agent (C:\Users\DELL\Desktop\wxappUnpacker-master\wuLib.js:66:23)
无法生成 page-frame.html 文件,报错SyntaxError: Unexpected identifier
程序执行命令(可选): node wuWxapkg.js testpkg/0.wxapkg
程序执行错误信息(如果反馈是抛出异常的错误,必填):
SyntaxError: Unexpected identifier
at new Script (vm.js:88:7)
at VM.run (E:\node\wxappUnpacker2021\node_modules\vm2\lib\main.js:834:13)
at E:\node\wxappUnpacker2021\wuConfig.js:91:21
at E:\node\wxappUnpacker2021\wuLib.js:103:14
at agent (E:\node\wxappUnpacker2021\wuLib.js:66:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
链接:https://share.weiyun.com/cVUKDKaz 密码:dy28vt
其他附加内容:
无法生成出 page-frame.html 文件,导致后续无法还原主包的html。依赖全部安装了,手动解包也无法生成, 麻烦了~辛苦您查看下
样式缺失
发表 Issue 前请仔细阅读以下内容:
- 如果你是要反馈 bug, 请按以下
模板
书写 Issue; - 如果你遇到的是 Node.js 使用问题, 请尽可能依赖搜索引擎解决问题;
- 遇到包依赖问题,请联系对应项目;
- 任何对某类小程序包的适配问题都应提供 wxapkg 程序包,否则直接 Close 处理;
- 提交前请确认 wxapkg 程序包版本不小于 v0.6vv_20180111_fbi (直接用文本编辑器打开 wxapkg包搜索 v0.6vv 或 v0.5vv 即可查到,注意版本大小主要比较的是日期), 旧版本不提供支持, 相关 Issue 直接 Close 处理;
- 直接分包和直接处理含插件的包两个功能暂不支持, 请勿重复发表 Issue, 新样例可在已存在的 Issue 下提出;
- 请不要在其他 Issue 下发表与该 Issue 无关的回复, 否则将有可能被删除。
模板内容如下:
程序执行命令(可选):
程序执行错误信息(如果反馈是抛出异常的错误,必填):
复制到这里
程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
其他附加内容:
Error: ENOTDIR: not a directory, scandir '/Users/xxx/Desktop/xcx_p/_1123949441_593/WAAutoService.js'
反编译:分包合到主包报错
报错信息:
node:internal/fs/utils:344
throw err;
^
Error: ENOTDIR: not a directory, scandir '/Users/xxx/Desktop/xcx_p/_1123949441_593/WAAutoService.js'
at Object.readdirSync (node:fs:1390:3)
at findDir (/Users/xxx/Downloads/wxappUnpacker-master/wuWxapkg.js:154:36)
at findDir (/Users/xxx/Downloads/wxappUnpacker-master/wuWxapkg.js:165:29)
at Array.packDone (/Users/xxx/Downloads/wxappUnpacker-master/wuWxapkg.js:171:17)
at CntEvent.decount (/Users/xxx/Downloads/wxappUnpacker-master/wuLib.js:22:54)
at /Users/xxx/Downloads/wxappUnpacker-master/wuLib.js:95:17
at agent (/Users/xxx/Downloads/wxappUnpacker-master/wuLib.js:66:23)
at FSReqCallback.oncomplete (node:fs:188:23) {
errno: -20,
syscall: 'scandir',
code: 'ENOTDIR',
path: '/Users/xxx/Desktop/xcx_p/_1123949441_593/WAAutoService.js'
}
该升级了,大佬
最新的版本解包不了了
Magic number is not correct!
lastMark: 0x0,是因为加密了吗, 解压代码里配置的是0xed,有什么办法可以解决呢
抛出异常 Error: ENOTDIR: not a directory, scandir '/Users/fanybo_m/Desktop/wx/zhu/WAAutoService.js'
Header info:
firstMark: 0xbe
unknownInfo: 0
infoListLength: 498
dataLength: 11218321
lastMark: 0xed
File list info:
fileCount: 18
Saving files...
Unpack done.
now dir: /Users/fanybo_m/Desktop/wx/zhu
param of mainDir: /Users/fanybo_m/Desktop/wx/fen
internal/fs/utils.js:307
throw err;
^
Error: ENOTDIR: not a directory, scandir '/Users/fanybo_m/Desktop/wx/zhu/WAAutoService.js'
at Object.readdirSync (fs.js:1021:3)
at findDir (/Users/fanybo_m/Desktop/wx/wuWxapkg.js:154:36)
at findDir (/Users/fanybo_m/Desktop/wx/wuWxapkg.js:165:29)
at Array.packDone (/Users/fanybo_m/Desktop/wx/wuWxapkg.js:171:17)
at CntEvent.decount (/Users/fanybo_m/Desktop/wx/wuLib.js:22:54)
at /Users/fanybo_m/Desktop/wx/wuLib.js:95:17
at agent (/Users/fanybo_m/Desktop/wx/wuLib.js:66:23)
at FSReqCallback.oncomplete (fs.js:171:23) {
errno: -20,
syscall: 'scandir',
code: 'ENOTDIR',
path: '/Users/fanybo_m/Desktop/wx/zhu/WAAutoService.js'
}
SyntaxError: Unexpected end of input
SyntaxError: Unexpected end of input
at new Script (vm.js:101:7)
at VMScript._compileVM (E:\Hacker\小程序\wxappUnpacker\wxappUnpacker\node_modules\vm2\lib\main.js:123:22)
at VM.run (E:\Hacker\小程序\wxappUnpacker\wxappUnpacker\node_modules\vm2\lib\main.js:288:10)
at E:\Hacker\小程序\wxappUnpacker\wxappUnpacker\wuWxss.js:241:27
at E:\Hacker\小程序\wxappUnpacker\wxappUnpacker\wuLib.js:95:14
at agent (E:\Hacker\小程序\wxappUnpacker\wxappUnpacker\wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
这问题怎么解决
错误反馈, The value of "offset" is out of range
程序执行命令(可选):
程序执行错误信息(如果反馈是抛出异常的错误,必填):
Header info:
firstMark: 0xbe
unknownInfo: 0
infoListLength: 9865
dataLength: 2706001
lastMark: 0xed
File list info:
fileCount: 272
internal/buffer.js:72
throw new ERR_OUT_OF_RANGE(type || 'offset',
^
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 9861. Received 251659266
程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
其他附加内容: win版小程序使用解密后反编译报错,附件为解密前小程序包
Error: Magic number is not correct!错误是为什么呢?如何解决
if (firstMark != 0xbe || lastMark != 0xed) throw Error("Magic number is not correct!");
vm.compileFunction is not a function
D:\ntc-git-work\wxappUnpacker\node_modules\[email protected]@vm2\lib\main.js:550
vm.compileFunction(code, params);
^
TypeError: vm.compileFunction is not a function
at tryCompile (D:\ntc-git-work\wxappUnpacker\node_modules\[email protected]@vm2\lib\main.js:550:5)
at VM.<anonymous> (D:\ntc-git-work\wxappUnpacker\node_modules\[email protected]@vm2\lib\main.js:580:5)
at VM.run (D:\ntc-git-work\wxappUnpacker\node_modules\[email protected]@vm2\lib\main.js:920:23)
at wu.get.code (D:\ntc-git-work\wxappUnpacker\wuJs.js:48:12)
at ioLimit.runWithCb (D:\ntc-git-work\wxappUnpacker\wuLib.js:103:14)
at agent (D:\ntc-git-work\wxappUnpacker\wuLib.js:66:23)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
分包可以解吗?
可否提供插件反编译支持
可否提供插件反编译支持。
可否提供win下的shell脚本
可否提供win下的shell脚本
完了,有没有老哥有备份
求一份,我代码没备份
请问下插件代码有什么办法获取吗
请问下插件代码有什么办法获取吗
主包能解,分包解不出来
请教一下:主包能解,分包解析一直报:
Error: 检测到此包是分包后的子包, 请通过 -s 参数指定存放路径后重试, 如 node wuWxapkg.js -s=/xxx/xxx ./testpkg/test-pkg-sub.wxapkg
at Array.packDone (H:\wxappUnpacker\wuWxapkg.js:176:19)
at CntEvent.decount (H:\wxappUnpacker\wuLib.js:22:54)
at ioLimit.runWithCb.err (H:\wxappUnpacker\wuLib.js:95:17)
at agent (H:\wxappUnpacker\wuLib.js:66:23)
at FSReqWrap.oncomplete (fs.js:141:20)
我执行的命令是:bingo.bat ./situ_wxapp/_-674778132_29.wxapkg [-s=../situ_wxapp/_1514036652_29,如果可以的话,我可以邮箱把包发给你试下。
经查好看是批处理文件获取不到-s参数导致的,但是不会改批处理文件,请帮助
解包出来没有图片文件夹,少图片
少图片,没有图片文件夹和图片
Magic number is not correct
Magic number is not correct,请问这个是什么原因
反编译出来的css。。都不见了。 求大神指点
反编译出来的css。。都不见了。 求大神指点
wxml、js、wxss都解析不了
链接: https://pan.baidu.com/s/1CwiuRyHjL4go8BHqelH8CA 提取码: q78r 复制这段内容后打开百度网盘手机App,操作更方便哦
可以下载试试
根目录有webview.app.js 、appservice.app.js、common.app.js这几个文件
大佬你好
我是某大学的一名研究生,论文课题跟小程序有关,我原来已经clone了该项目,后来我电脑硬盘坏掉了,这个反编译工具也就没有了,不知道大佬能不能给我发一下,我的邮箱[email protected],感激不尽,导师正在催我。
wxml出错,提示err: Error: Noticable generics content: [object Object]
wxml出错,提示err: Error: Noticable generics content: [object Object]
测试包链接: https://pan.baidu.com/s/1Q6vBGv2g0N2sxfzb7SJiqg 提取码: 4ctb
生成的:order-billing.wxml.ori.js文件内容
function(e,s,r,gg){ var z=gz$gwx_132() var c82B=_mz(z,'view',['class',0,'style',1],[],e,s,gg) var h92B=_mz(z,'dui-tabs-scroll-view',['bind:__l',2,'bind:input',1,'class',2,'data-event-opts',3,'tabs',4,'value',5,'vueId',6,'vueSlots',7],[],e,s,gg) var o02B=_mz(z,'swiper',['bindchange',10,'class',1,'current',2,'data-event-opts',3],[],e,s,gg) var cA3B=_n('swiper-item') _rz(z,cA3B,'class',14,e,s,gg) var oB3B=_mz(z,'not-invoiced',['bind:__l',15,'bind:next',1,'class',2,'data-event-opts',3,'data-ref',4,'vueId',5],[],e,s,gg) _(cA3B,oB3B) _(o02B,cA3B) var lC3B=_v() _(o02B,lC3B) var aD3B=function(eF3B,tE3B,bG3B,gg){ var xI3B=_mz(z,'swiper-item',['class',25,'style',1],[],eF3B,tE3B,gg) var oJ3B=_mz(z,'dui-scroll-list2',['bind:__l',27,'class',1,'index',3,'loadFn',4,'loadParam',5,'loadmoreEnabled',6,'refresherEnabled',7,'vueId',8,'vueSlots',9],['wx-scoped-slots-default',2],eF3B,tE3B,gg) _(xI3B,oJ3B) _(bG3B,xI3B) return bG3B } lC3B.wxXCkey=4 _2z(z,23,aD3B,e,s,gg,lC3B,'item','i','i') _(h92B,o02B) _(c82B,h92B) var fK3B=_mz(z,'dui-dialog',['bind:__l',37,'bind:confirm',1,'bind:input',2,'class',3,'confirmText',4,'content',5,'data-event-opts',6,'value',7,'vueId',8],[],e,s,gg) _(c82B,fK3B) _(r,c82B) return r }
Magic number is not correct!
day@DESKTOP-DO85U1M MINGW64 /d/app/weichatpojie
$ ./bingo.sh testapk/1.wxapkg
node /d/app/weichatpojie/wuWxapkg.js
Unpack file testapk/1.wxapkg...
Header info:
firstMark: 0x56
unknownInfo: 827149655
infoListLength: 1489312796
dataLength: 1346416792
lastMark: 0xdf
D:\app\weichatpojie\wuWxapkg.js:21
if (firstMark != 0xbe || lastMark != 0xed) throw Error("Magic number is not correct!");
^
Error: Magic number is not correct!
at header (D:\app\weichatpojie\wuWxapkg.js:21:54)
at D:\app\weichatpojie\wuWxapkg.js:186:44
at D:\app\weichatpojie\wuLib.js:95:14
at agent (D:\app\weichatpojie\wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
如果需要提供1.wxapkg请留言
解析主包出现错误
发表 Issue 前请仔细阅读以下内容:
- 如果你是要反馈 bug, 请按以下
模板
书写 Issue; - 如果你遇到的是 Node.js 使用问题, 请尽可能依赖搜索引擎解决问题;
- 遇到包依赖问题,请联系对应项目;
- 任何对某类小程序包的适配问题都应提供 wxapkg 程序包,否则直接 Close 处理;
- 提交前请确认 wxapkg 程序包版本不小于 v0.6vv_20180111_fbi (直接用文本编辑器打开 wxapkg包搜索 v0.6vv 或 v0.5vv 即可查到,注意版本大小主要比较的是日期), 旧版本不提供支持, 相关 Issue 直接 Close 处理;
- 直接分包和直接处理含插件的包两个功能暂不支持, 请勿重复发表 Issue, 新样例可在已存在的 Issue 下提出;
- 请不要在其他 Issue 下发表与该 Issue 无关的回复, 否则将有可能被删除。
模板内容如下:
程序执行命令(可选):
./bingo.sh ******/_675315740_294.wxapkg
程序执行错误信息(如果反馈是抛出异常的错误,必填):
SyntaxError: Illegal return statement
at new Script (vm.js:101:7)
at VM.run (/wxappUnpacker-xuedingmiaojun/node_modules/vm2/lib/main.js:878:13)
at //wxappUnpacker-xuedingmiaojun/wuWxml.js:399:16
at //wxappUnpacker-xuedingmiaojun/wuRestoreZ.js:280:21
at catchZGroup (//wxappUnpacker-xuedingmiaojun/wuRestoreZ.js:16:2)
at catchZ (//wxappUnpacker-xuedingmiaojun/wuRestoreZ.js:21:33)
at getZ (//wxappUnpacker-xuedingmiaojun/wuRestoreZ.js:280:3)
at //wxappUnpacker-xuedingmiaojun/wuWxml.js:382:9
at //wxappUnpacker-xuedingmiaojun/wuLib.js:103:14
at agent (/*****/wxappUnpacker-xuedingmiaojun/wuLib.js:66:23)
程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
qcs.zip
其他附加内容:
解析子包时,也会抛出问题:
执行命令:./bingo.sh -s=//_675315740_294 //_1564529943_294.wxapkg
抛出问题:
node //wxappUnpacker-xuedingmiaojun/wuWxapkg.js
Unpack file //_1564529943_294.wxapkg...
Header info:
firstMark: 0xbe
unknownInfo: 0
infoListLength: 11693
dataLength: 1332150
lastMark: 0xed
File list info:
fileCount: 213
Saving files...
Unpack done.
now dir: //_1564529943_294
param of mainDir: //_675315740_294
sub package word dir: //_1564529943_294/pages/member
real mainDir: //_675315740_294
Split app-service.js and make up configs & wxss & wxml & wxs...
deal js ok
deal sub html ok
splitJs: //_1564529943_294/pages/member/app-service.js
//_675315740_294 pages/member/home/address.js
//wxappUnpacker-xuedingmiaojun/node_modules/vm2/lib/main.js:890
throw this._internal.Decontextify.value(e);
^
ReferenceError [Error]: __g is not defined
at vm.js:61:3
at Script.runInContext (vm.js:143:18)
at VM.run (//wxappUnpacker-xuedingmiaojun/node_modules/vm2/lib/main.js:888:53)
at //wxappUnpacker-xuedingmiaojun/wuJs.js:48:12
at //wxappUnpacker-xuedingmiaojun/wuLib.js:103:14
at agent (/*****/wxappUnpacker-xuedingmiaojun/wuLib.js:66:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
缺少样式等文件 求帮助
包已上传 这个包解析少文件。比如 .jui-box 之类的css 都解析不出来。求帮助
根本不能用 Magic number is not correct!
TypeError: node.children.each is not a function
程序执行命令:
node wuWxapkg.js XXXXXXXXX.wxapkg
程序执行错误信息:
X:\XXXXX\wuWxss.js:168
node.children.each((son, item) => {
TypeError: node.children.each is not a function
请问最近还有更新么,最近包解不了了
wuLib.js:86
if (err) throw Error("Save file error: " + err);
^
Error: Save file error: Error: ENOENT: no such file or directory, open。。。会出现上述问题请问大佬怎么解决,有偿解决也请报个价,能否加个Q
魔法值识别不了啊
Error: Save file error: Error: ENOENT: no such file or directory
程序执行错误信息(如果反馈是抛出异常的错误,必填):
C:\code\github\wxappUnpacker\wuLib.js:86
if (err) throw Error("Save file error: " + err);
^
Error: Save file error: Error: ENOENT: no such file or directory, open 'C:\code\github\wxappUnpacker\hc_cms\pages\index_gallery\plugin:\wxa75efa648b60994b\video.json'
at C:\code\github\wxappUnpacker\wuLib.js:86:24
at agent (C:\code\github\wxappUnpacker\wuLib.js:64:23)
at fs.js:1263:7
at FSReqCallback.oncomplete (fs.js:155:23)
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
链接:https://pan.baidu.com/s/1DS5k4kwR7uFj4PJgonqWOQ
提取码:l1ny
SyntaxError: Unexpected end of input
SyntaxError: Unexpected end of input
�[90m at new Script (vm.js:86:7)�[39m
at VM.run (C:\Users\Administrator\Desktop\wxappUnpacke\wxappUnpacker-master\node_modules\�[4mvm2
�[24m\lib\main.js:834:13)
at C:\Users\Administrator\Desktop\wxappUnpacke\wxappUnpacker-master\wuWxss.js:243:27
at C:\Users\Administrator\Desktop\wxappUnpacke\wxappUnpacker-master\wuLib.js:95:14
at agent (C:\Users\Administrator\Desktop\wxappUnpacke\wxappUnpacker-master\wuLib.js:64:23)
�[90m at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
�[39m
ReferenceError [Error]: window is not defined
wxappUnpacker-master/node_modules/vm2/lib/main.js:845
throw this._internal.Decontextify.value(e);
^
ReferenceError [Error]: window is not defined
at setCssToHead_wxfa43a4a7041a84de (vm.js:31:25)
at vm.js:82:1
at Script.runInContext (node:vm:141:12)
at VM.run (/.../wxappUnpacker-master/node_modules/vm2/lib/main.js:843:53)
at /.../wxappUnpacker-master/wuWxss.js:267:42
at /.../wechat/wxappUnpacker-master/wuLib.js:103:14
at agent (/.../wxappUnpacker-master/wuLib.js:66:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:75:3)
__wxConfig is not defined
Unexpected token '}'
vm.js:2651
}
^
SyntaxError: Unexpected token '}'
at makeNiceSyntaxError (D:\src\github\wxappUnpacker\node_modules\vm2\lib\transformer.js:41:16)
at transformer (D:\src\github\wxappUnpacker\node_modules\vm2\lib\transformer.js:84:8)
at VM.run (D:\src\github\wxappUnpacker\node_modules\vm2\lib\vm.js:491:16)
at D:\src\github\wxappUnpacker\wuWxml.js:399:16
at D:\src\github\wxappUnpacker\wuRestoreZ.js:280:21
at catchZGroup (D:\src\github\wxappUnpacker\wuRestoreZ.js:16:2)
at catchZ (D:\src\github\wxappUnpacker\wuRestoreZ.js:21:33)
at getZ (D:\src\github\wxappUnpacker\wuRestoreZ.js:280:3)
at D:\src\github\wxappUnpacker\wuWxml.js:382:9
at D:\src\github\wxappUnpacker\wuLib.js:103:14
goto:eof
反编译报错:Unexpected end of input
反编译小程序时候报错, 麻烦帮忙看看是什么原因,谢谢。
程序执行命令(可选):
./bingo.sh 6152/1.wxapkg
程序执行错误信息(如果反馈是抛出异常的错误,必填):
SyntaxError: Unexpected end of input
at new Script (node:vm:99:7)
at VM.run (/Users/ekko/Downloads/wxappUnpacker/node_modules/vm2/lib/main.js:878:13)
at /Users/ekko/Downloads/wxappUnpacker/wuWxss.js:243:27
at /Users/ekko/Downloads/wxappUnpacker/wuLib.js:95:14
at agent (/Users/ekko/Downloads/wxappUnpacker/wuLib.js:64:23)
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:69:3)
程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):
程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):
归档.zip
报保存错误,试了N多小程序都一样的错误,大佬帮看下,解出来的没有app.json
D:\wxappUnpacker\wuLib.js:86
if (err) throw Error("Save file error: " + err);
^
Error: Save file error: Error: ENOENT: no such file or directory, open 'D:\wxappUnpacker_-480138339_113\plugin-private:\wx2b03c6e691cd7370\plugin.json'
at D:\wxappUnpacker\wuLib.js:86:24
at agent (D:\wxappUnpacker\wuLib.js:64:23)
at fs.js:1336:7
Import 的wxss文件都没有编译出来
@import 的wxss文件都没有编译出来
新版反编译项目 完全开源(免费)
`
......
个别解析路径有问题
执行的解析命令如下:
sh ./bingo.sh C:/Users/Administrator/Desktop/开发相关/xcx/pkg7/_-2100370234_30.wxapkg
抛出错误:
`
C:\Users\Administrator\Desktop\开发相关\xcx\wxappUnpacker\wuLib.js:86
if (err) throw Error("Save file error: " + err);
^
Error: Save file error: Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\Desktop\开发相关\xcx\pkg7_-2100370234_30\yidu_tc\pages\index\plugin:\wxa75efa648b60994b\video.json'
at C:\Users\Administrator\Desktop\开发相关\xcx\wxappUnpacker\wuLib.js:86:24
at agent (C:\Users\Administrator\Desktop\开发相关\xcx\wxappUnpacker\wuLib.js:64:23)
at fs.js:1262:7
at FSReqCallback.oncomplete (fs.js:154:23)
本地文件对照报错代码如下:wuLib.js:86
function save(name, content) {
ioEvent.encount();
mkdirs(path.dirname(name), () => ioLimit.runWithCb(fs.writeFile.bind(fs), name, content, err => {
if (err) throw Error("Save file error: " + err);//此处为86行
ioEvent.decount();
}));
}
`
源码包提供:(为了避免被滥用,已取消资源下载)
就一段字母怎么用?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.