The script I vibe coded to automate part of my job. It's sloppy and unrefined, but it works, and saves me a ton of effort.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics

Unless I'm missing something, this is a pretty bog standard SQL injection, yeah?
Doom original source code, codebase is very messy and looks like my grandpa scrimbles on paper.
Speaking as an old person, back then they didn't have the same concerns. Security? Ehh just don't let bad guys access your computer.
Yeah a lot of old programs are either great programming or terrible.
Doesn't that mean that your encryption algorithm and key is stored inside the code?
And since you are opening the code in Visual Studio anyway, just follow the function called by the "Decrypt" button, copy the function into another project and now you have a decryptor.
Php, ob_start + ob_clean and friends. On backend. Nothing could go wrong, right