Advertisement
irobust

Frida Python Code

Mar 15th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. import frida
  2. import sys
  3.  
  4. def on_message(message, data):
  5.             print message
  6.  
  7. code ="""
  8. Java.perform(function () {
  9.        send("setOutput() got called! Let's return always true");
  10. });
  11. """
  12. session = frida.get_remote_device().attach("jakhar.aseem.diva")
  13. script = session.create_script(code)
  14. script.on('message', on_message)
  15.  
  16. print "Executing the JS code"
  17.  
  18. script.load()
  19. sys.stdin.read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement