
Ferramenta OSINT para Encontrar Senhas de Endereços de E-mail Comprometidos

Criado por Lohitya Pushkar (thewhiteh4t).
Twitter
-
Blog
| Disponível | em | |
|---|---|---|
| BlackArch Linux | SecBSD | Tsurugi Linux |
![]() | ![]() | ![]() |
pwnedOrNot funciona em duas fases. Na primeira fase, ele testa o endereço de email fornecido usando HaveIBeenPwned v3 API para descobrir se a conta foi violada no passado e na segunda fase ele procura a senha em dumps públicos disponíveis.
[!IMPORTANT]
Uma Chave de API é necessária para usar a ferramenta. Você pode adquirir uma chave no site do HIBP linkado abaixo
https://haveibeenpwned.com/API/v3
Ferramentas de Coleta OSINT para Pastebin - Jake Creps
Revista eForensics Maio de 2020
https://github.com/thewhiteh4t/pwnedOrNot/wiki/Changelog
haveibeenpwned oferece muitas informações sobre o email comprometido, o pwnedOrNot exibe as informações mais úteis, tais como:
As chances de encontrar senhas dependem dos seguintes fatores:
Usuários do Windows são aconselhados a usar Kali Linux WSL2 ou uma VM
Ubuntu / Kali Linux / Nethunter / Termux
git clone https://github.com/thewhiteh4t/pwnedOrNot.git
cd pwnedOrNot
chmod +x install.sh
./install.sh
BlackArch Linux
pacman -S pwnedornot
Docker
git clone https://github.com/thewhiteh4t/pwnedOrNot.git
docker build -t pon .
docker run -it pon
cd pwnedOrNot
git pull
python3 pwnedornot.py -h
usage: pwnedornot.py [-h] [-e EMAIL] [-f FILE] [-s SAVE] [-d DOMAIN] [-b BREACH]
[-n] [-l] [-c CHECK] [-k KEY]
options:
-h, --help show this help message and exit
-e, --email EMAIL Email address
-f, --file FILE input file with multiple email addresses
-s, --save SAVE Output file for pwned email addresses
-d, --domain DOMAIN Filter results by domain name
-b, --breach BREACH Get info about a breach by breach name
-n, --nodumps Only Check Breach Info and Skip Password Dumps
-l, --list Get List of all pwned Domains
-c, --check CHECK Check if your Domain is pwned
-k, --key KEY API Key
# Usando variável de ambiente:
export PWNED_API_KEY="<hibp-api-key>"
# Usando argumento CLI:
python3 pwnedornot.py -e [email protected] -k <hibp-api-key>
# Usando arquivo de configuração:
nano ~/.config/pwnedornot/config.json
{
"api_key": "<hibp-api-key>"
}
# Check Single Email
python3 pwnedornot.py -e <email>
#OR
python3 pwnedornot.py --email <email>
# Check Multiple Emails from File
python3 pwnedornot.py -f <file name>
#OR
python3 pwnedornot.py --file <file name>
# Filter Result for a Domain Name [Ex : adobe.com]
python3 pwnedornot.py -e <email> -d <domain name>
#OR
python3 pwnedornot.py -f <file name> --domain <domain name>
# Get only Breach Info, Skip Password Dumps
python3 pwnedornot.py -e <email> -n
#OR
python3 pwnedornot.py -f <file name> --nodumps
# Get List of all Breached Domains
python3 pwnedornot.py -l
#OR
python3 pwnedornot.py --list
# Check if a Domain is Pwned
python3 pwnedornot.py -c <domain name>
#OR
python3 pwnedornot.py --check <domain name>