!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/site/ipanel/app/util/   drwxr-xr-x
Free 9.32 GB of 93.48 GB (9.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Data.php (3.4 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Data
 *
 * @author Cledson
 */
class Data {

    public function 
convertDateSQLtoDateBR($date) {
        list(
$y$m$d) = explode("-"$date);
        return 
$d "/" $m "/" $y;
    }

    public function 
convertDateBRtoDateSQL($date) {
        list(
$d$m$y) = explode("/"$date);
        return 
$y "-" $m "-" $d;
    }


    
/**
     * Compara a data fornecida com a data atual
     * Caso a data atual seja maior que a data fornecida retorna -1
     * Caso a data atual seja menor que a data fornecida retorna 1
     * Caso a data atual seja igual a data fornecida retorna 0
     *
     * @param <String> $data
     * @return <Integer>
     */
    
public function comparaDataComDataAtual($data) {
        
$stampData strtotime($data);
        
$stampAtual strtotime(date("Y-m-d"));
        if (
$stampAtual $stampData)
            return -
1;
        if (
$stampAtual $stampData)
            return 
1;
        if (
$stampAtual == $stampData)
            return 
0;
    }

    public function 
convertDateSqlToDateBRExtense($dt) {
        list(
$y$m$d) = explode("-"$dt);
        
$m $this->getMonth($m);
        return 
$d " de " $m " de " $y;
    }
    public function 
convertDateDiaMes($dt) {
        list(
$y$m$d) = explode("-"$dt);
        return 
$d "/" $m;
    }
    public function 
convertDateDia($dt) {
        list(
$y$m$d) = explode("-"$dt);
        
$m $this->getMonth($m);
        return 
$d;
    }
     public function 
convertDateMes($dt) {
        list(
$y$m$d) = explode("-"$dt);
        return 
$m;
    }
    public function 
getDateBRExtense($date=null) {
        if (empty(
$date)) {
               return 
date("d")." de ".$this->getMonth(date("m"))." de ".date("Y");
           } else {
            list(
$d$m$y) = explode("/"$date);
            return 
$d." de ".$this->getMonth($m)." de ".$y;
        }
    }

    public function 
getMonth($month) {
        switch (
$month) {
            case 
01$m "Janeiro";
                break;
            case 
02$m "Fevereiro";
                break;
            case 
03$m "Mar&ccedil;o";
                break;
            case 
04$m "Abril";
                break;
            case 
05$m "Maio";
                break;
            case 
06$m "Junho";
                break;
            case 
07$m "Julho";
                break;
            case 
8$m "Agosto";
                break;
            case 
9$m "Setembro";
                break;
            case 
10$m "Outubro";
                break;
            case 
11$m "Novembro";
                break;
            case 
12$m "Dezembro";
                break;
        }
        return 
$m;
    }

    public function 
getPeriodOfDay(){
        
$hr date("H");
        if(
$hr 4){
            
$msg "Bom Dia";
        }
        if(
$hr 12){
            
$msg "Boa Tarde";
        }
        if(
$hr 19){
            
$msg "Boa Noite";
        }
        return 
$msg;
    }
    
    public function  
getDiaMonth($date) {
        list(
$y$m$d) = explode("-"$date);
        return 
$d "/" $m;
    }
    
    public function  
getDiaMonthBRExtense($date) {
        list(
$y$m$d) = explode("-"$date);
        return 
$d " de ".$this->getMonth($m);
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0032 ]--