404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.116.28.79: ~ $
<?php

use Symfony\Component\VarDumper\Cloner\Data;
use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\CliDumper;
use Symfony\Component\VarDumper\Server\DumpServer;
use Symfony\Component\VarDumper\VarDumper;

$componentRoot = $_SERVER['COMPONENT_ROOT'];

if (!is_file($file = $componentRoot.'/vendor/autoload.php')) {
    $file = $componentRoot.'/../../../../vendor/autoload.php';
}

require $file;

$cloner = new VarCloner();
$cloner->setMaxItems(-1);

$dumper = new CliDumper(null, null, CliDumper::DUMP_LIGHT_ARRAY | CliDumper::DUMP_STRING_LENGTH);
$dumper->setColors(false);

VarDumper::setHandler(function ($var) use ($cloner, $dumper) {
    $data = $cloner->cloneVar($var)->withRefHandles(false);
    $dumper->dump($data);
});

$server = new DumpServer(getenv('VAR_DUMPER_SERVER'));

$server->start();

echo "READY\n";

$server->listen(function (Data $data, array $context, $clientId) {
    dump((string) $data, $context, $clientId);

    exit(0);
});

Filemanager

Name Type Size Permission Actions
BackedEnumFixture.php File 200 B 0644
DateTimeChild.php File 157 B 0644
ExtendsReflectionTypeFixture.php File 369 B 0644
FooInterface.php File 191 B 0644
GeneratorDemo.php File 291 B 0644
LotsOfAttributes.php File 688 B 0644
MyAttribute.php File 653 B 0644
NotLoadableClass.php File 121 B 0644
Php74.php File 284 B 0644
Php81Enums.php File 305 B 0644
ReflectionIntersectionTypeFixture.php File 153 B 0644
ReflectionNamedTypeFixture.php File 126 B 0644
ReflectionUnionTypeFixture.php File 133 B 0644
ReflectionUnionTypeWithIntersectionFixture.php File 169 B 0644
Twig.php File 1.12 KB 0644
UnitEnumFixture.php File 166 B 0644
dumb-var.php File 881 B 0644
dump_server.php File 1.01 KB 0644
xml_reader.xml File 233 B 0644