TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An UPDATE without a WHERE, or something close to it

5 pointsby l0b0over 3 years ago

1 comment

l0b0over 3 years ago
My career in IT (at the uni support desk) started with me screwing up an UPDATE. The colleague setting up the internal system had typed in something close to `UPDATE users SET password = hash("`, and asked me to type in the password I wanted (this was the early 2000s and an internal system, so basically standard practice). In an effort to be "helpful" I finished the statement with `");` and pressed Enter. And that's how everyone had to reset their password.
评论 #28849800 未加载