403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/baberankings.com.bak/members/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/members/includes/verify_session.php
<?
/* K-Rate
(C) Rinalds Uzkalns, 2003-2004. All Rights Reserved
http://turn-k.net

Version: 1.00 (22.09.04)
*/
?>
<?
//   functionality:       Checks whether admin has authorized and session isn't expired

session_start();

//require login
if ($_SESSION['current_session'] != $_SESSION['user']."=".$_SESSION['session_key']) {
if ($dontlogin == FALSE) {
        ob_clean();
        $_SESSION = array();
        header("Location:".constant('dir').'index.php?req=login&redirect='.$_SERVER['REQUEST_URI'].'&login_message='.urlencode(_session_expired));
        exit;
        }
        }

//process logout
if ($req == "logout") {
        ob_clean();
        $_SESSION = array();
        header("Location:".constant('dir').'index.php?req=login&login_message='.urlencode(_logged_out));
        setcookie('remember','',time() - 3600,constant('dir'));
        exit;
        }

global $membtable, $usrdata;
$result = sql_query("SELECT * FROM $membtable WHERE m_user='$_SESSION[user]'");
$usrdata = sql_fetch_assoc($result);
$en = array_merge($en, $usrdata);

$en['sess_pass'] = $_SESSION['pass'];

?>

Youez - 2016 - github.com/yon3zu
LinuXploit