20
jeeper
5y

So these motherfuckers... they have stored the queries to generate the reports... fucking guess where. Just guess.

They stored the queries AS FUCKING STRING DATA IN THE TABLE. And you know how they get the parameters? A FUCKING JOIN WHERE THEY HAVE STORED THE PARAMS AS DATA IN ANOTHER TABLE.

So you query set the params to query to get the query to get that is joined with a query to get the reports.

If God is a programmer after all y’all are fuuuuuuuuuuuuuucked

Comments
  • 1
    ... Starter course in SQL and never bothered to learn it for real. I hate those people.
  • 1
    This is so cringy just imaging it gives me horror even annabelle can't compare to this... damn
  • 1
    Wait, you store SQL in your database as strings? Sounds like SQL injection time... lol
  • 1
    @noobrants I thought about this too. Like hey let’s just leverage the sql injection vulnerability to our own ends. It’s like they invented a new anti pattern: SQL injection as a critical component.
Add Comment