The first part of this authentication function is actually doing its job—checking if the password matches. But then comes the security masterpiece: if (true == true)
. Congratulations, you've created the digital equivalent of a bouncer who checks your ID and then lets you in anyway because "yep, gravity still works!" This function will authenticate literally anyone who gets past the first check... or fails it and just keeps trying. Security experts hate this one weird trick!
Terrible Auth: The Digital Doorman Who Always Says Yes
6 months ago
200,923 views
0 shares

security-memes, authentication-memes, cpp-memes, bad-code-memes, if-true-memes | ProgrammerHumor.io
More Like This
Code These Vibes (And Leak Those Passwords)
4 months ago
214.7K views
1 shares

C Is Uncontrollable
4 months ago
227.4K views
1 shares

Or He Is Just Running Htop
6 months ago
183.0K views
0 shares

Always Test In Production
6 months ago
178.9K views
2 shares

Who Turned Off Transaction Logging To Save Space?
2 months ago
180.8K views
0 shares

What My Boss Thinks My Job Is
4 months ago
185.1K views
0 shares

Loading more content...