This Phishing email... What is the IP?

https://programming.dev/post/47352704

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

Just because I know what a valid IP is doesn’t mean I’m not an idiot 😎
Let’s see you write a regex for one, then we’ll decide.
Why would anyone want to do that when there are dozens on stackoverflow?

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}
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!