: 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
The objective was to extract a hidden flag from a recursively compressed archive. The file presented a "Zip Bomb" style structure where each extracted layer contained another password-protected or obfuscated archive, requiring automated extraction to reach the final payload. Phase 1: Initial Analysis : RAR Archive.
: To prevent disk overflow, the script deleted the previous layer after successful extraction. Phase 3: The Final Layer