Aller au contenu

Special

Writeup de Arnold-26, repris avec son autorisation. Source : cylab-academy-writeups — challenge #377, résolu le 2026-11-23. Flags tronqués.

Catégorie : Général Skills · Challenge : #377 · Résolu le : 2026-11-23

Énoncé

Don't power users get tired of making spelling mistakes in the shell? Not anymore! Enter Special, the Spell Checked Interface for Affecting Linux. Now, every word is properly spelled and capitalized... automatically and behind-the-scenes! Be the first to test Special in beta, and feel free to tell us all about how Special streamlines every development process that you face. When your co-workers see your amazing shell interface, just tell them: That's Special (TM)

Start your instance to see connection details.

Résolution

Méthode : bypass du spell-checker par variables.

Le shell (/usr/local/Special.py) capitalise le premier caractère de chaque mot et corrige l'orthographe, ce qui casse ls->Ls, cat->Cat. Il refuse aussi les chemins avec / en tete. Bypass : affecter une variable dont le nom est Déjà une majuscule : A=ls;$A puis A=cat;$A blargh/*. Le spell-checker change même les arguments (blargh -> large), donc garder les globs.

Flag

academy{...}