GithubHelp home page GithubHelp logo

wechat-app-unpack's Issues

m0可以解出,m1,m2之后的怎么解出

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 也会报错

能一次把源码也解出吗

wxss还原方法如下

function makeup(file) {
省略.....
}
//return res;
console.log(res);
}
直接打印即可输出,把pages页面的html setCssToHead 放入到这个函数下面即可输出。 不过还原出来,也不是最终源代码。样式一样错位,希望研究看看什么原因

我怎么都解不了

我把微信数据打包了 ,解备份包后有很多已经浏览过的小程序,试着解包,解开了,但是就在wxml源码这里解不了,试了很多都不行!

报错 "ap"

"ap" is not definet =====
直接控制台输出的微信代码 是需要复制到新建的wxml里面吗??
谢谢

👍 解出成功

  1. <script src="z.js" charset="UTF-8">></script> 加下编码,不然有的打印出来是乱码
  2. 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 ){ ...... }

  3. 解出来有的地方会多出> ,类似:
    default

有偿求助:解分包小程序

有偿求助:分包小程序,请联系企鹅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)

这是解的哪个版本的包啊?

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是怎么加密的,没搞过前端看不太懂

解到m13发现一个错误

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.