Exploit databaseDownload repository ZIP
GH-3268447bde609d41c3fb2d8437d1d24a
264312431/picohaxx
Sources for CVE-2023-33107
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files23
264312431/picohaxxRevision 8b1ac89c7618
- 2023-33107.c
- 2023-33107.h
- README.md
- audio_escalate
- audio_failed
- audio_success
- build.bat
- bundle.h
- cfg.c
- cfg.h
- cfg.inc.h
- ftpd
- help.cpp
- magiskpolicy
- offsets.h
- picohaxx
- picohaxx.c
- picohaxx.h
- resetprop
- root.c
- supaexec
- term.c
- term.h
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