
Un script de python3 que busca secretos en swaggerhub
Un script en python3 que busca secretos en swaggerhub
Introducción • Requisitos • Instalación • Uso • Explicación de la salida • Agradecimientos
Esta herramienta está hecha para automatizar el proceso de recuperación de secretos en las APIs públicas en swaggerHub. Esta herramienta es multihilo y el modo pipe está disponible :)
pip3 install swaggerhole
o clonando este repositorio y ejecutando
git clone https://github.com/Liodeus/swaggerHole.git
pip3 install .
_____ _ __ ____ _ ____ _ ____ _ ___ _____
/ ___/| | /| / // __ `// __ `// __ `// _ \ / ___/
(__ ) | |/ |/ // /_/ // /_/ // /_/ // __// /
/____/ |__/|__/ \__,_/ \__, / \__, / \___//_/
__ __ __ /____/ /____/
/ / / /____ / /___
/ /_/ // __ \ / // _ \
/ __ // /_/ // // __/
/_/ /_/ \____//_/ \___/
usage: swaggerhole [-h] [-s SEARCH] [-o OUT] [-t THREADS] [-j] [-q] [-du] [-de]
optional arguments:
-h, --help show this help message and exit
-s SEARCH, --search SEARCH
Término a buscar
-o OUT, --out OUT Directorio de salida
-t THREADS, --threads THREADS
Número de hilos (por defecto 25)
-j, --json Salida en JSON
-q, --quiet Eliminar banner
-du, --deactivate_url
Desactivar el filtrado de URL
-de, --deactivate_email
Desactivar el filtrado de correo electrónico
swaggerHole -s test.com
echo test.com | swaggerHole
swaggerHole -s test.com --json
echo test.com | swaggerHole --json
swaggerHole -s test.com -t 100
echo test.com | swaggerHole -t 100
Finding_Type - Finding - [Swagger_Name][Date_Last_Update][Line:Number]
{"Finding_Type": Finding, "File": File_path, "Date": Date_Last_Update, "Line": Number}
Usar -du o -de elimina el filtrado realizado por la herramienta. Hay más falsos positivos con esas opciones.
TODO