> For the complete documentation index, see [llms.txt](https://ctf.zeyu2001.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ctf.zeyu2001.com/2021/inctf-2021/listen.md).

# Listen

## Challenge

The quieter you become, the more you are able to listen.

**Author:** [f4lc0n](https://twitter.com/theevilsyn)

## Solution

Upon connecting to the VPN, I started sniffing for packets using Wireshark (the challenge name kind of gave it away!).

![](/files/-MhEdQtFs2f5kki5EKkp)

172.30.0.8 is constantly trying to initiate connections to some seemingly random ports on our machine. Obviously, those ports aren't open, so our machine sends an RST, and no connection is established.

Listening on any of these ports gives us a lot of lorem ipsum text.

![](/files/-MhEeLiziv7f5JcGgqGw)

If we look at the statistics, we can see that while the ports are seemingly randomly chosen, two ports (31336 and 31337) are receiving way more traffic than the rest.

![](/files/-MhEe54R9LZVUc6jyRux)

I kept listening on port 31337, and eventually, the flag appeared in one of the messages.

![](/files/-MhEeJYSCj-ron8L63wb)

The flag is `inctf{s0_y0u_finally_d3cid3d_t0_listen!!}`


---

# 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, and the optional `goal` query parameter:

```
GET https://ctf.zeyu2001.com/2021/inctf-2021/listen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
