Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: WAN IP Checker

  1. #1
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Cool WAN IP Checker

    Hi everyone !

    So, in a time when I was in need of retrieving my public IP for a script, I found myself unable to find a decent service that would provide me with it.
    All I could find was some site giving you your IP and offering this and that for your protection or whatsoever. Sometimes it's even "obfusated" through javascript... All the "whatmyip"-like are for me a useless pile of... you know.

    Enough of that, I thought. I decided to create such a "service" :

    http://ip.comax.fr

    It displays your IP. Nothing more, nothing less. It won't search through proxies or anything. It only displays the IP connected to the page.

    If you need a public IP in a script, just do a curl or wget : you won't have any parsing to do. Just the plain IP.
    Example :
    Code:
    (uiserver):uXXX:~ > curl http://ip.comax.fr
    82.165.204.199
    (uiserver):uXXX:~ >
    Feel free to use it as much as you want, for whatever you want. It's there, for free (duh!)

    I hope you'll find it useful !

    Cheers !

    Edit : It's seems like there are other fine websites as well, so here they are :
    http://whatismyip.ORG (do NOT mistake that for the shitty .com brother)
    http://ifconfig.me/ (very neat for CLI, check the web interface for more info)
    Last edited by comaX; 02-08-2012 at 11:04 AM.
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  2. #2
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: WAN IP Checker

    Thanks very much...I can certainly find some use for it
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

  3. #3
    Just burned his ISO
    Join Date
    Jan 2012
    Posts
    5

    Default Re: WAN IP Checker

    Great idea

  4. #4
    Member shadowzero's Avatar
    Join Date
    Jun 2011
    Location
    ${HOME}
    Posts
    94

    Default Re: WAN IP Checker

    I'm confused, http://whatismyip.org/ does exactly what your site does. No ads, no javascript or html, just plain text displayed on the browser, and retrievable by curl.

  5. #5
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re: WAN IP Checker

    Speaking of being confused... I'm now right in the middle of great confusefulness...

    Oh wait, check that : http://www.whatismyip.com/

    Nicely played guys, nicely played. And when you Google "my ip", the 6 first results are what I was talking about. The seventh is yours (never noticed before...), and the rest is as the six first!

    Anyway, it's there, do what thou will
    Last edited by comaX; 02-07-2012 at 05:15 PM.
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  6. #6
    Member shadowzero's Avatar
    Join Date
    Jun 2011
    Location
    ${HOME}
    Posts
    94

    Default Re: WAN IP Checker

    Ah ok, no I was just wondering if I missed something. The more tools the better, if one goes down, I can use the other. Cheers.

  7. #7
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re: WAN IP Checker

    Well, it's seems I was the one who missed something !

    The more tools the better, if one goes down, I can use the other.
    Cheers to that !
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  8. #8
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: WAN IP Checker

    Nice and clean

    Another one ;

    Code:
    curl ifconfig.me

  9. #9
    Good friend of the forums comaX's Avatar
    Join Date
    Feb 2010
    Location
    Paris, France
    Posts
    338

    Default Re: WAN IP Checker

    @ Tape, you're welcome ! That and shadowzero's post make me think : let's make a damn list. So, post the clean Wan ip checkers you've got, and I'll update my first post
    As shadowzero said, the more services, the better !
    Last edited by comaX; 02-08-2012 at 11:06 AM.
    Running both KDE and GNOME BT5 flawlessly. Thank you !

  10. #10
    Junior Member
    Join Date
    Nov 2010
    Posts
    27

    Default Respuesta: WAN IP Checker

    Hello.
    There is another over ssl:

    wget -q -O - https://secure.informaction.com/ipecho/ | sed -e 's/<.*$//'

    Thanks for sharing.
    Last edited by pentrite; 02-11-2012 at 06:17 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Host File Checker - Simple
    By imi-tat0r in forum OLD Programming
    Replies: 0
    Last Post: 07-26-2008, 05:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •