• 9point6@lemmy.world
    link
    fedilink
    arrow-up
    148
    ·
    1 month ago

    I often assume this kind of thing is part of an effort to filter for idiots

    If you know that’s an invalid IP address, you’re probably less likely to fall for the scam after the scammer has put the setup work in. So if they filter you out before a scammer has to spend any actual effort on you, that means more time they can spend scamming people who might be more likely to fall for it

    That’s why these things often have egregious spelling errors and other seemingly obvious red flags

        • zitrone 🍋@europe.pub
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          lemme try

          (25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}
          

          tbh i have seen the stackoverflow solutions so i kinda know what i needed to do

          this is entirely typed out from brain tho

          • toynbee@piefed.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            I’m currently on my phone and I’m not going to try to figure out how to test regex on Graphene. Therefore I can only say: well done!

      • entwine@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        I remember reading about this many years ago as an explanation for why there were so many banner ads that looked like they were created in MS paint.

    • Teddy Police@feddit.org
      link
      fedilink
      arrow-up
      15
      ·
      1 month ago

      Movies and TV shows actually do it this way to prevent actual machines getting group hugged.

      Like in that one X-Files episode, where the Lone Gunmen hack into an invalid IP.