diff options
| author | jerome <jerome@xlinfo.fr> | 2025-10-12 12:26:58 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-10-12 12:26:58 +0200 |
| commit | c0939701729529e1910f0ff138f97dabd8b8411a (patch) | |
| tree | 4d6b31ca9df29fe85da0cdc7f9cd2d1ad103cf97 /www/page.php | |
| parent | ca7a1a2a894b1d0b02109f3c50934d333a27742a (diff) | |
| download | http-c0939701729529e1910f0ff138f97dabd8b8411a.tar.gz http-c0939701729529e1910f0ff138f97dabd8b8411a.zip | |
flag
Diffstat (limited to 'www/page.php')
| -rw-r--r-- | www/page.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/page.php b/www/page.php index e7ac2f2..92c6efb 100644 --- a/www/page.php +++ b/www/page.php @@ -15,10 +15,12 @@ { echo "<p>Votre OS favori est ".$_REQUEST['os']." !</p>"; } - if(isset($_COOKIE['date'])) - { - echo "<p>Nous sommes le ".date("Y-m-d H:i:s",$_COOKIE['date'])."</p>"; - } + if (preg_match( "/[Ll][Ii][Nn][Uu][Xx]/",$_REQUEST['os'])) + { + if(getenv('FLAG')){ + echo "<strong>Bien joué ! Ton flag est ".getenv('FLAG')."</strong>"; + } + } ?> </div> <p><a href="javascript:history.back()">Retour</a></p> |
