shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
lolasweb.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Fieldtypes
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
Text.php
<?php namespace Statamic\Fieldtypes; use Statamic\Fields\Fieldtype; use Statamic\Support\Str; class Text extends Fieldtype { protected $categories = ['text']; protected $selectableInForms = true; protected function configFieldItems(): array { return [ [ 'display' => __('Input Behavior'), 'fields' => [ 'input_type' => [ 'display' => __('Input Type'), 'instructions' => __('statamic::fieldtypes.text.config.input_type'), 'type' => 'select', 'default' => 'text', 'options' => [ 'color', 'date', 'email', 'hidden', 'month', 'number', 'password', 'tel', 'text', 'time', 'url', 'week', ], ], 'placeholder' => [ 'display' => __('Placeholder'), 'instructions' => __('statamic::fieldtypes.text.config.placeholder'), 'type' => 'text', ], 'default' => [ 'display' => __('Default Value'), 'instructions' => __('statamic::messages.fields_default_instructions'), 'type' => 'text', ], 'character_limit' => [ 'display' => __('Character Limit'), 'instructions' => __('statamic::fieldtypes.text.config.character_limit'), 'type' => 'integer', ], 'autocomplete' => [ 'display' => __('Autocomplete'), 'instructions' => __('statamic::fieldtypes.text.config.autocomplete'), 'type' => 'select', 'clearable' => true, 'options' => [ 'additional-name', 'address-level1', 'address-level2', 'address-level3', 'address-level4', 'address-line1', 'address-line2', 'address-line3', 'bday', 'bday-day', 'bday-month', 'bday-year', 'cc-additional-name', 'cc-csc', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-family-name', 'cc-given-name', 'cc-name', 'cc-number', 'cc-type', 'country', 'country-name', 'current-password', 'email', 'family-name', 'given-name', 'honorific-prefix', 'honorific-suffix', 'language', 'name', 'new-password', 'nickname', 'off', 'on', 'organization', 'organization-title', 'photo', 'postal-code', 'sex', 'street-address', 'tel', 'tel-area-code', 'tel-country-code', 'tel-extension', 'tel-local', 'tel-local-prefix', 'tel-local-suffix', 'tel-national', 'transaction-amount', 'transaction-currency', 'url', 'username', ], ], ], ], [ 'display' => __('Appearance'), 'fields' => [ 'prepend' => [ 'display' => __('Prepend'), 'instructions' => __('statamic::fieldtypes.text.config.prepend'), 'type' => 'text', ], 'append' => [ 'display' => __('Append'), 'instructions' => __('statamic::fieldtypes.text.config.append'), 'type' => 'text', ], ], ], [ 'display' => 'Antlers', 'fields' => [ 'antlers' => [ 'display' => __('Allow Antlers'), 'instructions' => __('statamic::fieldtypes.any.config.antlers'), 'type' => 'toggle', ], ], ], ]; } public function process($data) { if ($data !== null && $this->config('input_type') === 'number') { return Str::contains($data, '.') ? (float) $data : (int) $data; } return $data; } public function preProcessIndex($value) { if ($value) { return $this->config('prepend').$value.$this->config('append'); } } }
© 2026 UnknownSec