Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/vendor/consolidation/output-formatters/src/Formatters/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/vendor/consolidation/output-formatters/src/Formatters/VarDumpFormatter.php

<?php

namespace Consolidation\OutputFormatters\Formatters;

use Consolidation\OutputFormatters\Options\FormatterOptions;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\StreamOutput;
use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\CliDumper;

/**
 * Var_dump formatter
 *
 * Run provided data through Symfony VarDumper component.
 */
class VarDumpFormatter implements FormatterInterface
{
    /**
     * @inheritdoc
     */
    public function write(OutputInterface $output, $data, FormatterOptions $options)
    {
        $dumper = new CliDumper();
        $cloned_data = (new VarCloner())->cloneVar($data);

        if ($output instanceof StreamOutput) {
            // When stream output is used the dumper is smart enough to
            // determine whether or not to apply colors to the dump.
            // @see Symfony\Component\VarDumper\Dumper\CliDumper::supportsColors
            $dumper->dump($cloned_data, $output->getStream());
        } else {
            // @todo Use dumper return value to get output once we stop support
            // VarDumper v2.
            $stream = fopen('php://memory', 'r+b');
            $dumper->dump($cloned_data, $stream);
            $output->writeln(stream_get_contents($stream, -1, 0));
            fclose($stream);
        }
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net