you are viewing a single comment's thread
view the rest of the 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