Saturday, June 22, 2013

Get IP Address Of Any User With PHP script

You have many time listen the word “IP(internet protocol) ADDRESS” .Well in this tutorial I am going to teach you how to get  IP Address of any user on internet. If you know the IP ADDRESS of any person then you can do anything with his/her computer. By knowing his ports you can access his/her facebook and E-mail accounts and you can use Metasploit to hack into his/her computer or you can just put that into address bar of your browser to get into his/her modem or router settings and you can trace his/her.


Blog-Diagrams.005

Lets start :D
1. 
Find(like 000webhost,my3gb) a hosting with domain you can get it for free from http://www.000webhost.com and you need to open up your notepad and paste the code given below and save it as index.php and upload it to your site.
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$open = fopen('logs.html' , 'a+');
$fwrite = fwrite($open , $ip.'<hr />');
$fclose = fclose($open);
header('Location: https://www.facebook.com/SoftwaresLetsExploreTheSoftwareWorld');
?>

2. Now send your site url provided by 000webhost to your victim when he/she'll open it his/her IP Address will be saved in logs.html.

3. Now it's time to get IP Address just go to your site and type this after your site address /logs.html e.g. http://yoursite.com/logs.html.