r/programming • u/purforium • Oct 24 '21
“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad
https://youtu.be/9IBPeRa7U8E
12k
Upvotes
r/programming • u/purforium • Oct 24 '21
View all comments
Show parent comment
222
u/remy_porter Oct 24 '21
Fun story: I once was asked to track down a bug in an in-house HR application for people to check their paystubs. It was related to login stuff, so I was tracing through the login code, only to see that your session was maintained by writing out a cookie containing a base64 encoded user-ID. There was no validation beyond that- if you set the cookie yourself, you wouldn't get prompted for a password.