Giter VIP home page Giter VIP logo

pwnedpass's Introduction

PwnedPasswords

NodeJS application for checking if your paasword has been leaked.

Utilitises the API https://haveibeenpwned.com/API/v2.

This application takes your password and creates an sha1 hash, it then sends the first 5 characters of this hash to the 'have i been pwned' api. This then returns a list of all leaked passwords matching the beginning of the hash and the count of each.

This application then filters to see if your password hash exists in the list of returned hashes.

Clone the repo

λ git clone [email protected]:mikeq/pwnedpass.git

Running

cd pwnedpass
λ yarn
...
λ node index.js -h
  ____                          _   ____                                     _
 |  _ \__      ___ __   ___  __| | |  _ \ __ _ ___ _____      _____  _ __ __| |___
 | |_) \ \ /\ / / '_ \ / _ \/ _` | | |_) / _` / __/ __\ \ /\ / / _ \| '__/ _` / __|
 |  __/ \ V  V /| | | |  __/ (_| | |  __/ (_| \__ \__ \\ V  V / (_) | | | (_| \__ \
 |_|     \_/\_/ |_| |_|\___|\__,_| |_|   \__,_|___/___/ \_/\_/ \___/|_|  \__,_|___/

Usage: node index.js <password>

Options:
  --version   Show version number                                      [boolean]
  -h, --help  Show help                                                [boolean]

Copyright © 2019 Mike Quinn

λ node index.js password1
  ____                          _   ____                                     _
 |  _ \__      ___ __   ___  __| | |  _ \ __ _ ___ _____      _____  _ __ __| |___
 | |_) \ \ /\ / / '_ \ / _ \/ _` | | |_) / _` / __/ __\ \ /\ / / _ \| '__/ _` / __|
 |  __/ \ V  V /| | | |  __/ (_| | |  __/ (_| \__ \__ \\ V  V / (_) | | | (_| \__ \
 |_|     \_/\_/ |_| |_|\___|\__,_| |_|   \__,_|___/___/ \_/\_/ \___/|_|  \__,_|___/

Your password 'password1' has been leaked 2401761 times.

λ node index.js sdfjhksjhwjhkdfhadf
  ____                          _   ____                                     _
 |  _ \__      ___ __   ___  __| | |  _ \ __ _ ___ _____      _____  _ __ __| |___
 | |_) \ \ /\ / / '_ \ / _ \/ _` | | |_) / _` / __/ __\ \ /\ / / _ \| '__/ _` / __|
 |  __/ \ V  V /| | | |  __/ (_| | |  __/ (_| \__ \__ \\ V  V / (_) | | | (_| \__ \
 |_|     \_/\_/ |_| |_|\___|\__,_| |_|   \__,_|___/___/ \_/\_/ \___/|_|  \__,_|___/

Your password 'sdfjhksjhwjhkdfhadf' has not been leaked

pwnedpass's People

Contributors

mikeq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.