PCDC (Pwned Company Directory Checker)
This bash script was designed to check a list of company emails aganst the https://haveibeenpwned.com/API/v2. It provides a readable CLI output and, if needed, a CSV output.
Clone the repository.
git clone https://github.com/M1ndFl4y/pcdc.git
Change the premissions of pcdc.sh to run for you.
chmod +x pcdc.sh
How to use
Replace the list of targets in the sample targets.txt file with the group of emails you want to check. Then run the script.
or with logging
- Troy Hunt -This script is junk without his amazing work and the HIBP site. https://haveibeenpwned.com/About