Skip to content

Python script to check a LastPass CSV export file against the Pwned Passwords database.

License

Notifications You must be signed in to change notification settings

VincentZalzal/check_lastpass_pw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_lastpass_pw

This is a simple python script to check a password CSV export file against the Pwned Passwords database. This should work directly with LastPass, Keepass, and Bitwarden export files.

Requirements

  • Python 3 (3.6 on Windows if using non-ASCII characters)
  • requests

How to export a LastPass CSV file

In your browser, open the LastPass extension menu and choose More Options -> Advanced -> Export -> LastPass CSV File. Copy and paste the content into a new text file. To avoid having to modify the script, name the file export.csv, and save it next to the python script.

Note: the first row of the CSV file is assumed to contain the column names. It should contain either 'password', 'Password', or 'login_password'.

Note: the script assumes the CSV file is encoded in utf-8.

Run

Simply type python check_lastpass_pw.py.

Note: if you are using Windows and the CSV file contains non-ASCII characters, you may get an error on the print command. Use python 3.6 or later to solve the issue.

About

Python script to check a LastPass CSV export file against the Pwned Passwords database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages