this post was submitted on 27 Jul 2026
1102 points (99.2% liked)

Fediverse

43141 readers
1909 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
 

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
[โ€“] Mniot@programming.dev 4 points 3 hours ago (1 children)

Who wrote these regex? They are terrible:

  • We've got a capture-group for the numbers (the () means we're saving that part for later). Are we planning to do something with the mlg numbers? Why don't we care about the mmmberry numbers?
  • The capture is one or more numbers, but then it's an optional group. Write ([0-9]*) instead
  • We match mlg and mlg1 but not mlga because we anchor to the end ($). But not on mmmberry--that one will match "mmmberry5" (but we don't track the number!) but also "mmmberry_is_the_worst" so the enemy of my enemy is also my enemy because they share a prefix

Maybe mlg has sock-puppet accounts mlg1, mlg2, but never MLG?

[โ€“] Die4Ever@retrolemmy.com 1 points 2 hours ago

I wouldn't be shocked if he just pointed an LLM at a dump of posts and comments and asked it to write a list of regexes for stuff he doesn't like