shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
StaticCaching
/
NoCache
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
Controller.php
<?php namespace Statamic\StaticCaching\NoCache; use Illuminate\Http\Request; use Statamic\StaticCaching\Replacers\NoCacheReplacer; use Statamic\Support\Str; class Controller { public function __invoke(Request $request, Session $session) { $url = $request->input('url'); if (config('statamic.static_caching.ignore_query_strings', false)) { $url = explode('?', $url)[0]; } if (Str::endsWith($url, '?')) { $url = Str::replaceLast('?', '', $url); } if (Str::contains($url, '?')) { $url = Str::before($url, '?').'?'.Request::normalizeQueryString(Str::after($url, '?')); } $session = $session->setUrl($url)->restore(); $replacer = new NoCacheReplacer($session); return [ 'csrf' => csrf_token(), 'regions' => $session ->regions() ->map->render() ->map(fn ($contents) => $replacer->replace($contents)), ]; } }
© 2026 UnknownSec