1239
submitted 1 day 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
[-] aura@lemmy.dbzer0.com 9 points 23 hours ago

it's not exactly the formula i posted but the principle is kinda the same

if u see it like this:

let min = 1
let max = 100
let random = Math.floor(Math.random() * (max - min + 1)) + min

the diff is that it's inclusive of max (bc of +1) and it always returns an integer (bc of Math.floor)

btw not defending this abomination of a man in javascript language or anything lol

[-] HereIAm@lemmy.world 3 points 23 hours ago

I can see the logic in that ๐Ÿ™‚

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

Fediverse

43143 readers
1165 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