Passwords.txt — [best]
Developers are the worst offenders. A junior developer hardcodes a database password into a Python script, tests it locally with passwords.txt , and then accidentally git push es it to a public repository. Within 10 minutes, automated bots (GitHub scanners) have cloned the file. Within an hour, your AWS console is being logged into from a foreign IP address.
Concluding recommendations (concise)
def verify_password(stored_password, provided_password): salt = stored_password[:16] stored_password = stored_password[16:] new_hash = hashlib.pbkdf2_hmac('sha256', provided_password.encode('utf-8'), salt, 100000) return new_hash == stored_password passwords.txt
The existence of passwords.txt is ultimately a symptom of a problem that modern technology is trying to solve. Passwords vs. Pass Phrases - Coding Horror Developers are the worst offenders
: When you create a new password, the application checks your choice against this list. If your password matches one in the file, the app warns you that your password is too weak [4, 6]. Within an hour, your AWS console is being
: It contains roughly 30,000 common passwords, names, and popular words.