
Um script python3 que busca por secret no swaggerhub
Um script em python3 para buscar segredos no swaggerhub
Introdução • Requisitos • Instalação • Uso • Explicação da saída • Agradecimentos
Esta ferramenta foi feita para automatizar o processo de obtenção de segredos nas APIs públicas do swaggerHub. Esta ferramenta é multithreaded e o modo pipe está disponível :)
pip3 install swaggerhole
ou clonando este repositório e executando
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 mostra esta mensagem de ajuda e sai
-s SEARCH, --search SEARCH
Termo para pesquisar
-o OUT, --out OUT Diretório de saída
-t THREADS, --threads THREADS
Número de threads (Padrão 25)
-j, --json Saída em JSON
-q, --quiet Remove banner
-du, --deactivate_url
Desativar a filtragem de URL
-de, --deactivate_email
Desativar a filtragem de email
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 ou -de remove a filtragem feita pela ferramenta. Há mais falsos positivos com essas opções.
TODO