News for hackers. Stuff that matters.
Re:An administrator accidentally deleted the production data... by odinduty on Wednesday March 23, 2016 @07:41AM (#11343542)
I have a story about that based on real facts(TM): I once had to reset my own password on a production database and I decided to hash it by hand and UPDATE my row in the users table.

A few hours later we had got a few calls from angry customers who couldn't log in. I had effectively forgotten the WHERE clause so all users had the same password: mine.

Extra points for not having read the "xxx rows updated" line that the mysql console outputs after each query...

Re:An administrator accidentally deleted the production data... by Gigablah on Wednesday March 23, 2016 @08:53AM (#11343933)
Technically they didn't have the same password, unless you're saying that your passwords aren't salted ;)
Re:An administrator accidentally deleted the production data... by odinduty on Wednesday March 23, 2016 @09:07AM (#11344021)
I updated the hash and the salt in the same query. They weren't salted against the user id or anything like that, just a second column for the salt, which is... common practice.
Re:An administrator accidentally deleted the production data... by jsjohnst on Wednesday March 23, 2016 @09:16AM (#11344085)
where do you get that conclusion? There's a lot of ways the password could be literally the exact same string, yet still be salted and even peppered.
Re:An administrator accidentally deleted the production data... by mpnordland on Wednesday March 23, 2016 @11:57AM (#11345577)
I like adding garlic to my passwords, gives them a kick!
Re:An administrator accidentally deleted the production data... by jsjohnst on Wednesday March 23, 2016 @12:01PM (#11345632)
Your response could be taken as a joke (made me laugh anyway!), but also seriously too. If it was serious, what do you use as garlic and why?
Re:An administrator accidentally deleted the production data... by mpnordland on Friday March 25, 2016 @10:27PM (#11364179)
It was a joke, I'm not sure what garlic would be added to a password.