404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.145.41.173: ~ $
<?php
declare(strict_types=1);

namespace League\Flysystem\WebDAV;

use Sabre\DAV\Client;

class UrlPrefixingClientStub extends Client
{
    public function propFind($url, array $properties, $depth = 0)
    {
        $response = parent::propFind($url, $properties, $depth);

        if ($depth === 0) {
            return $response;
        }

        $formatted = [];

        foreach ($response as $path => $object) {
            $formatted['https://domain.tld/' . ltrim($path, '/')] = $object;
        }

        return $formatted;
    }
}

Filemanager

Name Type Size Permission Actions
.github Folder 0755
resources Folder 0755
.gitattributes File 207 B 0644
ByteMarkWebDAVServerTest.php File 520 B 0644
README.md File 310 B 0644
SabreServerTest.php File 428 B 0644
UrlPrefixingClientStub.php File 569 B 0644
WebDAVAdapter.php File 15.6 KB 0644
WebDAVAdapterTestCase.php File 3.58 KB 0644
composer.json File 568 B 0644