Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int is_admin = 0;
- FILE* file = fopen("data.txt", "r");
- fseek(file, 0, SEEK_END);
- int size = ftell(file);
- rewind(file);
- char* data = malloc(size + 1);
- fread(data, sizeof(char), size, file);
- data[size] = '\0';
- printf(data);
- free(data);
- fclose(file);
- if (is_admin) {
- printf("FLAG IS REMOVED FROM THIS SOURCE");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement