🚩 Capture the flag — édition web
5 épreuves qui apprennent comment fonctionne le web, avec la commande curl.
Chaque drapeau est personnel : remplace TonPseudo par ton pseudo de recensement.
- 1. L'en-tête caché —
curl https://www.terminagotchi.com.terminagotchi.com/ctf/TonPseudo/1 - 2. Le fichier des robots —
curl https://www.terminagotchi.com.terminagotchi.com/ctf/TonPseudo/2 - 3. Le guichet —
curl https://www.terminagotchi.com.terminagotchi.com/ctf/TonPseudo/3 - 4. Le cookie de confiance —
curl https://www.terminagotchi.com.terminagotchi.com/ctf/TonPseudo/4 - 5. La boîte JSON —
curl https://www.terminagotchi.com.terminagotchi.com/ctf/TonPseudo/5
Comment valider
Dans le jeu (PC ou téléphone) : drapeau TG{…}. Le serveur vérifie et te délivre un badge vérifié.
Sur PC, curl est déjà installé (Linux, Mac, Windows 10+). Sur Android, utilise Termux
(pkg install curl).
Pourquoi c'est légal et éthique
Ces épreuves sont faites pour être « attaquées ». S'entraîner sur des systèmes dont on n'a pas l'autorisation est illégal : les vrais hackers éthiques ne testent que ce qu'on leur permet de tester.