| 1234567891011121314151617181920212223242526272829 |
- # -*- coding:utf-8 -*-
- import sys
- __author__ = 'Snow'
- import frida
- dev = frida.get_remote_device()
- session = dev.attach("太古神王2")
- src = """
- setImmediate(function(){
- Java.perform(function(){
- send("starting script");
- var Platform = Java.use("com.chujian.sdk.platform.ChuJianPlatform$1");
- Platform.onAuthResult.implementation = function(var1,var2){
- send("onAuthResult------>"+var1.toString());
- };
- });
- });
- """
- def on_message(message,data):
- print("[-] {}".format(message))
- script = session.create_script(src)
- script.on("message", on_message)
- script.load()
- sys.stdin.read()
|