(args)
| 54 | function replaceParams() { |
| 55 | Interceptor.attach(address.LaunchAppletBegin, { |
| 56 | onEnter(args) { |
| 57 | send("[+] HOOK到小程序加载! " + readStdString(args[1])) |
| 58 | for (var i = 0; i < 0x1000; i += 8) { |
| 59 | try { |
| 60 | var s = readStdString(args[2].add(i)) |
| 61 | var s1 = s.replaceAll('"enable_vconsole":false', '"enable_vconsole": true') |
| 62 | // .replaceAll("md5", "md6") |
| 63 | // .replaceAll('"frameset":false', '"frameset": true') |
| 64 | //"frameset":false |
| 65 | if (s !== s1) { |
| 66 | writeStdString(args[2].add(i), s1) |
| 67 | } |
| 68 | } catch (a) { |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | }) |
| 73 | |
| 74 | } |
nothing calls this directly
no test coverage detected