Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
spatie
/
laravel-data
/
src
/
DataPipes
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
AuthorizedDataPipe.php
0.882KB
edt
ren
CastPropertiesDataPipe.php
7.329KB
edt
ren
DataPipe.php
0.396KB
edt
ren
DefaultValuesDataPipe.php
1.418KB
edt
ren
FillRouteParameterPrope
...
1.572KB
edt
ren
InjectPropertyValuesPip
...
1.418KB
edt
ren
MapPropertiesDataPipe.php
2.253KB
edt
ren
ValidatePropertiesDataP
...
0.982KB
edt
ren
<?php namespace Spatie\LaravelData\DataPipes; use Spatie\LaravelData\Attributes\InjectsPropertyValue; use Spatie\LaravelData\Support\Creation\CreationContext; use Spatie\LaravelData\Support\DataClass; use Spatie\LaravelData\Support\Skipped; class InjectPropertyValuesPipe implements DataPipe { public function handle(mixed $payload, DataClass $class, array $properties, CreationContext $creationContext): array { foreach ($class->properties as $dataProperty) { /** @var null|InjectsPropertyValue $attribute */ $attribute = $dataProperty->attributes->first(InjectsPropertyValue::class); if ($attribute === null) { continue; } // if inputMappedName exists, use it first $name = $dataProperty->inputMappedName ?: $dataProperty->name; if (! $attribute->shouldBeReplacedWhenPresentInPayload() && array_key_exists($name, $properties)) { continue; } $value = $attribute->resolve($dataProperty, $payload, $properties, $creationContext); if ($value === Skipped::create()) { continue; } $properties[$name] = $value; // keep the original property name if ($name !== $dataProperty->name) { $properties[$dataProperty->name] = $properties[$name]; } } return $properties; } }
<=Back
Liking