2023-11-10|閱讀時間 ‧ 約 2 分鐘

Python Wrangling

題目圖示

Hint

1. Get the Python script accessible in your shell by entering the following command in the Terminal prompt: $ wget https://mercury.picoctf.net/static/2ac2139344d2e734d5d638ac928f1a8d/ende.py

  1. $ man python

解題步驟

  1. wget https://mercury.picoctf.net/static/2ac2139344d2e734d5d638ac928f1a8d/ende.py
  2. wget https://mercury.picoctf.net/static/2ac2139344d2e734d5d638ac928f1a8d/pw.txt
  3. wget https://mercury.picoctf.net/static/2ac2139344d2e734d5d638ac928f1a8d/flag.txt.en

4. 執行 cat pw.txt 以獲取解密過後的密碼

5. 複製密碼並在執行 python ende.py -d flag.txt.en 後貼上它

  1. Get the flag ~

Useful Stuffs

  1. man python
  2. python DECRYPT_ALGO -d DOCUMENT_TO_DECRYPT

( -d 是解密的意思; -e 是加密的意思 )

分享至
成為作者繼續創作的動力吧!
© 2024 vocus All rights reserved.