shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Http
/
Resources
/
CP
/
Users
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
ListedUser.php
<?php namespace Statamic\Http\Resources\CP\Users; use Illuminate\Http\Resources\Json\JsonResource; use Statamic\Facades\Action; use Statamic\Facades\User; class ListedUser extends JsonResource { protected $blueprint; protected $columns; public function blueprint($blueprint) { $this->blueprint = $blueprint; return $this; } public function columns($columns) { $this->columns = $columns; return $this; } public function toArray($request) { return [ 'id' => $this->id(), 'last_login' => optional($this->lastLogin())->diffForHumans() ?? __('Never'), $this->merge($this->values([ 'email' => $this->email(), 'roles' => $this->roles()->map->handle()->all(), 'groups' => $this->groups()->map->handle()->all(), ])), 'super' => $this->isSuper(), 'edit_url' => $this->editUrl(), 'avatar' => $this->avatar(), 'initials' => $this->initials(), 'editable' => User::current()->can('edit', $this->resource), 'deleteable' => User::current()->can('delete', $this->resource), 'actions' => Action::for($this->resource), ]; } protected function values($extra = []) { return $this->columns->mapWithKeys(function ($column) use ($extra) { $key = $column->field; $field = $this->blueprint->field($key); $value = $extra[$key] ?? $this->resource->value($key) ?? $field?->defaultValue(); if ($field) { $value = $field->setValue($value)->preProcessIndex()->value(); } return [$key => $value]; }); } }
© 2026 UnknownSec