[OT]How can I get my IP Address

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
CoMiKe
Senior Member
Senior Member
Posts: 285
Joined: 2003-05-05, 17:45 UTC
Location: Salamanca, Spain

Post by *CoMiKe »

Theorically, if you know the MAC Address of the network adapter which is connected to the Internet, then you may be able to get it's IP address by using an inverse ARP tool (inARP).

The problem is that Windows (at least XP) only has an ARP tool, but it doesn't seem to have an inverse ARP tool. And it doesn't seem easy to find an inverse ARP tool...
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

Any luck with netstat /?
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

Just give a try to ShowIP (505,037b)
You can find it here : http://www.webattack.com/freeware/network/fwip.html
Or better
FollowMeIP Lite (155,648b)
http://www.snapfiles.com/php/download.php?id=106687&a=7119330&tag=155648&loc=1

Friendly

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
Tsunulukai
Junior Member
Junior Member
Posts: 66
Joined: 2003-02-07, 23:44 UTC

Post by *Tsunulukai »

Here's another possibility to execute a command with each IP returned by the tracert command (in this case, just ECHO):

Code: Select all

FOR /F "tokens=4 delims=ms" %%A IN ('tracert -d -h 3 www.yatras.be ^|findstr "ms"') DO (ECHO %%A)
remplace %%A by %A if executed from the console. %%A is used inside a batch.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Thanks for all your suggestions.
icfu wrote:Instead of tracert try WinMTR.


Unfortunately it's not reliable. When I hangup it still reports a working connection. :(
bobcputnam wrote:If you run a security check through GRC,
Can't be used from commandline to retrieve the IP.

2ZoSTeR
Found no equivalent in AHK and don't want to run another Scripting App.

2AlleyKat
Can't be used on command line

2chriss
nice tool. Unfortunately I have a fli4l Router that cannot be accessed by this tool (or at least I don't know how to configure it). Anyway, it seems not to be able to give me the IP on command line.

2CoMiKe

Good attempt but I also found no ARP tool.

SQUIRE wrote:Any luck with netstat /?
Nope.

2Vansumsen
Nice tools, both, but nothing for the command line,too.


So after all I stick with tracert. I'm running already a script that logs my connection and reports every drop (at least I hope so ;) ).

So thanks again, guys, it will do for now.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Unfortunately it's not reliable. When I hangup it still reports a working connection.
The purpose of this tool is to permanently traceroute your connection and to reveal the problematic route entry.
Of course it continues tracerouting even when you "hangup".

Icfu
This account is for sale
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Sheepdog,
You could also download http://www.whatismyip.org/ and parse it.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
solid
Power Member
Power Member
Posts: 747
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Hacker wrote:You could also download http://www.whatismyip.org/ and parse it.
But how is the easiest way to open this url and parse it from command line?
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

solid wrote:But how is the easiest way to open this url and parse it from command line?
Well, probably using a combination of URLDownloadToFile, Loop/FileRead and FileDelete.

Roman
Last edited by Hacker on 2006-02-22, 22:20 UTC, edited 1 time in total.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

2Hacker

Thanks, that's what I was searching for.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2Sheepdog
Woe onto you, if you dont publish the resulting AHK script in the wiki... :twisted:
I switched to Linux, bye and thanks for all the fish!
Post Reply