
Herramienta para encontrar archivos JavaScript en sitios web
Scripthunter es una herramienta que encuentra archivos JavaScript para un sitio web determinado. Para escanear Google, simplemente ejecuta ./scripthunter.sh https://google.com. Ten en cuenta que puede llevar un tiempo, por lo que scripthunter también implementa un mecanismo de notificación para informarte cuando un escaneo finaliza mediante la API de Telegram. Blogpost

Para instalar scripthunter, clona este repositorio. Scripthunter depende de algunas herramientas que deben estar instaladas, así que asegúrate de tenerlas:
por favor, asegúrate de que, dado que la mayoría de estas herramientas están escritas en Go, tengas Go instalado y configurado correctamente. Asegúrate de que cuando escribas cualquiera de los comandos anteriores en la terminal, sean reconocidos y funcionen.
Además, scripthunter usa Telegram para enviarte una notificación una vez que un escaneo finalice. Para habilitar esta función, necesitas crear un Bot de Telegram y pegar tu clave de API de Bot y chatid en el script de scripthunter. Puedes seguir esta guía para obtener estos valores.

Ejecuté esto en un subdominio aleatorio de verizon:
➜ scripthunter-dev ./scripthunter.sh https://developer.verizonmedia.com/
_ __ __ __
___ ________(_)__ / /_/ / __ _____ / /____ ____
(_-</ __/ __/ / _ \/ __/ _ \/ // / _ \/ __/ -_) __/
/___/\__/_/ /_/ .__/\__/_//_/\_,_/_//_/\__/\__/_/
/_/
by @r0bre
[*] Running GAU
[+] GAU found 7 scripts!
[*] Running hakrawler
[+] HAKRAWLER found 5 scripts!
[*] Found 2 directories containing .js files.
[*] Running FFUF on https://developer.verizonmedia.com/./
[+] FFUF found 0 scripts in https://developer.verizonmedia.com/./ !
[*] Running FFUF on https://developer.verizonmedia.com/assets/
[+] FFUF found 0 scripts in https://developer.verizonmedia.com/assets/ !
[*] Running FFUF on https://developer.verizonmedia.com/assets/js/
[+] FFUF found 0 scripts in https://developer.verizonmedia.com/assets/js/ !
[*] Running FFUF on https://developer.verizonmedia.com/js/
[+] FFUF found 0 scripts in https://developer.verizonmedia.com/js/ !
[*] Running FFUF on https://developer.verizonmedia.com/static/
[+] FFUF found 0 scripts in https://developer.verizonmedia.com/static/ !
[*] Running FFUF on https://developer.verizonmedia.com/static/js/
[+] FFUF found 7 scripts in https://developer.verizonmedia.com/static/js/ !
[*] Running FFUF on https://developer.verizonmedia.com/static/js/vendor/
[+] FFUF found 3 scripts in https://developer.verizonmedia.com/static/js/vendor/ !
[+] Checking Script Responsiveness of 13 scripts..
https://developer.verizonmedia.com/static/js/vendor/js-cookie.js
https://developer.verizonmedia.com/static/js/jquery-3.3.1.min.js
https://developer.verizonmedia.com/static/js/autotrack.js
https://developer.verizonmedia.com/static/js/utils.js
https://developer.verizonmedia.com/static/js/navigation.js
https://developer.verizonmedia.com/static/js/vendor/rapidworker-1.2.js
https://developer.verizonmedia.com/static/js/vmdn.js
https://developer.verizonmedia.com/static/js/right-nav.js
[+] All Done!
[+] Found total of 13 (8 responsive) scripts!
Si te gusta esta herramienta, ¡considera seguirme en Twitter @r0bre! ;)