-
Notifications
You must be signed in to change notification settings - Fork 60
Extended function
Kenjiro Ichise edited this page Apr 23, 2023
·
3 revisions
Place "frida-ceserver-function.lua" in the Cheat Engine's autorun folder.
The number can be set from 0 to 100.
filename is "" by default, and you can change on_message by specifying the python filename in the callback folder.
loadjs(number,jscode,filename)
unloadjs(number)
{$lua}
[enable]
local jscode = [[
console.log("HELLO,WORLD!");
]]
loadjs(0,jscode)
[disable]
unloadjs(0)
output:
HELLO,WORLD!
{$lua}
[enable]
local jscode = [[
send("1337");
]]
loadjs(0,jscode,"sample.py")
[disable]
unloadjs(0)
output:
sample:{'type': 'send', 'payload': '1337'}
MemoryView -> HexView -> Right Click ->「View in a hex editor like vim」