All Projects → xmatthias → pywnedpasswords

xmatthias / pywnedpasswords

Licence: MIT license
Checkt pwnedpasswords.com in a secure way

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pywnedpasswords

pwnedpasswords
A wrapper for PwnedPasswords API by Troy Hunt (haveibeenpwned.com).
Stars: ✭ 14 (-36.36%)
Mutual labels:  password, pwnedpasswords
chinese-diceware
Diceware word lists in Chinese
Stars: ✭ 27 (+22.73%)
Mutual labels:  password
cells-client
Command line client to communicate with cells REST api.
Stars: ✭ 17 (-22.73%)
Mutual labels:  api-client
jacky
🐄 HTTP JSON API Client for Laravel & Lumen
Stars: ✭ 17 (-22.73%)
Mutual labels:  api-client
NEMO
Modeling Password Guessability Using Markov Models
Stars: ✭ 46 (+109.09%)
Mutual labels:  password
Clamor
The Python Discord API Framework
Stars: ✭ 14 (-36.36%)
Mutual labels:  api-client
turaku-client
Web / Electron client application for Turaku
Stars: ✭ 27 (+22.73%)
Mutual labels:  password
braze-php-sdk
A PHP client to interact with Braze API
Stars: ✭ 15 (-31.82%)
Mutual labels:  api-client
backlog kit
Client library for the Nulab's Backlog API version 2 written in Ruby.
Stars: ✭ 28 (+27.27%)
Mutual labels:  api-client
Compressed2TXT
File(s)/Folder(s) "Send to" menu .bat ascii encoder with optional password and makecab lzx compression
Stars: ✭ 156 (+609.09%)
Mutual labels:  password
pyFireEye
Python API bindings for FireEye Products
Stars: ✭ 12 (-45.45%)
Mutual labels:  api-client
mongoose-pii
A Mongoose plugin that lets you transparently cipher stored PII and use securely-hashed passwords
Stars: ✭ 43 (+95.45%)
Mutual labels:  password
ssc-restapi-client
Communicate with Fortify Software Security Center through REST API in java, a swagger generated client
Stars: ✭ 13 (-40.91%)
Mutual labels:  api-client
SRP
Secure Remote Password (SRP) for Swift
Stars: ✭ 44 (+100%)
Mutual labels:  password
v-shopware-api-client
The reliable way to import and update a bazillion products.
Stars: ✭ 20 (-9.09%)
Mutual labels:  api-client
nis-python-client
Python client for NEM NIS API (https://nemproject.github.io). XEM\NEM\Crypto
Stars: ✭ 16 (-27.27%)
Mutual labels:  api-client
bitflyer-api-dotnet-client
bitFlyer HTTP APIs Client Library for .NET (C#)
Stars: ✭ 23 (+4.55%)
Mutual labels:  api-client
LBFH
About All in one tool for Information Gathering, Vulnerability Scanning and Crawling. A must have tool for all penetration testers
Stars: ✭ 46 (+109.09%)
Mutual labels:  password
dnsimple-python
The DNSimple API client for Python.
Stars: ✭ 66 (+200%)
Mutual labels:  api-client
keepassxc-pwned
Check your keepassxc database against previously breached haveibeenpwned passwords
Stars: ✭ 25 (+13.64%)
Mutual labels:  password

pywnedPasswords

Build Status

This script uses the pwnedpasswords.com v2 api to check your password in a secure way (using the K-anonymity method)

The full Hash is never transmitted over the wire, only the first 5 characters. The comparison happens offline.

Special thanks to Troy Hunt (@troyhunt) for making this project possible.

Installation

pip install pywnedpasswords

Usage

Interactive

pywnedpasswords

Insert your password when asked.

the output will either be:

Password to check:

Found your password 47205 times.

or in case your password is secure

Password to check:

Your password did not appear in PwnedPasswords yet.

Passing the password as a command line argument

Discouraged - as it might leaves the password in your shell history

pywnedpasswords Passw0rd

Found your password 46980 times.

Piping the password

Discouraged - as it might leaves the password in your shell history

echo -n 'Passw0rd!' | pywnedpasswords 

Found your password 46980 times.

Reading passwords from a file

pywnedpasswords -f list-of-passwords.txt

Result is in the form: <line number>: <number of time the password was found>. 0 meaning the password is not known from Have I Been Pwned yet.

0: 7026
1: 45337
2: 376
3: 51
4: 27
5: 11
6: 136
7: 1
8: 6
9: 1
10: 0
11: 0
12: 0

Exit code

The pywnedpasswords exits with code 2 if the password is know of Have I Been Pwned already, and exit code 0 otherwise.

© xmatthias 2018

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].