題目連結

https://learn.cylabacademy.org/library/740

題目解法

  1. 使用題目提供的 ssh 連線進去後,可以看到 instructions.txt。根據提示內容可以知道要將所有部分接在一起後解壓縮,才能獲得 flag。

    1
    2
    3
    4
    5
    6
    
    Hint:
    
    - 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.

  2. 有許多方法可以將多個檔案串在一起,這裡示範兩種方法。

    1. 使用 cat 指令將所有部分串在一起,並將結果輸出到 full_part。\

      cat part_aa part_ab part_ac part_ad part_ae > full_part
      
    2. 使用 >> 來將每個部分接在 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
      
  3. 接著使用 unzip 並輸入密碼來解壓縮 full_part,就可以得到 flag.txt 了。\

    unzip full_part
    
    picoCTF{z1p------------------------------06b}