Exploit database

GH-3268447bde609d41c3fb2d8437d1d24a

264312431/picohaxx

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-33107

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files23
264312431/picohaxxRevision 8b1ac89c7618

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

cfg.c

Suggested starting fileC · 902 bytes
//===============================================================
// crazy idea #99: embedd easily editable config section into binary
//===============================================================
#include "cfg.h"

#define CFG_GLOB(name, def, label) int g_##name = (def);
#define CFG(name, def)             int g_##name = (def);
#include "cfg.inc.h"
#undef CFG_GLOB
#undef CFG

// append cfg block to .interp
__attribute__((section(".interp"), used))
const char inter[] = "/system/bin/linker64";

__attribute__((section(".interp"), used, aligned(16)))
const char cfg_block[] =
"#==============#"
"# bincfg [TM]  #"
"#==============#"
#define CFG_GLOB(name, def, label) "#[" _CFG_STR(def) "] " label "#"
#define CFG(name, def)
#include "cfg.inc.h"
"#==============#"
"# to edit use  #"
"#[x] any char  #"
"#[ ] or space  #"
"#==============#";
#undef CFG_GLOB
#undef CFG