題目連結
https://learn.cylabacademy.org/library/766
題目解法
透過
nc指令連線步驟一:
--- Step 1 --- Current flag: KTBxcDI0bnIwLWZhMDFnQHplMHNmYTRlRy1nazNnLXRhMWZlcmlyRShTR1BicHZj Hint: Base64 encoded the string. Enter the Linux command to reverse it:要求使用 base64 解密,使用以下指令來解密
base64 -d步驟二:
--- Step 2 --- Current flag: )0qp24nr0-fa01g@ze0sfa4eG-gk3g-ta1ferirE(SGPbpvc Hint: Reversed the text. Enter the Linux command to reverse it:要求使用將字串反轉,使用以下指令來反轉
rev步驟三:
--- Step 3 --- Current flag: cvpbPGS(Eriref1at-g3kg-Ge4afs0ez@g10af-0rn42pq0) Hint: Replaced underscores with dashes. Enter the Linux command to reverse it:要求將字串的 ‘-’ 換成 ‘_’, 使用以下指令來替換
tr '-' '_'步驟四:
--- Step 4 --- Current flag: cvpbPGS(Eriref1at_g3kg_Ge4afs0ez@g10af_0rn42pq0) Hint: Replaced curly braces with parentheses. Enter the Linux command to reverse it:要求使用將字串的小括號換成大括號,使用以下指令來反轉
tr '()' '{}'步驟五
--- Step 5 --- Current flag: cvpbPGS{Eriref1at_g3kg_Ge4afs0ez@g10af_0rn42pq0} Hint: Applied ROT13 to letters. Enter the Linux command to reverse it:要求使用 ROT13 加密,使用以下指令來加密
tr 'A-Za-z' 'N-ZA-Mn-za-m'最終得到 flag
picoCTF{Rev---------------------------------cd0}