Password cracking is the systematic endeavor of discovering the password of a secure system. Cracking can involve using common passwords, cleverly generated candidate passwords (for example, replacing the letter O with the number 0 or writing a word backward), or just using a plain bruteforce exhaustive search. To make it more difficult to crack a password, a strong password must be chosen.
Assessing password security using ML
Getting ready
To prepare for this recipe, we need to install pandas, sklearn, and xgboost in pip. Use the following code to do so:
pip install pandas sklearn xgboost
In addition, extract the archived dataset, that is, PasswordDataset.7z.