programmer_humor·Programmer HumorbyGollum User with this age already existsView original on feddit.de401Comments19Reply
21Cabbage replylemmynsfw.comWell I just got a great idea for next time I need to change a password.15Reply
ppaddirn lemmy.world6Hide 6 repliesIncredibly exclusive userbase, less than 100 users ever at any one time.15Reply
FaceDeer replykbin.social5Hide 5 repliesIf I encountered a system that badly designed, I would check to see if it takes non-integer ages and maybe get in that way.11Reply
CCanadaPlus replylemmy.sdf.org2Hide 2 repliesFailing that, there's also unreasonably large numbers and negative numbers.7Reply
BBeanie replyprogramming.dev1Hide 1 replyWhy stop there? How about a lil' white hat hacking with SQL injection :)4Reply
MMajorHavoc replylemmy.world3Hide 3 repliesEvery other user will also have grown a year older, so it will be fine.15Reply
MMajorHavoc replylemmy.worldWe will have to synchronize everyone's birthday, yes. Luckily, 40% of our users were born on January 1, anyway.14Reply
19 replies
https://xkcd.com/1700/
Well I just got a great idea for next time I need to change a password.
When you pick the wrong column for your primary key.
Incredibly exclusive userbase, less than 100 users ever at any one time.
If I encountered a system that badly designed, I would check to see if it takes non-integer ages and maybe get in that way.
Failing that, there's also unreasonably large numbers and negative numbers.
I'm 65535 years old, and you can't prove otherwise!
Only neanderthal kids will remember.
Why stop there? How about a lil' white hat hacking with SQL injection :)
bob'; DROP TABLE users;
What happens when a user grows a year older?
Every other user will also have grown a year older, so it will be fine.
Not at the same time!
We will have to synchronize everyone's birthday, yes.
Luckily, 40% of our users were born on January 1, anyway.
thatsthejoke.gif
I think, anyway.
A newborn user can register?
Enter NaN. Or else your age is just a number.
17.1
...and don't forget the matches...