Closed thienha1 closed 1 year ago
On Linux you can redirect the output to a file:
frida -p stuff -f etc > trace.log
Alternatively, you can override the global console.log
function so it writes to a file instead (take a look at https://frida.re/docs/javascript-api/#file)
You can override the global console.log
below
(globalThis as any).console.log = function (...msg: [string]) {
const fd = new File(Il2Cpp.applicationDataPath + "/tracer.log", "a")
const content = msg.join(" ")
try {
fd.write(content)
} finally {
fd.close()
}
}
use cmder on windows
Like this:
Convert to
It will save my time and no need scroll up in command prompt anymore!! Can you help me do this?