Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import frida
- import sys
- def on_message(message, data):
- print message
- code ="""
- Java.perform(function () {
- send("setOutput() got called! Let's return always true");
- });
- """
- session = frida.get_remote_device().attach("jakhar.aseem.diva")
- script = session.create_script(code)
- script.on('message', on_message)
- print "Executing the JS code"
- script.load()
- sys.stdin.read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement