Bandit Level 14 Level 15

christianpaez

Christian Paez

Posted on November 16, 2023

Bandit Level 14 Level 15

Introduction

Greetings, folks! We're back in the Bandit wargame, in this level where we'll deal with Secure Shell (SSH) and privilege escalation.

Login via SSH

Now, let's set our sights on the previous flag and login as bandit14 with the password, fGrHPx402xGC7U7rXKDaxiWFTOiF0ENq.

Scanning the Environment

Our initial step in the journey takes us into the domain of network exploration. By using the Nmap tool, we shall analyze the ports on our local host. Behold the command:

nmap -p 30000 localhost
Enter fullscreen mode Exit fullscreen mode

This command shows a telnet service running on port 30000.

Connecting via Telnet

With the port 30000 revealed, it's time to establish a connection:

telnet localhost 30000
Enter fullscreen mode Exit fullscreen mode

After executing this command, the flag for the next level is printed in the output:

Flag: jN2kgmIXJ6fShzhT2avhotn4Zcka6tnt

💖 💪 🙅 🚩
christianpaez
Christian Paez

Posted on November 16, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Bandit Level 21 Level 22
ctf Bandit Level 21 Level 22

January 2, 2024

Bandit Level 20 Level 21
ctf Bandit Level 20 Level 21

December 27, 2023

Bandit Level 19 Level 20
ctf Bandit Level 19 Level 20

December 17, 2023

Bandit Level 18 Level 19
ctf Bandit Level 18 Level 19

December 17, 2023

Bandit Level 17 Level 18
ctf Bandit Level 17 Level 18

December 13, 2023