Skip to content

Commit 576c1ff

Browse files
author
Macro
committed
Primera publicacion
1 parent b764594 commit 576c1ff

10 files changed

Lines changed: 57 additions & 4 deletions

File tree

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ theme: jekyll-theme-chirpy
66
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
77
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
88
# otherwise, the layout language will use the default value of 'en'.
9-
lang: en
9+
lang: es
1010

1111
# Change to your timezone › https://zones.arilyn.cc
1212
timezone:
@@ -23,10 +23,10 @@ description: >- # used by seo meta and the atom feed
2323
2424
# Fill in the protocol & hostname for your site.
2525
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://l-byte0.github.io"
2727

2828
github:
29-
username: github_username # change to your GitHub username
29+
username: l-byte0 # change to your GitHub username
3030

3131
twitter:
3232
username: twitter_username # change to your Twitter username
@@ -98,7 +98,7 @@ theme_mode: # [light | dark]
9898
cdn:
9999

100100
# the avatar on sidebar, support local or CORS resources
101-
avatar:
101+
avatar: /assets/img/avatar.jpeg
102102

103103
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
104104
# It can be overridden by a customized `page.image` in front matter.

_posts/2025-10-26-otw-bandit0.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: "Over The Wire - Bandit"
3+
date: 2025-10-26 16:46:30
4+
author: Macroh
5+
image: /assets/img/Posts/otw/bandit/otw.png
6+
categories: [Over The Wire]
7+
tags: [linux, wargames, ssh, otw, debian]
8+
9+
---
10+
11+
OverTheWire es una plataforma de aprendizaje que ayuda a adquirir conocimientos sobre ciberseguridad, además del manejo de sistemas operativos basados en Linux, de una manera gamificada. En ella se resuelven retos cada vez más difíciles a medida que se avanza de nivel, en esta plataforma no es necesario instalar nada, ya que la conexión se realiza por SSH.
12+
13+
Como primer paso iremos al navegador y buscaremos en Google "OverTheWire"
14+
15+
![texto alternativo](/assets/img/Posts/otw/bandit/google_otw.png)
16+
17+
Al ingresar, veremos una vista donde se explica a qué corresponde cada juego. En esta ocasión empezaremos con Bandit, que nos dará las nociones básicas para empezar a usar un sistema operativo basado en Linux. Para este juego, en mi caso personal usaré Debian 12 para completar los diferentes retos —¡es hora de los wargames!—
18+
19+
![Games](/assets/img/Posts/otw/bandit/otw-games.png)
20+
21+
## Bandit0
22+
23+
Al seleccionar la opción de Bandit nos ofrece una breve descripción del proceso de los niveles y está orientado a novatos. Nos describen el modelo de juego: un nivel contiene la información para acceder al siguiente y así sucesivamente; además, proporcionan información sobre los comandos que podríamos usar en los niveles.
24+
25+
![bandit-wargames](/assets/img/Posts/otw/bandit/bandit0-welcome.png)
26+
27+
Iniciamos en el nivel 0, donde la única tarea es conectarnos por SSH: nos indican el host, el puerto, el nombre de usuario y la contraseña; además, proporcionan enlaces con instrucciones sobre cómo hacer una conexión SSH.
28+
29+
```bash
30+
ssh bandit0@bandit.labs.overthewire.org -p 2220
31+
```
32+
33+
Abrimos una terminal y nos conectamos al host con los datos que nos brinda este nivel. En la conexión, "bandit0" es el usuario; se escribe seguido de '@' para indicar el host, y la opción '-p' especifica el puerto al que conectarnos. Nos pedirá una contraseña y, como nos indicó el nivel, es "bandit0". Si todo está correcto, se mostrará un mensaje de bienvenida a los juegos.
34+
35+
![bandit-login](/assets/img/Posts/otw/bandit/loginssh-bandit0.png)
36+
37+
Con la nueva terminal abierta por la conexión usaremos el comando `ls` para listar los archivos del directorio en el que estamos. Veremos un archivo `README` al que accederemos con el comando `cat`, donde nos felicitan por nuestro primer nivel y muestran la bandera que será la contraseña para el siguiente nivel.
38+
39+
```bash
40+
bandit0@bandit:~$ ls
41+
readme
42+
43+
bandit0@bandit:~$ cat readme
44+
Congratulations on your first steps into the bandit game!!
45+
Please make sure you have read the rules at https://overthewire.org/rules/
46+
If you are following a course, workshop, walkthrough or other educational activity,
47+
please inform the instructor about the rules as well and encourage them to
48+
contribute to the OverTheWire community so we can keep these games free!
49+
50+
The password you are looking for is: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
51+
```
52+
53+
![flag-bandit0](/assets/img/Posts/otw/bandit/flag-bandit0.png)
205 KB
Loading
47.9 KB
Loading
48.1 KB
Loading
71.7 KB
Loading
56.5 KB
Loading
138 KB
Loading
21 KB
Loading

assets/img/avatar.jpeg

86.6 KB
Loading

0 commit comments

Comments
 (0)