# Set CUSTOM User-Agent for PHISHLETs

A `custom_ua` field has been added to each phishlet in the configuration. Allows users to specify a custom User-Agent, which will be injected into the HTTP request before sending it to the server.

Some websites deliver different content depending on the User-Agent, and manipulating the User-Agent can help bypass certain security measures.

**Usage:**\
Simply update the `custom_ua` field like so: `phishlets custom_ua <phishlet> "<ua>"`

<figure><img src="/files/LYz68LDTtozDPHKJu9qn" alt=""><figcaption></figcaption></figure>

**Log output:**\
NOTE: When a "new visitor has arrived" it will print the original User-Agent but will send to the server the custom one.'

<figure><img src="/files/MSgVo74R0MPGg4IPQKul" alt=""><figcaption></figcaption></figure>


---

# 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://rproxylab.gitbook.io/evilginx-lab-by-cfs0x/basics/modified-extensions/set-custom-user-agent-for-phishlets.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.
