This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import pygame | |
| import win32api | |
| import win32con | |
| import win32gui | |
| from uniref import WinUniRef | |
| ref = WinUniRef("Content Warning.exe") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pwn import * | |
| rom = open("rom.dat", "rb").read() | |
| fetch_1 = lambda x: rom[x] | |
| fetch_4 = lambda x: u32(rom[x:x+4]) | |
| strtab = [ | |
| "gimme something:", | |
| "\nCorrect :)\nSurround your flag with dice{}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tqdm | |
| import struct | |
| from pwn import * | |
| from ctypes import * | |
| from capstone import * | |
| from capstone.x86 import * | |
| opcode_map = { | |
| 13: "add", | |
| 14: "sub", |