DEV Community

Cover image for Bandit Level 14 Level 15
Christian Paez
Christian Paez

Posted on

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

Top comments (0)