Skip to content

Instantly share code, notes, and snippets.

DEF CON CTF 2019 Quals

https://www.oooverflow.io/dc-ctf-2019-quals/

[FIRST CONTACT] KNOW YOUR MEM

Find the flag page in memory, 64-bit edition. Timeouts are strict, please test locally first! There's a simplified version to help with that.

know_your_mem.quals2019.oooverflow.io 4669

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define XOR_PASSWORD "]pyyzJR}|qgt4" // Hello_Ghidra! xor 0x15
#define XOR_KEY 0x15
#define PASSWORD_LEN 13
int check_password(char *password)
{
#include <stdio.h>
int main(void)
{
printf("Hello Ghidra!\n");
return 0;
}
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:00282828
"ColorTable01"=dword:0035e1a4
"ColorTable02"=dword:005f7174
"ColorTable03"=dword:008f8f8f
"ColorTable04"=dword:00000000
"ColorTable05"=dword:00000000
"ColorTable06"=dword:00000000