shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
vendor
/
statamic
/
cms
/
src
/
Rules
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
TimeFieldtype.php
<?php namespace Statamic\Rules; use Closure; use DateTime; use Illuminate\Contracts\Validation\ValidationRule; class TimeFieldtype implements ValidationRule { public function __construct(private $fieldtype) { // } public function validate(string $attribute, mixed $value, Closure $fail): void { $format = $this->fieldtype->config('seconds_enabled') ? 'H:i:s' : 'H:i'; if (! $this->matchesFormat($value, $format)) { $fail('statamic::validation.time')->translate(); } } private function matchesFormat($value, string $format) { if (! $value) { return false; } $date = DateTime::createFromFormat('!'.$format, $value); return $date && $date->format($format) == $value; } }
© 2026 UnknownSec