36 points · by boothead · 13y ago · 44 comments
I do have an ubuntuforums.org account and I DID use a random password so I WAS glad that I didn't have to rush to change all my passwords.
A bruteforcer might find a hash collision, but it's not likely to find the entire string {password}ubuntuforums.org unless it is actively looking for that string.
Granted ofcourse that all websites you do this on store their passwords securely.. if not then you are right, it is a terrible idea :P
$stored = md5(md5($password) + $salt);
That is the simple hash function.
function rHash( $rounds, $data, $salt ) {
$data = $data . $salt;
while( $rounds > 0 ) {
$data = hash( 'tiger160,4', $data );
$rounds--;
}
}
And call $stored = rHash( ( registered month + year ), $password );Or even the trusty old...
$stored = crypt( $password, '$2y$14$' . $salt . '$' );
If you're on PHP > 5.4 ( some hosts are still on older versions ), you should check out password_hash() : http://php.net/manual/en/function.password-hash.phpEdit: Fixed some typos.
[1] http://www.zdnet.com/25-gpus-devour-password-hashes-at-up-to...
There are sites you can just go to and they'll crack the passwords for you in no time at all.
Edit: aware of rainbow tables and salts and how hashes work etc etc. They are easy to crack if on password lists which they mostly are these days if you have a shit password which is 90%+ of us. Not only that, the $salt on a good chunk of vbulletin sites from vb2 days is not a strong salt.
Go here to get people to crack passwords for you: http://forum.md5decrypter.co.uk/default.aspx
With respect to the feasibility, it's really easy to do an md5 and you don't just do the whole list, you pick interesting email addresses and start there.
Many people reuse the same email and password on other services/websites, so this is pretty valuable and sensitive information.
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4...
any unimportant site that demands a high security password (or low-entropy with silly rules) get put into my keypass.
It allows for much easier filtering of my email as well: I only get the emails I care for in my inbox.