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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php55/usr/share/pear/Symfony/Component/Console/Descriptor/   drwxr-xr-x
Free 294.14 GB of 429.69 GB (68.46%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MarkdownDescriptor.php (4.79 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\Console\Descriptor;

use 
Symfony\Component\Console\Application;
use 
Symfony\Component\Console\Command\Command;
use 
Symfony\Component\Console\Input\InputArgument;
use 
Symfony\Component\Console\Input\InputDefinition;
use 
Symfony\Component\Console\Input\InputOption;

/**
 * Markdown descriptor.
 *
 * @author Jean-François Simon <contact@jfsimon.fr>
 */
class MarkdownDescriptor extends Descriptor
{
    
/**
     * {@inheritdoc}
     */
    
protected function describeInputArgument(InputArgument $argument, array $options = array())
    {
        
$this->write(
            
'**'.$argument->getName().':**'."\n\n"
            
.'* Name: '.($argument->getName() ?: '<none>')."\n"
            
.'* Is required: '.($argument->isRequired() ? 'yes' 'no')."\n"
            
.'* Is array: '.($argument->isArray() ? 'yes' 'no')."\n"
            
.'* Description: '.($argument->getDescription() ?: '<none>')."\n"
            
.'* Default: `'.str_replace("\n"''var_export($argument->getDefault(), true)).'`'
        
);
    }

    
/**
     * {@inheritdoc}
     */
    
protected function describeInputOption(InputOption $option, array $options = array())
    {
        
$this->write(
            
'**'.$option->getName().':**'."\n\n"
            
.'* Name: `--'.$option->getName().'`'."\n"
            
.'* Shortcut: '.($option->getShortcut() ? '`-'.implode('|-'explode('|'$option->getShortcut())).'`' '<none>')."\n"
            
.'* Accept value: '.($option->acceptValue() ? 'yes' 'no')."\n"
            
.'* Is value required: '.($option->isValueRequired() ? 'yes' 'no')."\n"
            
.'* Is multiple: '.($option->isArray() ? 'yes' 'no')."\n"
            
.'* Description: '.($option->getDescription() ?: '<none>')."\n"
            
.'* Default: `'.str_replace("\n"''var_export($option->getDefault(), true)).'`'
        
);
    }

    
/**
     * {@inheritdoc}
     */
    
protected function describeInputDefinition(InputDefinition $definition, array $options = array())
    {
        if (
$showArguments count($definition->getArguments()) > 0) {
            
$this->write('### Arguments:');
            foreach (
$definition->getArguments() as $argument) {
                
$this->write("\n\n");
                
$this->write($this->describeInputArgument($argument));
            }
        }

        if (
count($definition->getOptions()) > 0) {
            if (
$showArguments) {
                
$this->write("\n\n");
            }

            
$this->write('### Options:');
            foreach (
$definition->getOptions() as $option) {
                
$this->write("\n\n");
                
$this->write($this->describeInputOption($option));
            }
        }
    }

    
/**
     * {@inheritdoc}
     */
    
protected function describeCommand(Command $command, array $options = array())
    {
        
$command->getSynopsis();
        
$command->mergeApplicationDefinition(false);

        
$this->write(
            
$command->getName()."\n"
            
.str_repeat('-'strlen($command->getName()))."\n\n"
            
.'* Description: '.($command->getDescription() ?: '<none>')."\n"
            
.'* Usage: `'.$command->getSynopsis().'`'."\n"
            
.'* Aliases: '.(count($command->getAliases()) ? '`'.implode('`, `'$command->getAliases()).'`' '<none>')
        );

        if (
$help $command->getProcessedHelp()) {
            
$this->write("\n\n");
            
$this->write($help);
        }

        if (
$definition $command->getNativeDefinition()) {
            
$this->write("\n\n");
            
$this->describeInputDefinition($command->getNativeDefinition());
        }
    }

    
/**
     * {@inheritdoc}
     */
    
protected function describeApplication(Application $application, array $options = array())
    {
        
$describedNamespace = isset($options['namespace']) ? $options['namespace'] : null;
        
$description = new ApplicationDescription($application$describedNamespace);

        
$this->write($application->getName()."\n".str_repeat('='strlen($application->getName())));

        foreach (
$description->getNamespaces() as $namespace) {
            if (
ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
                
$this->write("\n\n");
                
$this->write('**'.$namespace['id'].':**');
            }

            
$this->write("\n\n");
            
$this->write(implode("\n"array_map(function ($commandName) {
                return 
'* '.$commandName;
            } , 
$namespace['commands'])));
        }

        foreach (
$description->getCommands() as $command) {
            
$this->write("\n\n");
            
$this->write($this->describeCommand($command));
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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