# Mot de passe ?

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

{% file src="<https://4219205392-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fybn4btwQnvitOl9uXz9p%2Fuploads%2FuPwa78MavncHdf64WIet%2FMdp.class?alt=media&token=0e7df44b-08c2-428f-9c12-40712c05e1dd>" %}

**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 = "")
```

<details>

<summary>🚩 FLAG</summary>

```
404CTF{C3_sYst3mE_es7_5ecUrisE}
```

</details>
