forked from CrackerCat/frida_app_hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beibei.js
35 lines (26 loc) · 905 Bytes
/
beibei.js
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
30
31
32
33
34
35
Java.perform(function () {
var SecurityUtils=Java.use("com.husor.beibei.utils.SecurityUtils");
SecurityUtils.a.overload('java.lang.String', 'boolean').implementation=function(arg1,arg2){
send("a Hook Start...");
send(arg1)
send(arg2)
var result= this.a(arg1,arg2)
send(result)
return result
}
SecurityUtils.a.overload('java.lang.String', 'java.lang.String').implementation=function(arg1,arg2){
send("a2 Hook Start...");
send(arg1)
send(arg2)
var result= this.a(arg1,arg2)
send(result)
return result
}
var BaseApiRequest=Java.use("com.husor.beibei.net.BaseApiRequest");
BaseApiRequest.getHost.overload().implementation=function(){
send("getHost Hook Start...");
var result= this.getHost()
send(result)
return result
}
});