# Wizard

## What should we do?

You have stumbled upon a wizard on your path to the flag. You must answer his questions!\
\
**We are seeing some trouble with the very last question, asking for hexadecimal, when it really takes the answer in plaintext. We are rebuilding the challenge image but in the interim, please send it the&#x20;*****plaintext*****&#x20;rendition of your answer for question 6.**

![](/files/M27y0sHWSYc3uu30PvXm)

## What did we do!

We just answered questions :)

<details>

<summary>First Question: What is the ASCII plaintext corresponding to this binary string? 010110100110010101110010011011110111001100100000001001100010000001001111011011100110010101110011</summary>

pt = `Zeros & Ones`

</details>

<details>

<summary>Second Question: What is the ASCII plaintext corresponding to this hex string? 4f6820776f77777721204261736520313020697320636f6f6c20616e6420616c6c2062757420486578787878</summary>

pt = `Oh wowww! Base 10 is cool and all but Hexxxx`

</details>

<details>

<summary>Third Question: What is the ASCII plaintext corresponding to this octal string? (HINT: octal -> int -> hex -> chars) 535451006154133420162312701623127154533472040334725553046256234620151334201413347444030460563312201673122016730267164</summary>

pt = `We can represent numbers in any base we want`

</details>

<details>

<summary>Fourth Question: What is the ACII representation of this integer? (HINT: int -> hex -> chars) 8889185069805239596091046045687553579520816794635237831028832039457</summary>

pt = `This is one big 'ol integer!`

</details>

<details>

<summary>Fifth Question: What is the ASCII plaintext of this Base64 string? QmFzZXMgb24gYmFzZXMgb24gYmFzZXMgb24gYmFzZXMgOik=</summary>

pt = `This is one big 'ol integer!`

</details>

<details>

<summary>Last Question: What is the Big-Endian representation of this Little-Endian hex string? 293a2065636e657265666669642065687420776f6e6b206f7420646f6f672073277449</summary>

hex (Big-Endian) = `It's good to know the difference :)`

</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://alyrezo.gitbook.io/nahamcon-ctf/warmups/wizard.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.
