Writeups OverTheWireBanditLinuxncNetworking

Bandit 14 Writeup - OverTheWire

Writeup for Bandit level 14 from OverTheWire: submitting a password to a local TCP port.

Contents

Wargame: Bandit

Level: 14

Category: Linux Fundamentals

Description

The password for bandit15 can be retrieved by submitting the current level’s password to port 30000 on localhost.

Overview

Solution

connecter = ssh.connect_remote("127.0.0.1", 30000)
connecter.sendline(current_password.encode())
result = connecter.recv().decode().strip().splitlines()[-1]

Password

jN2kgmIXJ6fShzhT2avhotn4Zcka6tnt

← Back to Blog