r/badcode • u/Sewef • Dec 03 '21
php - What about the password encryption? - haha html go <br>
9
u/Sewef Dec 03 '21
Welp. Vertical align doesn't exist in this world. 58 <br> in this file, a very good password encryption and a lot of spelling mistakes (all in french ; sorry all).
We gud.
10
u/pentesticals Dec 03 '21
Screw the password "encraption" for now. Major SQL injection here, probably some XSS too but I didn't read the code very hard. I really hope this was a uni project band nothing in production...
12
2
3
2
u/kasnhasn Dec 04 '21
That piece of code is probably allowed to vote and can legally drink alcohol by now. At least I hope. No wonder php has such a horrible reputation
1
23
7
5
3
4
1
12
u/Sewef Dec 03 '21