sch9_ctf_3/run-offline/vim_and_cats/cat_status.c
2023-07-13 16:28:55 +05:00

10 lines
165 B
C

#include<stdlib.h>
#include<stdio.h>
int main() {
setuid(0);
setgid(0);
puts("status.txt contains status. Here it is:");
int result=system("cat status.txt");
}