Memory/FS/HTTP/Shell/Debug API

memory

  • memory.get_module_base(name) -> address

  • memory.read_uint64(addr) -> number

  • memory.read_int(addr) -> int

  • memory.read_float(addr) -> number

  • memory.read_string(addr, max_len?) -> string

  • memory.write_uint64(addr, value)

  • memory.write_int(addr, value)

  • memory.write_float(addr, value)

  • memory.write_string(addr, value)

  • memory.write_byte(addr, value)

  • memory.write_bool(addr, value)

  • memory.hook(address, fn)

  • memory.unhook(address)

fs

  • fs.read_file(path) -> string|nil

  • fs.write_file(path, data) -> bool

http / curl

  • http.get(url) -> response

  • http.post(url, data) -> response

  • curl.get(url, headers_table?) -> response

  • curl.post(url, headers_table?, data?) -> response

shell

  • shell.open(target)

  • shell.execute(command)

debug

  • debug.log(message, level?)

  • debug.set_console(show_bool)

Security Note

shell.execute, memory.write_*, and hooking APIs are powerful and risky. Use trusted scripts only.

Última actualización

¿Te fue útil?