# Automated XSS

{% hint style="info" %}
[https://medium.com/@DrakenKun/how-i-was-able-to-find-4-cross-site-scripting-xss-on-vulnerability-disclosure-program-e2f39199a](https://medium.com/@DrakenKun/how-i-was-able-to-find-4-cross-site-scripting-xss-on-vulnerability-disclosure-program-e2f39199ae16)
{% endhint %}

1. **`paramspider`**
2. **`gau`**
3. **`kxss`**
4. **`Arjun`**

### ParamSpider

Paramspider is used for digging parameters. These parameters are in **`FUZZ`** formated ,So it  can be used with Fuzzing like , fuff for several kinds of vuln  such as  XSS, SQL injection, SSRF, or open redirect.

It collect it's urls from web archiave.

```bash
python3 paramaspider -d example.com -o parameters.txt 
```

### kxss

kxss used for detecting xss. if check for unescaped " < > .

```bash
cat parameters.txt | kxss 
```

### gau

get all urls (gau) fetches known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, Common Crawl, and URLScan for any given domain. Inspired by Tomnomnom's [waybackurls](https://github.com/tomnomnom/waybackurls).

```bash
gau example.com | grep "anything"
```

**Arjun**

arjun is used for finding parameter in a specific path.

```
arjun -u example.com/login.php
```


---

# 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://shahidulandshamim.gitbook.io/web-application/testing-process/automated-xss.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.
