Nivel 20
Interceptar peticion en puerto de escucha
Descripción del Reto 💻
En este nivel, aprenderás a conectarte a un servidor remoto usando SSH. El objetivo es familiarizarte con el comando básico de conexión y explorar el entorno.
Información de Login 🔑
- Username: bandit20
- Password: 0qXahG8ZjOVMN9Ghs7iOWsCfZyXOUbYO
- Host: bandit.labs.overthewire.org
- Port: 2220
Pasos para Resolver el Nivel 🛠️
-
Conéctate al servidor usando SSH:
bash
$ ssh bandit20@bandit.labs.overthewire.org -p 2220 This is a OverTheWire game server. More information on http://www.overthewire.org/wargamesbandit0@bandit.labs.overthewire.org's password: 0qXahG8ZjOVMN9Ghs7iOWsCfZyXOUbYO
-
Buscamos la contraseña para el siguiente nivel:
bash
bandit20@bandit:~$ ls suconnect bandit20@bandit:~$ ./suconnect Usage: ./suconnect < portnumber > This program will connect to the given port on localhost using TCP. If it receives the correct password from the other side, the next password is transmitted back. bandit20@bandit:~$ ./suconnect 1234 Read: 0qXahG8ZjOVMN9Ghs7iOWsCfZyXOUbYO Password matches, sending next password bandit20@bandit:~$ ----------------------------------------------------------------------------------------------- bandit20@bandit:~$ nc -nlvp 1234 Listening on 0.0.0.0 1234 Connection received on 127.0.0.1 43810 0qXahG8ZjOVMN9Ghs7iOWsCfZyXOUbYO EeoULMCra2q0dSkYj561DX7s1CpBuOBt bandit20@bandit:~$
Resultado Esperado 🎉
Sigue así y llegarás al final del juego. ¡Ánimo! 🚀