Keep your self updated on technology, Hacking news & Hacking Tools/Softwares.

Friday 15 December 2017

Steal IP using Image!!



In this post we will learn how to grab IP using an image. In this we use .htaccess along with a php file and add.jpg files to php executable using htaccess.
This is the ht access code which can add jpg as php executable

AddHandler application/x-httpd-php5 .jpg

Now make a grabber.jpg file with the below code.

<?php
$fh = fopen('ip_list.txt', 'a');
fwrite($fh, $_SERVER['REMOTE_ADDR']."
");
fclose($fh);
$im = imagecreatefromjpeg("Love.png");
header('Content-Type: image/jpeg');
imagejpeg($im);
imagedestroy($im);
?>

Now in the end put a image with Love.png in the same folder and change the permission for grabber.jpg to 755 you are ready with your ip grabber.
IP_List.txt the image grabbed your IP when you visited this page 

Note: This is for educational purpose only!!!
Share:

Popular Posts

Subscribe to my Newsletter

Contact Us

Name

Email *

Message *