As part of the devs farewell message on their site, they have included malicious code to make each visitor sends 2,000 requests to the dbzer0 servers in an attempt to DDOS and take the instance offline.

  • Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 days ago

    Expert dev. Doesn’t even know the attribute for setting the language in the script tag is type, not lang. Not to mention that you are encouraged to omit the attribute altogether if the script tag contains JavaScript…

    Petty, and a bad dev. Big yikes.

    • Leon@pawb.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      The random strikes me as curious too. I don’t see the point in doing (100 - 1 + 1), you could express a random number between 1 and 100 in a simpler manner. Then he gets another random number and reuses that three times, for whatever reason.

      Then again, none of his other decisions make much sense to me so why would this?

      • Ethanol@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        24 days ago

        I guess it’s just a pattern to easily get a number between a and b, going (b - a + 1). Or maybe this is just vibecoded lol

        Seeing (100 - 1 + 1) definitely bothers my brain lmao

        Looking closer, the whole calculation bothers me now. Why do floor() + 1 instead of just using ceil … arghhhh