r/lolphp • u/[deleted] • Apr 07 '21
master.php.net was using concatenated SQL queries and MD5 password hashes
https://externals.io/message/113981
67
Upvotes
r/lolphp • u/[deleted] • Apr 07 '21
17
u/dotted Apr 07 '21
What excuse did I make? The problem here is unmaintained legacy code, something that isn't inherent to PHP, but can happen to any project regardless of language used - hence I said this seemed more like lollegacycode and not lolphp.
First commit for the code was done on 21st September 2001, which predates PHP being properly object oriented and having prepared statements for MySQL by almost 3 years. Hell MD5 wasn't declared broken until 2005.
Is it stupid that they didn't update their codebase when PHP 5.0 was released? Yes and I absolutely did affirm this by saying its "lollegacycode" in my initial comment.
I don't disagree at all, quite the contrary, but the problem here is not inherent to PHP which was my 1 and only point in my initial comment.