> For the complete documentation index, see [llms.txt](https://centinels.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://centinels.gitbook.io/home/writeups/n00bzctf/forensics-wave.md).

# forensics/wave

387 points

Writeup by Victor

We're given what appears to be a corrupted .wav file. Media Player practically screams this if you try opening it and playing the audio. If you try to open the file normally in [Audacity](https://www.audacityteam.org/download/) (the best application for audio ctf challenges btw) it won't let you because, as hinted already, the file is corrupt. But there's one way to open corrupt files in Audacity: by importing the raw data of the file.

<figure><img src="https://815482121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfFcGsyFpBWGm4LhF9wJx%2Fuploads%2FysAJArOhhiuwrqp3MbSE%2Fimage_2024-08-14_222254730.png?alt=media&amp;token=9d8b4ca8-2508-4902-8ec8-7feee2577349" alt=""><figcaption><p>Importing raw data in Audacity</p></figcaption></figure>

With the audio file successfully opened in Audacity, you should see something like this:

<figure><img src="https://815482121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfFcGsyFpBWGm4LhF9wJx%2Fuploads%2FJ8Wmshy2w3IqqClx5lcb%2Fimage_2024-08-14_221134736.png?alt=media&amp;token=0a3fb77d-a0ae-4297-9c74-1389bf45ba00" alt=""><figcaption><p>Visualization of the audio</p></figcaption></figure>

I wouldn't recommend clicking the play button (speaking from experience here). But what you should notice are the lengths of each audio segment. They're all either wide or thin, no in between. This should immediately scream out to you "MORSE CODE"!

<figure><img src="https://815482121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfFcGsyFpBWGm4LhF9wJx%2Fuploads%2FuYzbb4eD1Ahh4moTbXkB%2Fimage_2024-08-14_221646789.png?alt=media&amp;token=7fef4628-e0da-462f-ba80-f10d66fdc047" alt=""><figcaption><p>Morse code on the bottom</p></figcaption></figure>

As drawn at the bottom of the image, the morse could is "-... . . .--. -... --- .--. -- --- .-. ... . -.-. --- -.. ." and if you input that into a [morse code translator](https://morsecode.world/international/translator.html), you should get the output of "BEEPBOPMORSECODE".

<figure><img src="https://815482121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfFcGsyFpBWGm4LhF9wJx%2Fuploads%2FUKH0yOykwj2zQWkHVlOx%2Fimage_2024-08-14_221947389.png?alt=media&amp;token=44c6d7d0-f0cb-43c1-91d3-7e7e45f7cd75" alt=""><figcaption><p>Morse code translation</p></figcaption></figure>

Flag: `n00bz{beepbopmorsecode}` \*challenge tells you the text is in all lowercase


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://centinels.gitbook.io/home/writeups/n00bzctf/forensics-wave.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
