# Task 4 - Beepboop - Robots.txt

## Task 4 - Beepboop - Robots.txt

### Where would "robots.txt" be located on the domain "**ablog.com**"&#x20;

{% hint style="warning" %}
**HINT:** full path!
{% endhint %}

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`ablog.com/robots.txt`

</details>

### If a website was to have a sitemap, where would that be located?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`/sitemap.xml`

</details>

### How would we only allow "Bingbot" to index the website?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`User-agent: Bingbot`

</details>

### How would we prevent a "Crawler" from indexing the directory "/dont-index-me/"?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`Disallow: /dont-index-me/`

</details>

### What is the extension of a Unix/Linux system configuration file that we might want to hide from "Crawlers"?

{% hint style="warning" %}
**HINT:** system files are usually 3/4 characters!
{% endhint %}

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`.conf`

</details>


---

# 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://thmflags.gitbook.io/thm-walkthroughs/difficulty-easy/google-dorking/task-4-beepboop-robots.txt.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.
