Find us on Google+ Bypass The Security: Find IP Address of a Remote Computer

Saturday 10 November 2012

Find IP Address of a Remote Computer


How to Find the IP Address of a Remote Computer


Most of you may be curious to know how to find the IP address of your friend’s computer or the IP of the person with whom you may be chatting. If so, then this post will surely help you out.
In this post I’ll show you how to find the IP address of a remote computer in simple steps.
I have created a PHP script to make it easier for you to capture  the IP address of the any computer of your choice. Here is a step-by-step process to find out the IP address:
1.    Copy the given piece of php script below and paste it in notepad.Save the file with any name you want but the extension should be ".php" (in my case it is ip.php). You need two files : First the php file for recording ip  address (you just made) and another is a text file in which the ip address will be saved. For creating the text file, open notepad and save the blank page as ip_log.txt ( This name is fixed. don't change the name or else you will have to change the text file name in the given php script also. )

<?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.google.com' ) ;
?>


2.    Open a new account in X10Hosting (or any other free host that supports PHP).
3.    Upload both the files you just made into the root folder of your hosting account using the File Manager.
4.    You can rename the ip.php to any name of your choice.
5.    Set the permission to 777 on ip_log.txt.
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’re chatting. Once the person click’s on the link, his/her IP address is recorded in the file ip_log.txt.
For your better understanding let’s take up the following example:
Suppose you open a new account in X10hosting.com with the subdomain as abc, then your IP Finder link would be:
http://abc.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_log.txt file. After recording the IP address, the script will redirect the person to google.com so as to avoid any suspicion.
To find the recorded IP address, check the logs using the following link:
http://abc.x10hosting.com/ip_log.php

The sample log will be in the following format:
79.92.144.237 Thursday 07th of May 2009 05:31:27 PM
59.45.144.237 Thursday 07th of May 2009 05:31:28 PM
123.92.144.237 Thursday 07th of May 2009 05:31:31 PM

NOTE: You have to replace abc with your subdomain name.


I hope this helps. Express your opinion and suggestions through comments.

No comments:

Post a Comment