• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Testing IP against a group of IPs

Enthusiast ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

Does anybody out there have a simple solution to scanning a range of IP's against a user's IP?

Let's say I have a group of IP's

123.456.654.10/50

111.222.333.444.5/20

I need a script where I guess I could put in the min and max and scan for a match against the end users IP #remote_addr#

So I'd be looking at all IP's in the range:

123.456.654.10

to 123.456.654.50

And the

111.222.333.444.5

to

111.222.333.444.20

Appreciate any help

Thanks

Mark

TOPICS
Advanced techniques

Views

251

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation