| Server IP : 52.9.100.119 / Your IP : 216.73.216.193 Web Server : Apache/2.4.61 (Amazon) OpenSSL/1.0.2k-fips PHP/7.3.30 Phusion_Passenger/5.1.5 System : Linux ip-172-31-9-35 4.14.355-196.618.amzn1.x86_64 #1 SMP Mon Apr 7 17:09:50 UTC 2025 x86_64 User : root ( 0) PHP Version : 7.3.30 Disable Function : exec,passthru,shell_exec,system,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /data/html/garlans_live/ |
Upload File : |
<?php
require_once(__DIR__ . '/private/constants.php');
require_once(__DIR__ . '/private/classes/debug/logger.php');
require_once(__DIR__ . '/private/classes/utils/utils_manager.php');
require_once(__DIR__ . '/private/classes/clients/client_login.php');
require_once(__DIR__ . '/private/classes/clients/client_status.php');
require_once(__DIR__ . '/private/classes/clients/client_application.php');
$json_encrypted_base64 = $_GET[MAIL_BODY_VERIFY_VALUE];
$json_encrypted = base64_decode($json_encrypted_base64);
$utils_manager = QuattroDC\Utils\UtilsManager::getInstance();
$json = json_decode($utils_manager->decryptString($json_encrypted));
$params = '?' . MAIL_BODY_VERIFY_VALUE . '=' . urlencode($_GET[MAIL_BODY_VERIFY_VALUE]);
$logger = QuattroDC\Debug\Logger::getInstance();
if(\Garlans\Clients\ClientLogin::isValid($json[0], $json[1])) {
Garlans\Clients\ClientStatus::insert($json[0], DB_CLIENT_STATUS_VERIFIED);
}
if(!\Garlans\Clients\ClientApplication::isInTime($json[0])) {
$params = '';
}
header('Location: ' . MAIN_URL . $params);
?>