• 9point6@lemmy.world
    link
    fedilink
    arrow-up
    151
    ·
    18 days 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
          ·
          12 days 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
            ·
            12 days 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
        ·
        17 days 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.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      arrow-up
      18
      ·
      18 days ago

      It’s possible in general, but I don’t think that’s what’s going on specifically here; not many people read IP addresses in such detail to notice such things at first glance.

      • Cypher@aussie.zone
        link
        fedilink
        arrow-up
        11
        ·
        18 days ago

        It’s exactly what is happening, they’re filtering out people who know what an IP address is and can contain so that they get fewer time wasters.

    • Teddy Police@feddit.org
      link
      fedilink
      arrow-up
      15
      ·
      18 days 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.