
Outil OSINT pour trouver les mots de passe d'adresses e-mail compromises

Créé par Lohitya Pushkar (thewhiteh4t).
Twitter
-
Blog
| Disponible | dans | |
|---|---|---|
| BlackArch Linux | SecBSD | Tsurugi Linux |
![]() | ![]() | ![]() |
pwnedOrNot fonctionne en deux phases. Dans la première phase, il teste l'adresse email donnée en utilisant HaveIBeenPwned v3 API pour vérifier si le compte a été compromis dans le passé, et dans la deuxième phase, il recherche le mot de passe dans les fuites publiques disponibles.
[!IMPORTANT]
Une clé API est requise pour utiliser l'outil. Vous pouvez acheter une clé sur le site HIBP lié ci-dessous
https://haveibeenpwned.com/API/v3
Outils de collecte OSINT pour Pastebin - Jake Creps
https://github.com/thewhiteh4t/pwnedOrNot/wiki/Changelog
haveibeenpwned fournit beaucoup d'informations sur l'email compromis, pwnedOrNot affiche les informations les plus utiles telles que :
Les chances de trouver des mots de passe dépendent des facteurs suivants :
Les utilisateurs de Windows sont invités à utiliser Kali Linux WSL2 ou une 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
# Utilisation de la variable d'environnement :
export PWNED_API_KEY="<hibp-api-key>"
# Utilisation de l'argument CLI :
python3 pwnedornot.py -e [email protected] -k <hibp-api-key>
# Utilisation du fichier de configuration :
nano ~/.config/pwnedornot/config.json
{
"api_key": "<hibp-api-key>"
}
# Vérifier un seul email
python3 pwnedornot.py -e <email>
#OU
python3 pwnedornot.py --email <email>
# Vérifier plusieurs emails depuis un fichier
python3 pwnedornot.py -f <file name>
#OU
python3 pwnedornot.py --file <file name>
# Filtrer le résultat pour un nom de domaine [Ex : adobe.com]
python3 pwnedornot.py -e <email> -d <domain name>
#OU
python3 pwnedornot.py -f <file name> --domain <domain name>
# Obtenir uniquement les infos de fuite, ignorer les dumps de mots de passe
python3 pwnedornot.py -e <email> -n
#OU
python3 pwnedornot.py -f <file name> --nodumps
# Obtenir la liste de tous les domaines compromis
python3 pwnedornot.py -l
#OU
python3 pwnedornot.py --list
# Vérifier si un domaine est compromis
python3 pwnedornot.py -c <domain name>
#OU
python3 pwnedornot.py --check <domain name>