Mot de passe ?

Category: Reverse - Points: 100 - Difficulty: Intro - Solves: 492

Description:

Nous avons retrouvé un petit ordinateur avec un drôle de programme pour chiffrer le mot de passe administrateur. Ta mission est simple : déchiffrer ce mot de passe !

Solution:

For this introductory challenge, we notice a strange string when opening the Mdp.class file. You can notice that the hide function performs an ascii offset that can be simply reversed with a small python script:

string = "4/2@PAu<+ViNgg%^5NS`#J\u001fNK<XNW(_"
for i in range(len(string)) :
    print(chr(ord(string[i])+i), end = "")
🚩 FLAG
404CTF{C3_sYst3mE_es7_5ecUrisE}

Last updated