Skip to content

Instantly share code, notes, and snippets.

@Riatre
Riatre / sploit.cc
Created July 18, 2022 20:33
Google CTF 2022 Pwnable d8 Writeup
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "include/libplatform/libplatform.h"
#include "include/v8-context.h"
#include "include/v8-initialization.h"
#include "include/v8-isolate.h"
#include "include/v8-local-handle.h"
import sys, re, json
COLOR_NAME = [
"foreground",
"// Default Bold Foreground",
"background",
"// Default Bold Background",
"// Cursor Text",
"cursorColor",
"black",