hacktricks/pentesting-web/xss-cross-site-scripting/xss-tools.md

75 lines
4.7 KiB
Markdown
Raw Normal View History

2023-06-06 18:56:34 +00:00
# Ferramentas de XSS
2022-04-28 16:01:33 +00:00
<details>
2023-04-25 18:35:28 +00:00
<summary><a href="https://cloud.hacktricks.xyz/pentesting-cloud/pentesting-cloud-methodology"><strong>☁️ HackTricks Cloud ☁️</strong></a> -<a href="https://twitter.com/hacktricks_live"><strong>🐦 Twitter 🐦</strong></a> - <a href="https://www.twitch.tv/hacktricks_live/schedule"><strong>🎙️ Twitch 🎙️</strong></a> - <a href="https://www.youtube.com/@hacktricks_LIVE"><strong>🎥 Youtube 🎥</strong></a></summary>
2022-04-28 16:01:33 +00:00
2023-06-06 18:56:34 +00:00
* Você trabalha em uma **empresa de segurança cibernética**? Você quer ver sua **empresa anunciada no HackTricks**? ou você quer ter acesso à **última versão do PEASS ou baixar o HackTricks em PDF**? Confira os [**PLANOS DE ASSINATURA**](https://github.com/sponsors/carlospolop)!
* Descubra [**A Família PEASS**](https://opensea.io/collection/the-peass-family), nossa coleção exclusiva de [**NFTs**](https://opensea.io/collection/the-peass-family)
* Adquira o [**swag oficial do PEASS & HackTricks**](https://peass.creator-spring.com)
* **Junte-se ao** [**💬**](https://emojipedia.org/speech-balloon/) [**grupo do Discord**](https://discord.gg/hRep4RUj7f) ou ao [**grupo do telegram**](https://t.me/peass) ou **siga-me** no **Twitter** [**🐦**](https://github.com/carlospolop/hacktricks/tree/7af18b62b3bdc423e11444677a6a73d4043511e9/\[https:/emojipedia.org/bird/README.md)[**@carlospolopm**](https://twitter.com/hacktricks_live)**.**
* **Compartilhe suas técnicas de hacking enviando PRs para o [repositório hacktricks](https://github.com/carlospolop/hacktricks) e [hacktricks-cloud repo](https://github.com/carlospolop/hacktricks-cloud)**.
2022-04-28 16:01:33 +00:00
</details>
2022-10-03 09:49:04 +00:00
## XSStrike
```bash
git clone https://github.com/s0md3v/XSStrike.git
2022-10-03 09:49:04 +00:00
cd XSStrike
pip install -r requirements.txt
python xsstrike.py
python xsstrike.py -u "http://SERVER_IP:PORT/index.php?task=test"
```
2023-06-06 18:56:34 +00:00
**Uso básico (Get):**\
2022-10-03 09:49:04 +00:00
python3 xsstrike.py --headers -u "http://localhost/vulnerabilities/xss\_r/?name=asd"\
2023-06-06 18:56:34 +00:00
**Uso básico (Post):**\
python xsstrike.py -u "http://exemplo.com/search.php" --data "q=consulta"\
**Crawling (profundidade padrão = 2):**\
python xsstrike.py -u "http://exemplo.com/pagina.php" --crawl -l 3\
**Encontrar parâmetros ocultos:**\
python xsstrike.py -u "http://exemplo.com/pagina.php" --params\
**Extra:**\
2023-06-06 18:56:34 +00:00
\--headers #Definir cabeçalhos personalizados (como cookies). É necessário definir a cada vez\
\--skip-poc\
2023-06-06 18:56:34 +00:00
\--skip-dom #Pular a verificação de XSS no DOM
2022-10-03 09:49:04 +00:00
## BruteXSS
```
git clone https://github.com/rajeshmajumdar/BruteXSS
```
2023-06-06 18:56:34 +00:00
Ferramenta para encontrar parâmetros vulneráveis (GET ou POST) para XSS usando uma lista de payloads com interface gráfica.\
Cabeçalhos personalizados (como cookies) não podem ser configurados.
2022-10-03 09:49:04 +00:00
## XSSer
[https://github.com/epsylon/xsser](https://github.com/epsylon/xsser)\
2023-06-06 18:56:34 +00:00
Já vem instalado no Kali.\
Ferramenta completa para encontrar XSS.
2023-06-06 18:56:34 +00:00
**Uso básico (GET):**\
\
2023-06-06 18:56:34 +00:00
A ferramenta não envia o payload:(
2022-10-03 09:49:04 +00:00
## XSSCrapy
```
git clone https://github.com/DanMcInerney/xsscrapy
```
2023-06-06 18:56:34 +00:00
Não recomendado. Muita saída desnecessária e não funciona corretamente.
2022-10-03 09:49:04 +00:00
## Dalfox
[https://github.com/hahwul/dalfox](https://github.com/hahwul/dalfox)
2022-04-28 16:01:33 +00:00
<details>
2023-04-25 18:35:28 +00:00
<summary><a href="https://cloud.hacktricks.xyz/pentesting-cloud/pentesting-cloud-methodology"><strong>☁️ HackTricks Cloud ☁️</strong></a> -<a href="https://twitter.com/hacktricks_live"><strong>🐦 Twitter 🐦</strong></a> - <a href="https://www.twitch.tv/hacktricks_live/schedule"><strong>🎙️ Twitch 🎙️</strong></a> - <a href="https://www.youtube.com/@hacktricks_LIVE"><strong>🎥 Youtube 🎥</strong></a></summary>
2022-04-28 16:01:33 +00:00
2023-06-06 18:56:34 +00:00
* Você trabalha em uma **empresa de segurança cibernética**? Você quer ver sua **empresa anunciada no HackTricks**? ou você quer ter acesso à **última versão do PEASS ou baixar o HackTricks em PDF**? Confira os [**PLANOS DE ASSINATURA**](https://github.com/sponsors/carlospolop)!
* Descubra [**A Família PEASS**](https://opensea.io/collection/the-peass-family), nossa coleção exclusiva de [**NFTs**](https://opensea.io/collection/the-peass-family)
* Adquira o [**swag oficial do PEASS & HackTricks**](https://peass.creator-spring.com)
* **Junte-se ao** [**💬**](https://emojipedia.org/speech-balloon/) [**grupo do Discord**](https://discord.gg/hRep4RUj7f) ou ao [**grupo do telegram**](https://t.me/peass) ou **siga-me** no **Twitter** [**🐦**](https://github.com/carlospolop/hacktricks/tree/7af18b62b3bdc423e11444677a6a73d4043511e9/\[https:/emojipedia.org/bird/README.md)[**@carlospolopm**](https://twitter.com/hacktricks_live)**.**
* **Compartilhe seus truques de hacking enviando PRs para o [repositório hacktricks](https://github.com/carlospolop/hacktricks) e [hacktricks-cloud repo](https://github.com/carlospolop/hacktricks-cloud)**.
2022-04-28 16:01:33 +00:00
</details>