# Mot de passe ?

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

{% file src="/files/CTkW5VGfNyMrvHgdIY3p" %}

**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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://writeups.ayweth20.com/2022/404ctf/reverse/mot-de-passe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
