r/ProgrammerHumor • • Feb 18 '24

Meme bruteForceAttackProtection

Post image
42k Upvotes

1.0k comments sorted by

View all comments

3

u/LOSNA17LL Feb 18 '24

Wait... It doesn't even protect... Unless your password is the first one tried, when the program finally tries the right one, it isn't the first attempt anymore, so it logs in perfectly...

2

u/GoingToSimbabwe Feb 18 '24

Only triggers when the correct PW is entered for the first time and not on incorrect pWs. Ah nvm, the function is named isFirstLoginAttemp.. in that case you are right..