Skip to content

Simple .net core command line utility for checking your pwned passwords against Troy Hunt's Have I Been Pwned? service

License

Notifications You must be signed in to change notification settings

hoppushoppard/pwned-password-check-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pwned-password-check-net

Simple .net core command line utility for checking your pwned passwords against Troy Hunt's Have I Been Pwned? service.

Usage

Build from source code

Clone this repository and compile with dotnet tooling. (or visual studio code)

Download

Download from AppVeyor continuous integration. Latest build

Export passwords

Export your passwords to csv file, with structure

Account LoginName Password WebSite
My favourite service your_account@your_domain.com password www.myfavouriteservice.nowhere
This is default export from KeePass.

Run

There are two parameters

Paremeter Long Name Description
p path Path to your csv file
l layout Layout

Currently only layout implemented is KeePass layout

Command line

dotnet pwned-password-check-net.dll -p path_to_csv -l KeePass

Sample output

This tool will group output according to your logins and for each login tries if password was compromised.

Login: your_login@your_domain.com, Breaches: breach1, breach2
Possible pwned password - Account: My Favourite Page, Password: abcd123
....
....
Login: your_another_login@your_another_domain.com, Breaches: breach3, breach4
Possible pwned password - Account: Some Page, Password: 123abcd
....
....

Remarks

This tool uses c# implementation of Troy's Hunt pwned api SharpPwned.NET.

Mathematical property called k-Anonymity is used to check if the password was compromised.

  1. None of your passwords ever leaves your computer.
  2. We can't say if combination of your account and the password was compromised. If account is listed in the output, we are sure that account was compromised. If password was listed, we are sure that this password was compromised.

If you have pretty unique password and is listed as compromised, there is quite a chance, it is your account.

Act accordingly.

And always use password manager.

Issues and PRs

Please report issues. Pull Requests are welcomed !

About

Simple .net core command line utility for checking your pwned passwords against Troy Hunt's Have I Been Pwned? service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages