mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
examples: Fix usage of deprecated RPC exports API (#236)
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -15,5 +15,5 @@ rpc.exports = {
|
||||
session = frida.attach("Twitter")
|
||||
script = session.create_script_from_bytes(bytecode)
|
||||
script.load()
|
||||
api = script.exports
|
||||
api = script.exports_sync
|
||||
print("api.list_threads() =>", api.list_threads())
|
||||
+1
-1
@@ -14,6 +14,6 @@ rpc.exports = {
|
||||
"""
|
||||
)
|
||||
script.load()
|
||||
api = script.exports
|
||||
api = script.exports_sync
|
||||
print("api.hello() =>", api.hello())
|
||||
api.fail_please()
|
||||
Reference in new issue
Block a user