!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/simplesamlphp/modules/statistics/lib/   drwxr-xr-x
Free 14.39 GB of 61.93 GB (23.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     DateHandlerMonth.php (1.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * @author Andreas Åkre Solberg <andreas.solberg@uninett.no>
 * @package simpleSAMLphp
 * @version $Id: DateHandlerMonth.php 1514 2009-06-15 07:27:44Z andreassolberg $
 */
class sspmod_statistics_DateHandlerMonth extends sspmod_statistics_DateHandler {



    
/**
     * Constructor
     *
     * @param array $offset     Date offset
     */
    
public function __construct($offset) {
        
$this->offset $offset;
    }
    

    public function 
toSlot($epoch$slotsize) {
        
$dsttime $this->getDST($epoch) + $epoch;
        
$parsed getdate($dsttime);        
        
// print_r($parsed);
        
$slot = (($parsed['year'] - 2000) * 12) + $parsed['mon'] - 1;
        
// echo('converting ' . $epoch . ' to ' . $slot ); exit;
        
return $slot;
    }

    public function 
fromSlot($slot$slotsize) {
        
        
$month = ($slot 12);
        
$year 2000 floor($slot 12);
        
        
$epoch mktime(000$month 11$yearFALSE);
        
// echo('epoch ' . $epoch . ' from slot '. $slot . " year " . $year . " month " . $month . "\n");
        
return $epoch;
    }

    public function 
prettyHeader($from$to$slotsize$dateformat) {
        
        
$month = ($from 12) + 1;
        
$year 2000 floor($from 12);
        
        return 
$year '-' $month;
    }


}

//     $datestr = substr($logline,0,$datenumbers);
//     #$datestr = substr($logline,0,23);
//     $timestamp = parse15($datestr) + $offset;
//     $restofline = substr($logline,$datenumbers+1);
//     $restcols = split(' ', $restofline);
//     $action = $restcols[5];
    
//     print_r($timestamp);
//     print_r($restcols); if ($i++ > 5) exit;


:: 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 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.6071 ]--