• 0 Posts
  • 76 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle
  • There are a couple that come to mind.

    Definitely the worst, a C# .net mvc application with multiple controllers that were 10s of thousands of lines long. I ran sonarqube on this at one point and it reported over 70% code duplication.

    This code base actively ignored features in the framework that would have made things easier and instead opted to do things in ways that were both worse, and harder to do. For example, all SQL queries were done using antiquated methods that, as an added benefit, also made them all injectable.

    Reading the code itself was like looking at old school PHP, but c#. I know that statement probably doesn’t make sense, but neither did the code.

    Lastly, there was no auth on any of the endpoints. None. There was a login, but you could supply whatever data you wanted on any call and the system would just accept it.

    At the time I was running an internal penetration test team and this app was from a recent acquisition. After two weeks I had to tell my team to stop testing so we could just write up what we had already and schedule another test a couple months down the line.







  • Fuck it, just to be a little bit contarian, how much of a selection bias do you think might actually be present in the assumption “…then why don’t the rich ascend to this purer existence in a trailer park? Why is it always the poors?”

    For sure we hear about the people that get rich and only want to get richer and fuck over everyone that gets in their way, but personally now that I think about it, I actually do know a few people that got lucky, made a bit, and thought “fuck it, I’m done. I’m going to go farm and smoke weed” or some similar equivalent. You’d never hear about those kind of people unless you directly know them. How many trust fund kids are out there just chilling and enjoying life without trying to exploit everyone around them?