천잰데? 칭찬해줘야지..
무차별 대입(Brute Force) 공격의 원리를 정말 잘 이해고 만든 코드네 ㅋㅋ
무차별 대입(Brute Force) 공격의 원리를 정말 잘 이해고 만든 코드
// brute-force attack protection
if isPasswordCorrect && isFirstLoginAttempt {
Error("Wrong login or password")
}
근데 생각해보니 저 로직에서 패스워드 확인은 없어도 될 듯.. 이렇게..
// brute-force attack protection
if isFirstLoginAttempt {
Error("Wrong login or password")
}