# -*- coding: UTF-8 -*-
import frida, sys
jsCode = """
Java.perform(function () {
/*
var ShufferMap = Java.use('com.xiaojianbang.app.ShufferMap');
ShufferMap.show.implementation = function (map) {
var result = "";
var keyset = map.keySet();
var it = keyset.iterator();
while(it.hasNext()){
var keystr = it.next().toString();
var valuestr = map.get(keystr).toString();
result += valuestr;
}
send(result);
return this.show(map);
}
*/
var HashMap = Java.use('java.util.HashMap');
var ShufferMap = Java.use('com.xiaojianbang.app.ShufferMap');
ShufferMap.show.implementation = funct
frida Java层Hook map集合遍历与修改
最新推荐文章于 2024-06-14 14:28:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)