740
submitted 9 hours ago by Quokka@quokk.au to c/fediverse@lemmy.world

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.

you are viewing a single comment's thread
view the rest of the comments
[-] Dojan@pawb.social 11 points 5 hours 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 4 points 2 hours 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

[-] victorz@lemmy.world 13 points 4 hours ago* (last edited 4 hours ago)

Yeah the - 1 + 1 was weird to me too, serves no purpose.

I can see how choosing a new random number for each fetch would prevent the server from caching the response, I suppose.

I can't imagine this code was written in any other fashion than completely rage-induced, with shaking fingers and high blood pressure. ๐Ÿ˜‚ What a putz.

[-] HarkMahlberg@kbin.earth 3 points 2 hours ago

I can't imagine this code was written in any other fashion than completely rage-induced, with shaking fingers and high blood pressure. ๐Ÿ˜‚ What a putz.

lmfao

I've drunk coded before (gotta hit the Ballmer Peak) but I don't know if I've ever rage coded before.

this post was submitted on 27 Jul 2026
740 points (100.0% liked)

Fediverse

43126 readers
1131 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 3 years ago
MODERATORS