You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there any support for evaling compiled scripts? #71
Frida-compile gives packaged scripts that don't seem to play well with eval. I see Frida provides Script.load and Script.execute but they don't seem to handle this container format either.
I've tried #72 but it still doesn't work. The moment I include my ESM module it stops executing the script properly and since neither eval, Script.load nor Script.evaluate give any errors I have nothing to go off of.
This gives no output. Running the script directly with Frida works fine, removing the import to assert works fine, no errors or anything are output when invalid. This seems like a hopeless endeavor.
Activity
ExternalAddress4401 commentedon May 1, 2023
I've tried #72 but it still doesn't work. The moment I include my ESM module it stops executing the script properly and since neither eval, Script.load nor Script.evaluate give any errors I have nothing to go off of.
ExternalAddress4401 commentedon May 2, 2023
I'm so confused I'm ready to just give up and go back to frida-compile 10.
^ Compiled with
frida-compile -S -pas #72 providesThis gives no output. Running the script directly with Frida works fine, removing the import to
assertworks fine, no errors or anything are output when invalid. This seems like a hopeless endeavor.ExternalAddress4401 commentedon May 3, 2023
I'm giving up in this, it's not worth it.
My snippet above
Doesn't work. No errors. Remove the import statement and output is given correctly.
ESbuild doesn't work either. With no documentation on how Script.load is supposed to work I have to assume you just can't do this anymore.
oleavr commentedon Jun 1, 2023
Not yet, but we should implement that.
Sinixx commentedon Jan 22, 2024
Is there really no option to run a string in a compiled script?