> For the complete documentation index, see [llms.txt](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/cryptograb-automatic-affiliate/zashita-bleka/zashita-bleka-opisanie.md).

# Защита Блека - описание

Для использования или понимания функции предстоит понимать что такое Keitaro и принципы работы клоаки. Так как это доп исключительно под Keitaro

Усложняем жизнь любителям тырить проклы: убираем возможность захода по прямой ссылке👇

Зачастую, когда люди нашли ваш прелендинг, они смотрят адрес, написанный в теге (так работает трекер Кейтаро), после чего выкачивают проклу именно по этому адресу. ХЗ почему и зачем, может быть у них WebScrapBook только в одном браузере установлен, может они WGet-ом хотят всё слить - вариантов масса.

Когда мы берём адрес из и заходим по нему, мы, по сути, "обходим" все механизмы фильтрации Кейтаро и поэтому можно не юзать прокси, не париться по поводу того с десктопа вы или с мобильного и т.д.

Чтобы предотвратить возможно захода к вам на преленд по "прямому" адресу достаточно сделать одну простую вещь - добавить проверку.

У Кейтаро есть масса внутренних объектов, которые доступны на любой php-странице. Один из этих объектов - это $rawClick (можете почитать про него в документации, если интересно), в котором хранится вся инфа по клику. Соответственно, нам достаточно проверить, доступен нам этот объект или нет. Если нет - значит это прямой заход и можно слать всех нахер🙃

Текст ошибке которую видят при заходе по прямой ссылке блека - можно сменить, но суть что человек не зайдет по прямому линку блека - потенциально нет возможности зарепортить наш Блек, так как не бот не ручной репорт не пропустит.


---

# 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://read.cryptograb.wiki/cryptograb-automatic-affiliate/cryptograb-automatic-affiliate/zashita-bleka/zashita-bleka-opisanie.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.
