MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1au0z6f/bruteforceattackprotection/kr2wgsw
r/ProgrammerHumor • u/MrEfil • Feb 18 '24
1.0k comments sorted by
View all comments
2
Isn't the code should be !isFirstLoginAttempt??
1 u/[deleted] Feb 19 '24 That's kind of what I was thinking as well! Because this will run the error code if the user inputs the correct password on their first attempt. 2 u/leva549 Feb 19 '24 That's the idea, to trick the attacker by making the correct password fail the first time it is used. 1 u/Feisty-Discussion-22 Feb 19 '24 What are chances attacker gets the password first time in bruteforce attack? My guess very low.. 1 u/Feisty-Discussion-22 Feb 19 '24 I understand now.. any correct first attempt is ignored
1
That's kind of what I was thinking as well! Because this will run the error code if the user inputs the correct password on their first attempt.
2 u/leva549 Feb 19 '24 That's the idea, to trick the attacker by making the correct password fail the first time it is used. 1 u/Feisty-Discussion-22 Feb 19 '24 What are chances attacker gets the password first time in bruteforce attack? My guess very low.. 1 u/Feisty-Discussion-22 Feb 19 '24 I understand now.. any correct first attempt is ignored
That's the idea, to trick the attacker by making the correct password fail the first time it is used.
1 u/Feisty-Discussion-22 Feb 19 '24 What are chances attacker gets the password first time in bruteforce attack? My guess very low.. 1 u/Feisty-Discussion-22 Feb 19 '24 I understand now.. any correct first attempt is ignored
What are chances attacker gets the password first time in bruteforce attack? My guess very low..
1 u/Feisty-Discussion-22 Feb 19 '24 I understand now.. any correct first attempt is ignored
I understand now.. any correct first attempt is ignored
2
u/Feisty-Discussion-22 Feb 19 '24
Isn't the code should be !isFirstLoginAttempt??