leo9960 / wechat-app-unpack Goto Github PK
View Code? Open in Web Editor NEW微信小程序(.wxapkg)解包心得以及未开放API猜测
微信小程序(.wxapkg)解包心得以及未开放API猜测
版本号为 v0.6vv_20180111_fbi 多谢无私奉献
wxml现在还原了666
function makeup(file) {
省略.....
}
//return res;
console.log(res);
}
直接打印即可输出,把pages页面的html setCssToHead 放入到这个函数下面即可输出。 不过还原出来,也不是最终源代码。样式一样错位,希望研究看看什么原因
解析错误:TypeError: Cannot read property 'ap' of undefined
"ap" is not definet =====
直接控制台输出的微信代码 是需要复制到新建的wxml里面吗??
谢谢
Uncaught TypeError: Cannot read property 'i' of undefined
at m1 (test.html:9)
at test.html:49
var m1 = function (e, s, r, gg) { var f7 = e_['./page/API/pages/action-sheet/action-sheet.wxml'].i _ai(f7, '../../../common/head.wxml', e_, './page/API/pages/action-sheet/action-sheet.wxml', 1, 1) _ai(f7, '../../../common/foot.wxml', e_, './page/API/pages/action-sheet/action-sheet.wxml', 2, 2)..................
这里面的 e_['./page/API/pages/action-sheet/action-sheet.wxml'].i 会报错
_ai 也会报错
能一次把源码也解出吗
请问下比如 https://github.com/leo9960/wechat-app-unpack/blob/master/demo/unpack_Code/page/component/index.html 这样的html 能解析么,还是不需要解析的呢
现在还好使不,继续维护么
我把微信数据打包了 ,解备份包后有很多已经浏览过的小程序,试着解包,解开了,但是就在wxml源码这里解不了,试了很多都不行!
这个解析不了,,
今天在手机上找了下,没有找到,看日期18年1月8日,被公布了漏洞,不知道是否是更换了形式。
v0.6vv_20171208_cua_xc 掌中云阅
有偿求助:分包小程序,请联系企鹅4971381
E:\wechat-by\wxappUnpacker-master\node_modules\vm2\lib\main.js:210
throw this._internal.Decontextify.value(e);
^
SyntaxError: Unexpected token }
at VMScript.compile (E:\wechat-by\wxappUnpacker-master\node_modules\vm2\lib
main.js:78:20)
at VM.run (E:\wechat-by\wxappUnpacker-master\node_modules\vm2\lib\main.js:20
4:52)
at wu.get.code (E:\wechat-by\wxappUnpacker-master\wuJs.js:28:6)
at ioLimit.runWithCb (E:\wechat-by\wxappUnpacker-master\wuLib.js:80:8)
at agent (E:\wechat-by\wxappUnpacker-master\wuLib.js:54:14)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
rev 会报replace错误,修复如下:将原来recv函数重命名为irev,新建个中间处理,变量替换有些还是有点问题
function rev( ops, e, s, g, o ){ var temp = "" + irev(ops, e, s, g, o); if(temp.indexOf("{{") != -1) { return "{{" + ("" + irev(ops, e, s, g, o)).replace(/\{\{/g,"").replace(/\}\}/g,"") + "}}"; } return temp; } function irev( ops, e, s, g, o ){ ...... }
怎么删了,求发一份
[email protected]
这个版本的有没有思路可以解?
var r = {
score: t,
times: e,
game_data: JSON.stringify(n)
},
o = {
base_req: {
session_id: a.default.sessionId,
fast: 1
},
action_data: (0, s.encrypt)(r, a.default.sessionId)
};
wx.request({
url: h.AJAX_URL + "/wxagame/wxagame_settlement",
method: "POST",
data: o,
success: function (t) {
i(200 === t.statusCode ? 0 === t.data.base_resp.errcode ?A !0 : !1 : !1)
},
fail: function (t) {
i(!1)
}
})
这个actiondata是怎么加密的,没搞过前端看不太懂
var m13=function(e,s,r,gg){
var lQ4=e_[x[13]].i
ai(lQ4,x[14],e,x[13],1,1)
var aR4=_m('view',['class',1107,'style',1],[],e,s,gg)
var tS4=_v()
_(aR4,tS4)
var eT4=o(1110,e,s,gg)
var bU4=gd(x[13],eT4,e,d)
if(bU4){
var oV4=_1(1109,e,s,gg) || {}
var cur_globalf=gg.f
tS4.wxXCkey=3
bU4(oV4,oV4,tS4,gg)
gg.f=cur_globalf
}
else _w(eT4,x[13],3,22)
_(r,aR4)
lQ4.pop()
return r
}
错误内容:
test.html:2748 Uncaught ReferenceError: x is not defined
at m13 (test.html:2748)
at test.html:16740
var m0=function(e,s,r,gg){
var oB=e_[x[0]].i
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.