cybersecurity · beginner · ~15 min · safe pentest lab
Detect the FAT deleted-entry marker.
In FAT, a deleted directory entry has 0xE5 as its first byte. Implement int is_deleted(unsigned char first) returning 1 if first == 0xE5, else 0.
int is_deleted(unsigned char first) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.