/** * Browser Integrity Check */ class BIC { /** * Browser Integrity Check challenge */ public static function challenge() { if (FEATURE_BIC) { session_start(); if (!isset($_SESSION['_authorized'])) { if (isset($_POST['_authorized'])) { if (hash("sha512", substr(time(), 0, 9) . $_SERVER['HTTP_USER_AGENT'] . BIC_KEY) != $_POST['_authorized']) { error(400); } else { $_SESSION['_authorized'] = ''; } } else { header("Cache-Control: no-store, no-cache, must-revalidate"); header("Expires: off"); ?>
![]() Browser Integrity CheckPlease wait 3 seconds, the page will auto refresh. |