Tracert isnt a bad idea, but on the box it fails
tracing route to google.com
.... request times out
I have seen a perl script to check ip via website
http://cwashington.netreach.net/depo/view....ScriptType=perlhow to run this under winblows ? ... excuse my ignorance
well I found this little app
http://www.indigostar.com/perl2exe.htmperl2exe
but trying to compile it failed anyone any ideas?
Converting 'wanip.pls -v -gui' to wanip.exe
Warning: Can't locate Win32/Internet.pm
at wanip.pls line 30
@INC =
----------------------------------------------------------------------------------
well I figured my mistake I forgot to install
Perl2Exe for Windows requires an installation of Perl on your machine
hehe
------
anyway it successfully compiles
perl2exe wanip.pls -v -gui
Converting 'wanip.pls -v -gui' to wanip.exe
then when we run the prog
C:\>wanip
WAN IP Address:
C:\>
doesnt print ip address anyone any ideas or can some one else code the same script in C
----------------
well messing about with it it appears that the extracting of the ip in the script
from the webpage is messed
##############################################################################
# Extract WAN IP Address
#
$intSTART = index($strFILE, $strStartWAN) + length($strStartWAN);
$intEND = index($strFILE, $strEndWAN);
$intWANSize = $intEND - $intSTART;
$strWANIP = substr($strFILE, $intSTART, $intWANSize);
##############################################################################
print "\n";
print "WAN IP Address:";
print $strWANIP;
by simply adding to the end
print $strFILE;
it works printing the webpage like so
wanip
WAN IP Address:<html><head><title>Current IP Check</title></head><body>Current IP Address: xx.xx.xx.xx</body></html>
anyway it works I compiled it for winblows and its attached to this post
if anyone care to enlighten me how to clean the output I can recompile it