frida / frida-compile

Compile a Frida script comprised of one or more Node.js modules
Other
190 stars 48 forks source link

Python bindings does not load the script compiled #94

Open hillelpinto opened 4 months ago

hillelpinto commented 4 months ago

When compiling a full Frida JS module (4 scripts, almost each one needs to import an other one) with frida-compile, the outputted file can be loaded by executing: frida -l

But when trying to load it using frida in python by calling create_script() i get an error

frida.InvalidArgumentError: script(line 1): SyntaxError: unexpected character

How can i load the outputted script from frida-compile also in python ?