Solved

IP Information Script

Posted on 2012-04-10
5
472 Views
Last Modified: 2013-12-25
Hi,

I always have a list of IPs from my system and I always want to know the following:

1. Region (AP/EU/US, etc.)
2. Owner of the IP
3. the ISP that the IP connects to if possible

Do you recommend a script for me?

Thanks and regards,
W
0
Comment
Question by:williamwlk
  • 2
  • 2
5 Comments
 
LVL 30

Assisted Solution

by:IanTh
IanTh earned 150 total points
ID: 37826904
1 see http://www.geobytes.com/iplocator.htm

this could help
http://www.ip2location.com/demo
I know its not a script
0
 
LVL 11

Accepted Solution

by:
un1x86 earned 350 total points
ID: 37827500
Hi

Here a simple PHP Whois script
http://www.phpeasycode.com/whois/

It is free and easy to implement. You can find a demo here
http://www.phpeasycode.com/showdemo.php?target=/whois/whois.php
0
 

Author Comment

by:williamwlk
ID: 37828312
Paid services are not so ok with me coz not that i don't wanna pay but that, it is not my core interest yet.

http://www.phpeasycode.com/whois/

this is good enough for me as a start.

But, how can I run it as a script or wrap it in cmd line:

# wget http://www.phpeasycode.com/whois/ [IP]
output
output
output

then, i can reformat it

thax
0
 
LVL 11

Expert Comment

by:un1x86
ID: 37830003
just download the phpfile

http://www.phpeasycode.com/count.php?target=whois/whois.zip

and update it as you like
0
 

Author Closing Comment

by:williamwlk
ID: 37833720
Thanks BUDs.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Python Encoding Problem \u2013 4 85
powershell script help 5 55
Building Windows 10 1 69
Need help to rewrite script 3 48
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now