News for hackers. Stuff that matters.
Re:"Pwned Passwords" V2 With Half a Billion Passwords by mino on Wednesday February 21, 2018 @05:56PM (#16433718)
Just added an extra line to the bash wrapper to print how many time the given password appears in the dump:

https://gist.github.com/mino98/8aa240fa55a8182198fba58fb810b...

Re:"Pwned Passwords" V2 With Half a Billion Passwords by Ixio on Thursday February 22, 2018 @09:47AM (#16437850)
If you prefer a one-liner like me, the following line works for me:

VARPWD=P@ssw0rd; HASH=`echo -n $VARPWD | sha1sum`; curl --silent https://api.pwnedpasswords.com/range/`cut -b 1-5 <(echo $HASH)` --stderr - | grep -i `cut -b 6- <(echo $HASH) | cut -d ' ' -f 1`

If it doesn't return anything than your password isn't in the list. You should probably start your line with a space so that it isn't recorded in your bash_history.

If someone else can make it better or shorter, be my guest.