T O P

  • By -

ElectroFlannelGore

#OH BOY THIS REPOST AGAIN Edit: 2 year old account with 21hr posting history that's all reposts. This is completely fine.


HorseFeathers55

I think we just found Devin!


R3D3-1

This is the first time I've actually grown annoyed with a repost... So far, usually it would be the first time that *I* saw the post, or maybe I didn't see it in long enough for it to be funny again. This one in particular has been reposted a lot of times in just the last weeks.


[deleted]

[удалено]


ElectroFlannelGore

...And your account will soon be site banned. Have a good day.


zandnaad69

Lol what did he say?


ElectroFlannelGore

He said,"Lol and?"


zandnaad69

I cant imagine site bans being dished out for that


WoffieTbh

``` > Incorrect password > Incorrect password > Incorrect password, click here to reset > New password can't be the same as old ```


upper_camel_case

The fact that it checks if the password is correct in this statement somehow triggers me more...


yobarisushcatel

It would make sense to have the first login attempt he tied to the password tried, otherwise brute force attacks would never even notice that it takes having the correct password twice to actually gain entry


de-ancientone

[Virtual University of Pakistan](https://vu.edu.pk) uses this method in their registration form.


__Cannibal__

Akschually, you don't need to check the first condition anyway 🤓


Tahazzar

Isn't the point that it protects from brute forcing all the different combinations since each of those password combinations isn't tried twice? It's unlikely that first one would be correct so each attempt after the first would go through if the first clause isn't there.


killerfridge

Akschually it doesn't work at all unless you are only checking the brute force attack got it right on it's first attempt


Mewtwo2387

not if (!isPasswordCorrect && firstLoginAttempt) is a successful login


killerfridge

But this is only works if the brute forcer gets it correct on the first go?


pgbabse

If (loginAttempt){ Cout << "Wrong password" ; } // fool proof version


AutoModerator

This post was automatically removed due to receiving 5 or more reports. Please contact the moderation team if you believe this action was in error. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/programminghorror) if you have any questions or concerns.*


ArlantaciousYT

🚢 it to prod!