0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
cpmage
/
libs
/
[
Home
]
File: session.inc.php
<?php define( "USER_AGENT_SALT" ,'WGFERGewrghwr987u9837gw4klfesnWERHBRWBw45wh4eh56h5'); ini_set('session.gc_maxlifetime',07020); ini_set('session.use_cookies',1); ini_set('session.use_only_cookies',1); session_start(); if (! isset ($_SESSION['created'])) { $_SESSION['created']=TRUE; } if (! isset ($_SESSION['user_agent'])) { $_SESSION['user_agent']=md5($_SERVER['HTTP_USER_AGENT'].USER_AGENT_SALT); } else { if ($_SESSION['user_agent'] != md5($_SERVER['HTTP_USER_AGENT'].USER_AGENT_SALT)) { session_destroy(); throw new exception('Session access violation!'); } } ?>