vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
974 stars 199 forks source link

send() instead of console.log? #272

Closed 0xzer closed 1 year ago

0xzer commented 1 year ago

is there an option for this? Because I would like to save everything it debugs instead of sitting in terminal looking like console.log redirects to send() or do i edit the src for that?

vfsfitvnm commented 1 year ago

You can always override console.log:

console.log = (...args: any[]) => send(args);

Or redirect stdout/stderr to a file:

frida ... 2>&1 | tee outfile
vfsfitvnm commented 1 year ago

(The discussion is still open if you want to elaborate)