Loading... ```js function gettjh() { var result = ''; Java.perform(function () { function hook1(clz) { //var signCls = Java.classFactory.use('com.taobao.wireless.security.adapter.JNICLibrary'); var bArray = Java.array("Ljava.lang.Object;", ['24405420', 'huoyu', Java.use("java.lang.Boolean").$new(false), Java.use("java.lang.Integer").$new(0), 'mtop.tmyp.goodsdist.jhzd.item.querylist', 'pageId=uuu&pageName=', null, null, null, "r_56"]) // var bArray = Java.array("Ljava.lang.Object;", ["123", Java.use("java.lang.Boolean").$new(false)]) var result1 = clz.doCommandNative(70102, bArray); console.log(" #### >>> rc2= " + result1); var HashMap = Java.use('java.util.HashMap'); result = Java.cast(result1, HashMap).toString() //console.log("map:" + Java.cast(result, HashMap).toString()); // 输出展示:map -> {onlyCanExchange=0, pageSize=5, pageNum=1} //return result; } Java.choose("dalvik.system.PathClassLoader", { onMatch: function (instance) { console.log(instance) console.log(Java.ClassFactory) var factory = Java.ClassFactory.get(instance) try { var myClass = factory.use("com.taobao.wireless.security.adapter.JNICLibrary") hook1(myClass) return "stop" } catch (e) { console.log("next") console.log(e) } }, onComplete: function () { console.log("Done") } }) }); return result; } rpc.exports = { gettjh: gettjh }; ``` 最后修改:2024 年 11 月 06 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏