Monday, August 19, 2013

How to get ip address of facebook friend

  First open notepad and paste this code 


$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://hackersauthority.blogspot.com/) ; 
?>
Replace the black highlighted text with your picture or page link and now click save as and select all files and name it  as 
yourfilename.php


Step2 

1)Go to any webhosting site like  x10hosting.com
2) Signup for an account ( choose a right domain name e.g : Anonsoul.x10.mx )
3) After creating an account on x10hosting, go to the File Manager and open the public_htmldirectory

4) Click Upload, and select the PHP file that you created on Step1.4 (ip.php)

5) Select all permissions from Read/Write/Execute (777)

Step 3 getting the ip address 

After setting up an account and uploading the .PHP File, it's time to get IP Address of any Friend on Facebook
1) Go to the domain that you created in Step2. in my example Anonsoul.x10.mx
2) You'll see the PHP file that you created, right click>Copy Address Link
3) The link will be something like this : yourdomain.x10.mx/anything.php
In our example it will be: Anonsoul.x10.mx/ip.php
4) Send that link to any of your friends, after he/she clicks on the link, he/she will be redirected to the link that you replaced in step1.3 (in my example : ztuts.com )
5) Go to your domain name again like step1 (e.g: razor.x10.mx)
6) You'll see a new text document named ip_log.txt
7) Click that file, you'll get all IP Addresses of your friends that accessed that link.
Done!  Now you can track their IP Location using IP Tracer,
                            Please leave comments if it works :D

No comments:

Post a Comment