shell bypass 403
<?php
defined('_JEXEC') or die;
use Joomla\CMS\Extension\PluginInterface;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface;
use Joomla\Event\DispatcherInterface;
return new class implements ServiceProviderInterface
{
public function register(Container $container)
{
$container->set(
PluginInterface::class,
function (Container $container) {
require_once __DIR__ . '/../metacache.php';
$dispatcher = $container->get(DispatcherInterface::class);
$plugin = PluginHelper::getPlugin('system', 'metacache');
$config = $plugin ? (array) $plugin : array();
return new PlgSystemMetacache($dispatcher, $config);
}
);
}
};