Corrupted Flag — Fix GIF Magic Bytes then Extract Frames
The GIF has wrong magic bytes at the start. Replace the first 13 bytes with the correct GIF89a header, open the repaired file with Pillow, and iterate through frames saved as WebP to find the flag.