Answers for "frida macOS example.py test script"

0

frida macOS example.py test script

import frida

def on_message(message, data):
    print("[on_message] message:", message, "data:", data)

session = frida.attach("cat")

script = session.create_script("""
rpc.exports.enumerateModules = function () {
  return Process.enumerateModules();
};
""")
script.on("message", on_message)
script.load()

print([m["name"] for m in script.exports.enumerate_modules()])
Posted by: Guest on August-24-2021

Code answers related to "frida macOS example.py test script"

Python Answers by Framework

Browse Popular Code Answers by Language