mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
examples: Fix the child gating example
This commit is contained in:
1 parent
a613d87b08
commit
9b15bde24e
1 file changed
+3
-3
@@ -44,11 +44,11 @@ class Application:
|
||||
print("✔ create_script()")
|
||||
script = session.create_script(
|
||||
"""\
|
||||
Interceptor.attach(Module.getExportByName(null, 'open'), {
|
||||
onEnter: function (args) {
|
||||
Interceptor.attach(Module.getGlobalExportByName('open'), {
|
||||
onEnter(args) {
|
||||
send({
|
||||
type: 'open',
|
||||
path: Memory.readUtf8String(args[0])
|
||||
path: args[0].readUtf8String()
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user