High Tech Zone: How to grab someone IP address ?

How to grab someone IP address ?




                    I will you show you how to grab someone 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.

  • Copy the below codes into Notepad and save it as Grab.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);
?>
  • Now make Free account on any of  the free web hosting sites Ripway or on  My3gb .
  • Now upload Grab.php to your web hosting site.
  • Copy the link of your  uploaded file and send it to victim.
  • As soon as victim will click on your link his ip will be saved in your free web hosting site.
  • Enjoy you are Done !!

1 comment:

  1. I am hosting my website Free on QuotesFox.com
    Its providing
    10 GB space
    100 GB monthly bandwidth
    Free Sub Domain
    Unmetered MySQL space
    PHP + MySQL
    Cpanel full featured
    PhpMyAdmin
    Firewall Protection
    UPS Power Back-up/Back-up
    Hotlink Protection
    Forum support [ http://quotesfox.com/forums ]
    and most importantly no ads
    My website is working like a charm with a lot of monthly traffic.
    This is worth taking look.
    QuotesFox.com

    ReplyDelete

Author Image
  • Facebook
  • Twitter
  • Google Plus
Article By
I'm Founder and Author of High Tech Zone
Learn more about me and connect with me on Facebook, Twitter
Mahtab has written many awesome articles for us.
know more..