# File Smuggling with HTML & JS

First, you created a payload, and you need to publish it over a website. So, we should turn our payload to downloadable resources from the website.&#x20;

You can find a good example below.

{% embed url="<https://www.ired.team/offensive-security/defense-evasion/file-smuggling-with-html-and-javascript>" %}

We'll work with HTML and JavaScript, which means we can write this page in many different versions.

{% hint style="info" %}
If you are creating a phishing site you should consider browser compatibility. IE and other Modern Browsers may not support each other's API's.
{% endhint %}


---

# 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://lookbook.cyberjungles.com/osep-preperation-notes/file-smuggling-with-html-and-js.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.
