The nicest thing I saw today

  • Yaky@slrpnk.net
    link
    fedilink
    arrow-up
    80
    arrow-down
    1
    ·
    3 months ago

    No vibe coding needed. Many years ago, my friend, a new yet overly-confident web developer, pulled the entire list of usernames and passwords from the back-end when the login page opened. It was to “check if password is correct faster”.

    (And yes, he stored passwords in plaintext)

    • kadu
      link
      fedilink
      arrow-up
      16
      ·
      3 months ago

      And why is the database storing the passwords in plain text? Sure the web dev is wrong, but the back end guy is not the brightest either.

      • faythofdragons@slrpnk.net
        link
        fedilink
        English
        arrow-up
        26
        ·
        3 months ago

        Having been there, it’s probably the same guy, lol

        Sometimes you really do just gotta learn the hard way.

      • viking@infosec.pub
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        That was pretty common some years back. Earlier versions of popular discussion boards like phpBB and stuff would store everything in the mysql db in plain text. The practice only changed when sql injections became popular with script kiddies. Malicious admins would also just check user’s email and password and try them elsewhere, reusing passwords was even more commonplace then than it still is today.