This Python script checks a list of passwords against the Aries Online API to see if they have been pwned. The results are printed to the console with color-coded messages and saved to a text file with the current date.
- Reads passwords from a text file.
- Checks each password against the Aries Online API.
- Color-coded output for easy readability:
- Red: Password found and has been used.
- Yellow: Error in the API response.
- Green: Password not found in the database.
- Saves the results to
checked.txt
with the current date.
- Python 3.x
requests
librarycolorama
library
-
Create a
passwords.txt
file in the same directory as the script. Add one password per line. -
Run the script:
python3 script.py
-
The results will be displayed in the terminal with color-coded messages and saved to
checked.txt
with the current date.
Password: admin - Found: True - Used Times: 5453
Password: password123 - Not found in database
Password: letmein - Error: No password provided.
2024-07-26 - Password: admin - Found: True - Used Times: 5453
2024-07-26 - Password: password123 - Not found in database
2024-07-26 - Password: letmein - Error: No password provided.
This project is licensed under the MIT License - see the LICENSE file for details.
Project Link: https://support.api-aries.online/hc/articles/1/3/19/pwned-password-checker