Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.171.53
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
jms /
metadata /
src /
Cache /
Delete
Unzip
Name
Size
Permission
Date
Action
CacheInterface.php
505
B
-rw-rw-r--
2021-11-22 12:27
ClearableCacheInterface.php
258
B
-rw-rw-r--
2021-11-22 12:27
DoctrineCacheAdapter.php
1.16
KB
-rw-rw-r--
2021-11-22 12:27
FileCache.php
3.92
KB
-rw-rw-r--
2021-11-22 12:27
PsrCacheAdapter.php
1.7
KB
-rw-rw-r--
2021-11-22 12:27
Save
Rename
<?php declare(strict_types=1); namespace Metadata\Cache; use Metadata\ClassMetadata; use Psr\Cache\CacheItemPoolInterface; class PsrCacheAdapter implements CacheInterface, ClearableCacheInterface { /** * @var string */ private $prefix; /** * @var CacheItemPoolInterface */ private $pool; /** * @var CacheItemPoolInterface */ private $lastItem; public function __construct(string $prefix, CacheItemPoolInterface $pool) { $this->prefix = $prefix; $this->pool = $pool; } public function load(string $class): ?ClassMetadata { $this->lastItem = $this->pool->getItem($this->sanitizeCacheKey($this->prefix . $class)); return $this->lastItem->get(); } public function put(ClassMetadata $metadata): void { $key = $this->sanitizeCacheKey($this->prefix . $metadata->name); if (null === $this->lastItem || $this->lastItem->getKey() !== $key) { $this->lastItem = $this->pool->getItem($key); } $this->pool->save($this->lastItem->set($metadata)); } public function evict(string $class): void { $this->pool->deleteItem($this->sanitizeCacheKey($this->prefix . $class)); } public function clear(): bool { return $this->pool->clear(); } /** * If anonymous class is to be cached, it contains invalid path characters that need to be removed/replaced * Example of anonymous class name: class@anonymous\x00/app/src/Controller/DefaultController.php0x7f82a7e026ec */ private function sanitizeCacheKey(string $key): string { return str_replace(['\\', "\0", '@', '/', '$', '{', '}', ':'], '-', $key); } }