Previous Thread
Next Thread
Print Thread
Rate Thread
#10746 09/22/02 03:53 PM
Joined: Mar 2002
Posts: 217
Member
Member
Joined: Mar 2002
Posts: 217
I feel like a punk having to ask this, but how do you find out the ip address of a machine runnig xp? I tried the old fashioned 'winipcfg' but it doesn't work.

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#10747 09/22/02 04:12 PM
Joined: Mar 2002
Posts: 217
Member
Member
Joined: Mar 2002
Posts: 217
Okay scratch that - Somehow I figured it myself.

#10748 09/22/02 04:36 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Windows XP doens't come standard with some of the tools included in previous verions. You'll have to download WinIPCFG elsewhere, but it'll run perfectly on your box, or you can go to www.whatismyip.com , there are tons of ways..


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#10749 09/22/02 04:57 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
hey that site is pretty cool. Dunno if you've noticed, but sometimes I connect to the IRC and leave soon after. It's when I'm at work and I wanna know the outside IP for the network I'm connecting from. but that site is more convenient than having to connect via telnet to IRC and negotiating logging in and whois'ing myself.


Domain Registration, Hosting, Management
http://www.dollardns.net
#10750 09/22/02 11:23 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Lol yeh, I have noticed, just throught that you chose the wrong server or something... heh i use that site when I'm bored and need to be sure my netowrk is up or for testing proxys lol...

Its rather nice concidering... But I tend to always have winipcfg installed so that i can check local addresses since i tend to be networking...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#10751 09/23/02 12:07 PM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
thats sites convenient, however, just by looking at the source i fail to see how it determines your ip. just wondering


"It's better to burn out, than to fade away."
#10752 09/23/02 01:12 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
um, backend processing. The script that drives that site could be CGI. I haven't looked too closely at it to be sure of the method.


Domain Registration, Hosting, Management
http://www.dollardns.net
#10753 09/23/02 04:25 PM
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
UGN Elite Poster
P Offline
Joined: Mar 2002
Posts: 1,136
Right, there's a program on the server that figures out your IP then sends some HTML. None of the logic is shown because it's all on the other computer.

#10754 09/29/02 09:18 PM
Joined: Mar 2002
Posts: 185
M
Member
Member
M Offline
Joined: Mar 2002
Posts: 185
It could be PHP, it's really easy in PHP. I made a script once that logged the IP of everyone who came to the site. It was like 3 lines long and I could just as easily display the IP. Just search under the functions section on www.php.net if you really want to find the exact code.


Cha want some w***up?

http://www.dopeskill.com
#10755 09/30/02 05:47 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Here's my perl script which logged everything (date, IP, domain, and browser type/version) in a HTML formatted file. Just add a SSI exec line to your home page and it's a go.

#!/usr/local/bin/perl

$Date = `date +"%D %T"`; chop ($Date);

open (LOG, ">>/home/nightfir/log.html");
print LOG "\n<TR><TD Nowrap><FONT Color=ff0000><B>$Date</B></FONT></TD><TD Nowrap><FONT Color=ff0000><B>$ENV{'REMOTE_ADDR'}</B></FONT></TD><TD Nowrap><FONT Color=ff0000><B>$ENV{'REMOTE_HOST'}</B></FONT></TD><TD Nowrap><FONT Color=ff0000><B>$ENV{'HTTP_USER_AGENT'}</B></FONT></TD></TR>";
close (LOG);

exit;


Domain Registration, Hosting, Management
http://www.dollardns.net
#10756 09/30/02 01:03 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
They could use SSI to call the information to the page from another file...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#10757 09/30/02 04:09 PM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
thanks for the explanation...


"It's better to burn out, than to fade away."

Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Powered by UBB.threads™ PHP Forum Software 8.0.0