File: Rescuing_you_in_the_infinite_loop.rar ... -

: The text file contained Base64 encoded strings. Decoding : Extracted the string from flag.txt . Ran a Base64 decode sequence. The resulting plain text revealed the flag. Conclusion

This write-up covers the challenges and solutions for the capture-the-flag (CTF) task involving the file . Challenge Overview File: Rescuing_You_in_the_Infinite_Loop.rar ...

To bypass the "infinite loop," a Python script was developed using the zipfile and patoolib libraries to automate the process. : The text file contained Base64 encoded strings

: To prevent disk overflow, the script deleted the previous layer after successful extraction. Phase 3: The Final Layer The resulting plain text revealed the flag

: Some layers utilized simple password protection or varying compression formats (ZIP, RAR, 7z). Phase 2: Automation Scripting

: The script attempted to use the filename of the current layer as the password for the next, a common trope in these challenges.

: Manual extraction revealed a nested file structure (e.g., layer100.zip -> layer99.zip ).