Bad Memories -v0.9- -recreation- -
In GDB, call the overwritten function:
void secret_function() char flag[64]; FILE *f = fopen("flag.txt", "r"); fread(flag, 1, 64, f); flag[strcspn(flag, "\n")] = 0; printf("Flag: %s\n", flag); Bad Memories -v0.9- -recreation-
Check if that note was freed: