# Mario bros!

![Screenshot of challenge](/files/6Qb1jcNDEEhY8OLjeySI)

### Description

Read the flag!

`nc 159.223.209.120 7777`

### Hint

Mario's favorite shortcut!

### Writeup

When you run the program it will look something like this

![output](/files/wPs6Df1al3ox6Iy3gRP8)

So, from this we can notice one thing, it is taking input and printing the same input. We can find printing or formatting vulnerabilities.

Yes, we know such payload: `& cat flag.txt`

![& cat flag.txt](/files/NIbfeA60EHDPO1S17C3J)

And boom, we got the flag 🎉

### Flag

`EZ-CTF{UNSECUR3_B4SH}`


---

# 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://krishnan-navadia.gitbook.io/ez-ctf/ez-ctf-pwn/mario-bros.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.
