題目連結
https://learn.cylabacademy.org/library/740
題目解法
使用題目提供的 ssh 連線進去後,可以看到
instructions.txt。根據提示內容可以知道要將所有部分接在一起後解壓縮,才能獲得 flag。1 2 3 4 5 6Hint: - The flag is split into multiple parts as a zipped file. - Use Linux commands to combine the parts into one file. - The zip file is password protected. Use this "supersecret" password to extract the zip file. - After unzipping, check the extracted text file for the flag.有許多方法可以將多個檔案串在一起,這裡示範兩種方法。
使用
cat指令將所有部分串在一起,並將結果輸出到full_part。\cat part_aa part_ab part_ac part_ad part_ae > full_part使用
>>來將每個部分接在full_part後面。\cat part_aa >> full_part cat part_ab >> full_part cat part_ac >> full_part cat part_ad >> full_part cat part_ae >> full_part
接著使用
unzip並輸入密碼來解壓縮full_part,就可以得到flag.txt了。\unzip full_partpicoCTF{z1p------------------------------06b}