!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/local/webmail2/class/l10n/   drwxr-xr-x
Free 318.26 GB of 458.09 GB (69.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Copyright (c) 2003 Danilo Segan <danilo@kvota.net>.
 *
 * This file is part of PHP-gettext.
 *
 * PHP-gettext 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 2 of the License, or
 * (at your option) any later version.
 *
 * PHP-gettext 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 PHP-gettext; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * @copyright &copy; 2004-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: streams.class.php,v 1.5 2006/01/23 18:39:32 tokul Exp $
 * @package squirrelmail
 * @subpackage i18n
 */

/**
 * Class that is used to read .mo files.
 * @package squirrelmail
 * @subpackage i18n
 */
class FileReader {
    
/**
     * Current position in file
     * @var integer
     */
    
var $_pos;
    
/**
     * File descriptor
     * @var resource
     */
    
var $_fd;
    
/**
     * File size
     * @var integer
     */
    
var $_length;
    
/**
     * contains error codes
     *
     * 2 = File doesn't exist
     * 3 = Can't read file
     * @var integer
     */
    
var $error=0;

    
/**
     * reads translation file and fills translation input object properties
     * @param string $filename path to file
     * @return boolean false there is a problem with $filename
     */
    
function FileReader($filename) {
        
// disable stat warnings for unreadable directories
        
if (@file_exists($filename)) {

            
$this->_length=filesize($filename);
            
$this->_pos 0;
            
$this->_fd fopen($filename,'rb');
            if (!
$this->_fd) {
                
$this->error 3// Cannot read file, probably permissions
                
return false;
            }
        } else {
            
$this->error 2// File doesn't exist
            
return false;
        }
    }

    
/**
     * reads data from current position
     * @param integer $bytes number of bytes to read
     * @return string read data
     */
    
function read($bytes) {
        
fseek($this->_fd$this->_pos);
        
$data fread($this->_fd$bytes);
        
$this->_pos ftell($this->_fd);

        return 
$data;
    }

    
/**
     * Moves to defined position in a file
     * @param integer $pos position
     * @return integer current position
     */
    
function seekto($pos) {
        
fseek($this->_fd$pos);
        
$this->_pos ftell($this->_fd);
        return 
$this->_pos;
    }

    
/**
     * return current position
     * @return integer current position
     */
    
function currentpos() {
        return 
$this->_pos;
    }

    
/**
     * return file length
     * @return integer file length
     */
    
function length() {
        return 
$this->_length;
    }

    
/**
     * close translation file
     */
    
function close() {
        
fclose($this->_fd);
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0041 ]--