Solved

IP Information Script

Posted on 2012-04-10
5
479 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rename all files in a directory to numerical order 26 39
AWK: Pythagoras bp script 18 47
AWK:  END { statements } 2 34
Debug script powershell wmi 3 25
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 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