Unchained 2
Challenge Description
"Go from hacking web to solving puzzles"
Wow! You helped admin to recover his password! Now help him recover his lost rar password
Good Luck!
(It's the continuation of Unchained 1!)
Challenge link: https://harsh1tarora.pythonanywhere.com/
Solution
This is the continuation of Unchained 1
Using
lswe can list the files
We can also download these files using
downloadcommand
download FILE-1.png
download FILE-2.rar
download FILE-3.pyAfter downloading the files, running
stringson the png file gives us

Decoding using morse gives us
P_A_SS_W8RD_FR@F!LE2Unzip the
rarfile using the passwordP_A_SS_W8RD_FR@F!LE2, gives us akey.txtfilethe
key.txtfile contains the key and IV, which will be used when we run theFILE-3.pyfileRunning the
FILE-3.pyfile with the key and IV gives us the ahexstring.

Decoding the
hexstring gives us the flag
$ python3
Python 3.11.5 (main, Aug 29 2023, 15:31:31) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> bytes.fromhex('784354467b7930755f6630756e645f6d335f6e305f776179217d060606060606').decode()
'xCTF{y0u_f0und_m3_n0_way!}\x06\x06\x06\x06\x06\x06'
>>>FLAG
xCTF{y0u_f0und_m3_n0_way!}Last updated