Thursday, June 7, 2012

Linked in password breach. How to check if you are effected?

Just heard the new of linked account breach.  Quickly came up with this shell command to check if your password is compromised. Just replace the mypassword with your password.


$ wget -qO- http://www.leakedin.org/?check=`echo -n "mypassword" | openssl sha1` | grep 'class="danger-zone"' | grep -Po ">.*?<" | head -n1

If your password hash is in the compromised list then the command will echo following message 
>Your password was leaked and cracked. <

Credits: Due credit goes to  http://www.leakedin.org , whose back end this command uses.


No comments: