Modificar directorios, agregar writeups de NeverLAN

This commit is contained in:
2019-02-06 19:23:06 -06:00
parent f313e4d5fe
commit 9f5a8777be
13 changed files with 136 additions and 0 deletions

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

+58
View File
@@ -0,0 +1,58 @@
# Things are not always what they seem
### Bash Ninja Games
Similares a los juegos de [Bandit](https://overthewire.org/wargames/bandit), son niveles
que prueban los conocimientos básicos e intermedios de el uso de la shell Bash.
### 1
Entrar al servidor mediante el protocolo SSH.
```
act-with-honor-and-honor-will-aid-you
```
### 2
Listar los archivos ocultos
```
the-only-path-to-honor-is-to-stick-to-your-chosen-code
```
### 3
Hallar la contraseña en un archivo de texto enorme. Dado que las lineas se
repiten, podemos obtener las lineas únicas ordenando el archivo (`sort -d`) y
eliminando sus duplicados (`uniq -u`).
```
child-of-honor
```
### 4
Similar a _3_, pero ahora con un archivo binario (`strings`).
```
only*hack^things%you$own
```
### 5
Encontramos una imágen, para poder visualizarla la copiamos al cliente mediante
el protocolo SSH (`scp`).
```
have-you-memorized-the-code-yet
```
### 6
El contenido del archivo de texto se encuentra codificado en Base64 (`base64`).
```
white-hats-have-values-and-rules
```
+21
View File
@@ -0,0 +1,21 @@
# purvesta
### Recon, 75
---
I love Github. Use it all the time! Just wish they could host a webpage...
---
Analizando lo que nos dice el problema podemos buscar que Github tiene un
servicio para __hostear__ paginas web: GitHub Pages.
Tomando en cuenta el nombre del reto ingresamos a:
[https://github.com/purvesta](https://github.com/purvesta)
Ahi encontraremos un repositorio llamado **purvesta.github.io** el cual guarda
un archivo llamado `lol`, donde se encuentra la flag.
```
flag{Th1s_g1thub_l00ks_a_l1l_sparc3}
```
+19
View File
@@ -0,0 +1,19 @@
# SQL Fun 1
## Web, 50
---
My Customer forgot his Password. His Fname is Jimmy. Can you get his password for me? It should be in the users table
---
Esto es uso de SQL, tenemos que encontrar el usuario Jimmy en la tabla users
```sql
select * from users where Fname='jimmy'
```
En el registro de la columna `Password` encontraremos la flag.
```
flag{SQL_F0r_Th3_W1n}
```
+24
View File
@@ -0,0 +1,24 @@
# SQL Fun 2
## Web, 50
---
A Client forgot his Password... again. Could you get it for me? He has a users account and his Lname is Miller if that helps at all. Oh! and Ken was saying something about a new table called passwd; said it was better to separate things.
---
Para este caso fue necesario hacer una union entre las distintas tablas.
```sql
select * from users join passwd where Lname='Miller'
```
Ahi encontramos la cadena `ZmxhZ3tXMWxsX1kwdV9KMDFOX00zP30=`, decodificando obtendremos la flag.
```
echo "ZmxhZ3tXMWxsX1kwdV9KMDFOX00zP30=" | base64 -d
```
```
flag{W1ll_Y0u_J01N_M3?}
```
+14
View File
@@ -0,0 +1,14 @@
# Things are not always what they seem
### Web, 50
---
If you can't find it you're not looking hard enough.
---
Revisando el código fuente de la página encontramos la flag.
```
flag{Whale_w0u1d_y0u_l00k3y_th3r3}
```