OverTheWire: Bandit Level 11-15 (Bahasa Indonesia)
Writeup untuk OverTheWire Bandit wargame level 11-15, termasuk ROT13, compression, dan SSH keys
Writeup ini membahas solusi untuk OverTheWire Bandit challenges level 11-15.
Level 11 → 12
Challenge: Decrypt teks yang dirotasi 13 posisi (ROT13).
tr [:alpha:] N-ZA-Mn-za-m < data.txt
Level 12 → 13
Challenge: Decompress file hexdump yang ter-compress berulang kali.
Proses:
- Buat temp directory:
mkdir /tmp/baktistr
- Convert hexdump ke binary:
xxd -r data.txt > data.bin
-
Identifikasi tipe compression menggunakan command
file -
Decompress secara iteratif (gzip, bzip2, tar formats)
Level 13 → 14
Challenge: Akses level berikutnya menggunakan private SSH key.
ssh bandit14@localhost -i sshkey.private
Level 14 → 15
Challenge: Submit password ke port 30000 via netcat.
nc localhost 30000 < /etc/bandit_pass/bandit14
Level 15 → 16
Challenge: Submit password ke port 30001 menggunakan SSL encryption.
ncat --ssl -v localhost 30001
Commands yang Dipelajari
truntuk character translation (ROT13)xxduntuk hexdump conversiongzip,bzip2,taruntuk decompression- SSH dengan private key authentication
nc(netcat) untuk network communicationncatdengan SSL untuk encrypted connections