> For the complete documentation index, see [llms.txt](https://picoctf2019.haydenhousen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picoctf2019.haydenhousen.com/forensics/m00nwalk.md).

# m00nwalk

## Problem

> Decode this message from the moon. You can also find the file in /problems/m00nwalk\_6\_811c5485a374101cc212434dc2601130.

* [Message](https://github.com/HHousen/PicoCTF-2019/tree/24b0981c72638c12f9a8572f81e1abbcf8de306d/Forensics/m00nwalk/message.wav)

## Solution

1. The hint suggests that this is related to how images from the moon landing were transmitted back to earth. Some research leads to [SSTV](https://en.wikipedia.org/wiki/Slow-scan_television). Note: Originally I solved this challenge using [this program for Windows](http://users.belgacom.net/hamradio/rxsstv.htm) but since then I found an easier way that works within Kali Linux (see next step).
2. [This tutorial](https://ourcodeworld.com/articles/read/956/how-to-convert-decode-a-slow-scan-television-transmissions-sstv-audio-file-to-images-using-qsstv-in-ubuntu-18-04) ([Archive](https://web.archive.org/web/20200602003341/https://ourcodeworld.com/articles/read/956/how-to-convert-decode-a-slow-scan-television-transmissions-sstv-audio-file-to-images-using-qsstv-in-ubuntu-18-04)) explains how to convert the audio file to an image.
3. Install `qsstv` with `apt-get install qsstv`
4. Run `pactl load-module module-null-sink sink_name=virtual-cable`
5. Run `pavucontrol`. A GUI will pop-up, go to the "Output Devices" tab to verify that you have the "Null Output" device.
6. Run `qsstv`. The program GUI will pop-up, go to "Options" -> "Configuration" -> "Sound" and select the "PulseAudio" Audio Interface
7. Back in the `pavucontrol` GUI, select the "Recording" tab and specify that QSSTV should capture audio from the Null Output
8. The hint asked "What is the CMU mascot?" - the answer is "Scotty the Scottie Dog". This hinted that we should select "Scottie 1" as QSSTV's "Mode". Select "Auto Slant" as well.
9. Run `paplay -d virtual-cable message.wav` to create the image: ![QSSTV finished image](/files/-MZKDIxfNXGowXDBNM4I)
10. Unload the virtual audio cable so audio will play normally:

    ```
    $ pactl list short modules | grep null
    25      module-null-sink        sink_name=virtual-cable
    $ pactl unload-module 25
    ```

### Flag

`picoCTF{beep_boop_im_in_space}`


---

# 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 dynamically by asking a question.

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

```
GET https://picoctf2019.haydenhousen.com/forensics/m00nwalk.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.
