Files
wehub-resource-sync 4e0f4422d0
build-docs / deploy (push) Has been cancelled
Check Markdown links / markdown-link-check (push) Has been cancelled
Pytest / test (3.11) (push) Has been cancelled
Pytest / test (3.12) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:25:42 +08:00

27 lines
367 B
C
Executable File

#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
#include <signal.h>
#include <unistd.h>
void easy(){
system("cat flag.txt");
}
int main(){
char buffer[50];
write(1,"-Warm Up-\n",10);
char address[50];
write(1,"WOW:",4);
sprintf(address,"%p\n",easy);
write(1,address,9);
write(1,">",1);
gets(buffer);
}