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:

  1. Buat temp directory:
mkdir /tmp/baktistr
  1. Convert hexdump ke binary:
xxd -r data.txt > data.bin
  1. Identifikasi tipe compression menggunakan command file

  2. 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

  • tr untuk character translation (ROT13)
  • xxd untuk hexdump conversion
  • gzip, bzip2, tar untuk decompression
  • SSH dengan private key authentication
  • nc (netcat) untuk network communication
  • ncat dengan SSL untuk encrypted connections