Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- LAUNCHER:
- import frida
- import time
- device = frida.get_usb_device()
- pid = device.spawn(["com.ants360.yicamera.international"])
- time.sleep(1) #Without it Java.perform silently fails
- session = device.attach(pid)
- script = session.create_script(open("script.js").read())
- script.load()
- device.resume(pid)
- raw_input()
- */
- //Script
- console.log("DeviceID finder, target version 4.0.5_20190318");
- Java.perform(function x(){
- var target = Java.use("com.ants360.yicamera.util.i");
- target.c.implementation = function()
- {
- var res = this.c();
- console.log("DeviceID: " + res);
- return res;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement