!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)

/uploads/script/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/   drwxr-xr-x
Free 13.11 GB of 57.97 GB (22.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of SwiftMailer.
 * (c) 2004-2009 Chris Corbyn
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Writes data to a KeyCache using a stream.
 *
 * @author Chris Corbyn
 */
class Swift_KeyCache_SimpleKeyCacheInputStream implements Swift_KeyCache_KeyCacheInputStream
{
    
/** The KeyCache being written to */
    
private $keyCache;

    
/** The nsKey of the KeyCache being written to */
    
private $nsKey;

    
/** The itemKey of the KeyCache being written to */
    
private $itemKey;

    
/** A stream to write through on each write() */
    
private $writeThrough null;

    
/**
     * Set the KeyCache to wrap.
     */
    
public function setKeyCache(Swift_KeyCache $keyCache)
    {
        
$this->keyCache $keyCache;
    }

    
/**
     * Specify a stream to write through for each write().
     */
    
public function setWriteThroughStream(Swift_InputByteStream $is)
    {
        
$this->writeThrough $is;
    }

    
/**
     * Writes $bytes to the end of the stream.
     *
     * @param string                $bytes
     * @param Swift_InputByteStream $is    optional
     */
    
public function write($bytesSwift_InputByteStream $is null)
    {
        
$this->keyCache->setString(
            
$this->nsKey$this->itemKey$bytesSwift_KeyCache::MODE_APPEND
            
);
        if (isset(
$is)) {
            
$is->write($bytes);
        }
        if (isset(
$this->writeThrough)) {
            
$this->writeThrough->write($bytes);
        }
    }

    
/**
     * Not used.
     */
    
public function commit()
    {
    }

    
/**
     * Not used.
     */
    
public function bind(Swift_InputByteStream $is)
    {
    }

    
/**
     * Not used.
     */
    
public function unbind(Swift_InputByteStream $is)
    {
    }

    
/**
     * Flush the contents of the stream (empty it) and set the internal pointer
     * to the beginning.
     */
    
public function flushBuffers()
    {
        
$this->keyCache->clearKey($this->nsKey$this->itemKey);
    }

    
/**
     * Set the nsKey which will be written to.
     *
     * @param string $nsKey
     */
    
public function setNsKey($nsKey)
    {
        
$this->nsKey $nsKey;
    }

    
/**
     * Set the itemKey which will be written to.
     *
     * @param string $itemKey
     */
    
public function setItemKey($itemKey)
    {
        
$this->itemKey $itemKey;
    }

    
/**
     * Any implementation should be cloneable, allowing the clone to access a
     * separate $nsKey and $itemKey.
     */
    
public function __clone()
    {
        
$this->writeThrough null;
    }
}

:: 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.0048 ]--