examples: Fix usage of deprecated RPC exports API (#236)

This commit is contained in:
突突兔
2023-10-09 19:14:27 +08:00
committed by GitHub
parent 3e489dff85
commit ebd797e4bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -14,6 +14,6 @@ rpc.exports = {
"""
)
script.load()
api = script.exports
api = script.exports_sync
print("api.hello() =>", api.hello())
api.fail_please()