Exploit databaseDownload repository ZIP
GH-7da3037e85220fb3dc9969b6c54f6f99
reaizuguo/vivo_iqoo_neo_9_root_research_on_cve-2025-21479
Sources for CVE-2025-21479
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
reaizuguo/vivo_iqoo_neo_9_root_research_on_cve-2025-21479Revision 5b39e4ab09fd
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
client/u0.c
C · 544 bytes// u0.c - setuid(0) 提升工具 (rootd 全 caps 环境使用)
// 用法: u0 <命令...> -> 以 euid=0 执行
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
if (setgid(0) != 0) { perror("setgid"); return 1; }
if (setuid(0) != 0) { perror("setuid"); return 1; }
if (argc < 2) {
char* args[] = {"/system/bin/sh", NULL};
execv("/system/bin/sh", args);
perror("execv sh");
return 1;
}
execv(argv[1], &argv[1]);
perror("execv");
return 1;
}