View Full Version : argh ppls ip
cabose
June 16th, 2006, 09:00 PM
this is a stupid ass question i know, but i cant find the answer not even on google :shock: though i am inept at google...but anyways i can find a websites ip address easily but i cant find a persons. i saw somewhere go to cmd and type in netstat -n while in aim with them...i did that and it gave me like 30-40 results and none of them were ip all were tcp or something else that ive never heard of b4 :? help plz :oops:
Cuddles
June 16th, 2006, 11:50 PM
this is a stupid ass question i know, but i cant find the answer not even on google :shock: though i am inept at google...but anyways i can find a websites ip address easily but i cant find a persons. i saw somewhere go to cmd and type in netstat -n while in aim with them...i did that and it gave me like 30-40 results and none of them were ip all were tcp or something else that ive never heard of b4 :? help plz :oops:
...if you direct connect to someone in aim, and then type netstat -n in command prompt, it will list their ip somewhere....however, if you're connected to alot of people (on a network, as an example), you will get alot of ip's, but i dont see why you would get 30-40 results....unless you were on a network....
you can always make a free site on a free host, like dajoob.com and add the following to the index file, and encourage the person to go to your site....
<?php
$log_file = "log.txt";
$ip = $REMOTE_ADDR;
$page = $_SERVER['REQUEST_URI'];
$host = gethostbyaddr($REMOTE_ADDR);
$date_time = date('d-m-Y/H:i:s');
$fp = fopen("$log_file", "a");
fputs ($fp,"
($date_time) $ip ($host) $page
");
flock($fp, 3);
fclose($fp);
?>
this will log the ip of anyone who visits a website that you could make, just put it on a page named index.html, add some pretty content, and save the file, and chmod log.txt to 777 (with most ftp clients, right click on log.txt and click properties, and find the part that shows users allowed to read+write+execute, and make it allowed for anyone to do all three (click all check boxes...))
edit: i forgot to say you have to make a file named log.txt (in case i didnt imply it enough)
cabose
June 17th, 2006, 12:27 AM
thank you very much
:D :D :D :D :D :D :D :D
the homo phobe
June 17th, 2006, 12:44 AM
this is a stupid ass question i know, but i cant find the answer not even on google :shock: though i am inept at google...but anyways i can find a websites ip address easily but i cant find a persons. i saw somewhere go to cmd and type in netstat -n while in aim with them...i did that and it gave me like 30-40 results and none of them were ip all were tcp or something else that ive never heard of b4 :? help plz :oops:I may be wrong, but I think it's netstat -r. If I'm wrong then don't flame me and don't tell me how stupid I am because I know some of you will. I can't hack worth a shit but I read something about finding other peoples IP addresses
Cuddles
June 17th, 2006, 12:46 AM
edit: for some reason, that script gave me errors when i tried it on my site, and did not log the ip, so i decided to write my own....
<?php
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");;
$fp = fopen('log.html', 'a');
fwrite($fp, '
IP: ' .$ip. '
Date and Time: ' .$date. '
');
fclose($fp);
?>
and make the file log.html which will allow it to add spacing between the items, and name your index file index.php, and make sure to chmod the log.html to 777, and make sure to make the index.php executable by all users (this is usually the last check box when chmodding, just click that one, the first one, and not the middle one.....)[/code]
Cuddles
June 17th, 2006, 12:48 AM
this is a stupid ass question i know, but i cant find the answer not even on google :shock: though i am inept at google...but anyways i can find a websites ip address easily but i cant find a persons. i saw somewhere go to cmd and type in netstat -n while in aim with them...i did that and it gave me like 30-40 results and none of them were ip all were tcp or something else that ive never heard of b4 :? help plz :oops:I may be wrong, but I think it's netstat -r. If I'm wrong then don't flame me and don't tell me how stupid I am because I know some of you will. I can't hack worth a shit but I read something about finding other peoples IP addresses
the -n or -r are just ways of displaying the data, as best i can see (by testing on my computer), it seems that netstat -r gives the info which would be valuable to someone trying to get ip's.....
Cuddles
June 17th, 2006, 09:49 PM
...it doesnt matter what they will be able to do with the ip, they just wanted to know how to get it.....
ishkur88
December 18th, 2006, 02:33 PM
hmmm, i tried that and this is the error that i get on the bottom of my main page :
Warning: fopen(log.html): failed to open stream: Read-only file system in /home/groups/a/au/aususa/htdocs/index.php on line 232
Warning: fwrite(): supplied argument is not a valid stream resource in /home/groups/a/au/aususa/htdocs/index.php on line 238
Warning: fclose(): supplied argument is not a valid stream resource in /home/groups/a/au/aususa/htdocs/index.php on line 239 P.S. - Dont try and fuck with my site, i just want to find out why this wont work.
Cuddles
December 18th, 2006, 07:01 PM
your host does not support the fopen() protocol....
ishkur88
December 18th, 2006, 07:16 PM
ah, ok. I got it to work on my other site, so i figured that it was something like that.
ishkur88
December 18th, 2006, 07:19 PM
hmm, i have a pretty interesting idea:
make a index.php file that has a redirect to the log.html. when people got to the site, it just redirects them to the log file and they can see that they have been fooled. HAHAHA. not that bad of a thing, just a fun little project.
Cuddles
December 18th, 2006, 07:24 PM
mm...worthless....just as a joke...and you could just use some javascript to generate the html on the index.html file so it shows the ip and have some music playing or something or other saying that they been owned......(probably done dozens of times)
ishkur88
December 18th, 2006, 07:36 PM
ah, never mind then. I thought i had something original for a second :(
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.