851
submitted 2 years ago* (last edited 2 years ago) by cron@feddit.org to c/cybersecuritymemes@lemmy.world

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
[-] HowManyNimons@lemmy.world 23 points 2 years ago

ADD FIELD PASSWORD VARCHAR(16)

[-] cron@feddit.org 6 points 2 years ago* (last edited 2 years ago)
sqlquery = "INSERT INTO users (username, password) VALUES ('" + username + "', '" + password + "')"

What could go wrong?

[-] Gremour@lemmy.world 14 points 2 years ago* (last edited 2 years ago)

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

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

[-] _bcron@midwest.social 5 points 2 years ago

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

load more comments (2 replies)
load more comments (3 replies)
this post was submitted on 18 Aug 2024
851 points (98.7% liked)

Cybersecurity - Memes

4189 readers
1 users here now

Only the hottest memes in Cybersecurity

founded 2 years ago
MODERATORS