-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathte.js
More file actions
29 lines (28 loc) · 1.1 KB
/
te.js
File metadata and controls
29 lines (28 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Java.perform(function () {
// ['com.homelink.midlib.util.HttpUtil'].forEach(function (clazz,i) {
// var func = 'b';
// Java.use(clazz)[func].overload("java.lang.String","java.util.Map").implementation = function (a,b,c) {
//
// console.log("=============================================");
// console.log(a);
// console.log(b);
// var ret = this[func](a,b);
// console.log(ret);
// console.log("-----------------------------------------------");
// return ret;
// }
// });
// });
Java.perform(function () {
['com.homelink.midlib.util.HttpUtil'].forEach(function (clazz,i) {
var func = 'd';
Java.use(clazz)[func].overload("java.lang.String").implementation = function (a) {
console.log("=============================================");
console.log(a);
var ret = this[func](a);
console.log(ret);
console.log("-----------------------------------------------");
return ret;
}
});
});