passcheck

command module
v0.0.0-...-94c4147 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 12 Imported by: 0

README

passcheck

Check passwords against Pwned Passwords

install

go install github.com/mokytis/passcheck@main

usage

passwords from stdin
$ cat passwords.txt
password1
averysecurepassword
thispasswordissecret
secret
passcheck4lyfe

$ cat passwords.txt | passcheck
thispasswordissecret
password1
secret
passwords from a file
$ cat passwords.txt
password1
averysecurepassword
thispasswordissecret
secret
passcheck4lyfe

$ passcheck < passwords.txt
thispasswordissecret
password1
secret
show the password count

The -c flag shows you how many times each password has been pwned

$ passcheck -c < passwords.txt
password1:2413945
secret:235493
thispasswordissecret:14
we must go faster

The -w flag lets you increase the amount of go workers

$ passcheck -w 30 < passwords.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL