you are viewing a single comment's thread
view the rest of the comments
[–] 173 points 3 months ago* (last edited 3 months ago) (20 children)

The Dubvee site is being used for crime. AdmiralPatrick has included JavaScript at the end of the page to send 1,000 requests per visit to dbzer0 to attempt to DDOS them.

This is illegal and extremist behaviour.

  • source
  • hideshow 20 child comments
  • [–] [S] 105 points 3 months ago (12 children)

    wait, for real?.... holyshit, you're right

    I'll remove the link the original post.

  • source
  • parent
  • hideshow 12 child comments
  • [–] 25 points 3 months ago (7 children)

    I've never done much in JavaScript but isn't (100 - 1 + 1) just 100? Am I missing some JS magic?

  • source
  • parent
  • hideshow 7 child comments
  • [–] [S] 33 points 3 months ago

    that section of the script is just generating a random number (two actually) that it'll use to try and pull up a page.

    Better read, is this a a loop of 500. In that loop there are 4 page accesses being attempted.

    • a modlog page at the first random index
    • a modlog page at the second random index
    • then a search for the second index
    • then another search for "fuck" + the second index number

    so it uses your computer 500 times to access their page 4 different ways.

    If anything, I undershot the estimate (their random number is sloppy, and will have collisions). But assuming they don't have any collisions, they use your computer to ping dbzero0 2000 times

  • source
  • parent
  • [–] 21 points 3 months ago (2 children)

    The two answers you got didn't really answer your question. I'm still with you as far as confusion about not making * (100 - 1 + 1) just 100.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 20 points 3 months ago* (1 child)

    ohshi, yea, you're right. I totally spaced that.... why didn't he just write 100 there? I get the last +1 in the floor function to keep it non-zero....

    I think bro just script-kiddied a random number script.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 14 points 3 months ago (2 children)

    BTW, there's a bug in Lemmy where editing out a URL won't work over federation, you'll need to change the URL to something else to remove it.

  • source
  • parent
  • hideshow 2 child comments