124

PHP 🐘 is so damn easy to learn, run straighforward in all OSs, that anyone can start coding in no time. Therefore, the amount of crap code around, made by unskilled devs, is just *unbelievable*. 💩

Comments
  • 6
    The amount of people that write their own shitty login code instead of just using a simple library -_-
  • 9
    @LucaScorpion What if I tell you, that it's more fun to make it yourself instead of including a library. If you do good research, you can make it secure.
  • 4
    @Jifuna Oh yeah absolutely, but the problem is that a lot of people don't do that research.
  • 0
    @LucaScorpion haha, indeed that's true.
  • 4
    Insecure web apps are not restricted just to PHP
  • 9
    Waiting for a member of the Laravel cult to chime in.
  • 3
    @niko Here I am, member of the syntactic sugar club checking in
  • 0
  • 2
    @Jifuna It is important to know how the wheel is made indeed. To then improve it, not reinvent it.
  • 5
    @Jifuna One will never keep in mind all those security flaws a big bunch of very smart people have invested years of manhour in. Don't run your own security. You will not be en par with them even remotely, and it most likely won't be maintained that long. I remember going through a library's password comparison algorithm and was confused as to why they were comparing letter by letter even if they didn't match. Then it hit me: otherwise you could do a timing attack as faulty password would get rejected faster than those that matched more letters. They wanted to ensure that timing was always the same for a string of a given length. I never would have thought of that vector of attack. Build your own security library for the lulz and learning. Yet please don't deploy it anywhere.
  • 1
    @k0pernikus hmm, good point. I think you're right. Thanks for this insight. There are probably a lot of things not secure when I write the library, things I did'nt think off. In contrary when a whole team write it. The funny thing is though: on this moment I have a opensource project where I write a accountsystem library in php. Just for self reflection and learning.
  • 9
    @niko *raises paw* laravel cult member here.
  • 3
    @niko Laravel cult member checking in
  • 3
    *docks in the Laravel love boat* did someone call?
  • 1
    JavaScript too. It's way too mainstream and easy to get started (but not master), so you can see quite a lot of bad code being produced by newcomers.
  • 1
    @lotd That cat loves Laravel, but apparently hates Jews
  • 0
    @mclark1129 that's just old superstition. I'm afraid you're pawly wrong on that one :p
  • 1
    @niko Laravel cult member reporting here!
Add Comment