> For the complete documentation index, see [llms.txt](https://the-winrars.gitbook.io/writeups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-winrars.gitbook.io/writeups/2020-writeups/houseplant/fire-place.md).

# Fire-place

firebase challenge!!! looks like theres a write call to the database in the network requests. quick look at the javascript confirms this. the offending function `sendTHEPIXEL():`

```
db.collection("board").doc("data").update(docdata)
```

lets just change 'data' to 'flag' and a write request to a read request. im sure the flag isnt actually flag lol.... the documentation for that can be found here: <https://firebase.google.com/docs/firestore/query-data/get-data#web_1> so we enter into the console:

```
db.collection("board").doc("flag").get().then(function(doc {console.log(doc.data())})
```

and in response we get:

### "Never gonna give you up":

```
We're no strangers to love  
You know the rules and so do ...   
Never gonna tell a lie and hurt you   
Never gonna give you up   
Never gonna let you down   
Never gonna run around and desert you   
Never gonna make you cry  
Never gonna say goodbye   
Never gonna tell a lie and hurt you"
```

​"flag!!!!!!!!!!!!!": `"rtcp{d0n't_g1ve_us3rs_db_a((3ss}"` ​ fuck.

## rtcp{d0n't\_g1ve\_us3rs\_db\_a((3ss}


---

# 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://the-winrars.gitbook.io/writeups/2020-writeups/houseplant/fire-place.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.
