this post was submitted on 18 Aug 2024
848 points (99.0% liked)

Cybersecurity - Memes

1995 readers
1 users here now

Only the hottest memes in Cybersecurity

founded 1 year ago
MODERATORS
848
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

Last week, I tried to register for a service and was really surprised by a password limit of 16 characters. Why on earth yould you impose such strict limits? Never heard of correct horse battery staple?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 3 months ago (2 children)

ADD FIELD PASSWORD VARCHAR(16)

[–] [email protected] 10 points 3 months ago

SELECT * FROM users WHERE name = "$name" OR password = "$password"

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (2 children)
sqlquery = "INSERT INTO users (username, password) VALUES ('" + username + "', '" + password + "')"

What could go wrong?

[–] [email protected] 14 points 3 months ago* (last edited 3 months ago) (1 children)

Password=a");drop table users;--

Alas, it's longer than 16 characters. Protection works!

[–] [email protected] 5 points 3 months ago

They often don't allow semicolons but it's never stopped me from checking

[–] [email protected] 3 points 3 months ago (1 children)

John O'neill always wonder why there are all these strange computer errors around him when he is about to sign up something. Oh, John O'neill, poor guy...

[–] [email protected] 4 points 3 months ago