# WebNet0

## Problem

> We found this packet capture and key. Recover the flag. You can also find the file in /problems/webnet0\_0\_363c0e92cf19b68e5b5c14efb37ed786.

* [Packet Capture](https://github.com/HHousen/PicoCTF-2019/tree/24b0981c72638c12f9a8572f81e1abbcf8de306d/Forensics/WebNet0/capture.pcap)
* [Key](https://github.com/HHousen/PicoCTF-2019/tree/24b0981c72638c12f9a8572f81e1abbcf8de306d/Forensics/WebNet0/picopico.key)

## Solution

1. Open in Wireshark
2. Go to Edit > Preferences > Protocols > TLS > RSA keys list
3. Add the key to the list (don't worry about ip and other columns)
4. Flag is in decrypted TLS section of the now visible HTTP packets

   ```
   HTTP/1.1 200 OK
   Date: Fri, 23 Aug 2019 15:56:36 GMT
   Server: Apache/2.4.29 (Ubuntu)
   Last-Modified: Mon, 12 Aug 2019 16:50:05 GMT
   ETag: "5ff-58fee50dc3fb0-gzip"
   Accept-Ranges: bytes
   Vary: Accept-Encoding
   Content-Encoding: gzip
   *Pico-Flag: picoCTF{nongshim.shrimp.crackers}*
   Content-Length: 821
   Keep-Alive: timeout=5, max=100
   Connection: Keep-Alive
   Content-Type: text/html
   ```

### Flag

`picoCTF{nongshim.shrimp.crackers}`


---

# 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://picoctf2019.haydenhousen.com/forensics/webnet0.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.
