Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.15  | 
    |              on 2025-01-29 22:45:07              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
/* 
 
*/ 
 namespace App\Actions\Fortify; use App\Models\Exporter; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\CreatesNewUsers; use Spatie\Permission\Models\Role; class CreateNewUser implements CreatesNewUsers { use PasswordValidationRules; public function create(array $input) : User { goto V2I5_; y7Amo: if (!$randomExporter) { goto ORaoF; } goto U3ixw; COoUk: ORaoF: goto oFxnl; V2I5_: Validator::make($input, ["firstname" => ["required", "string", "max:255"], "lastname" => ["required", "string", "max:255"], "role" => ["required", "exists:roles,id"], "civility" => ["nullable", "string", "max:255"], "job" => ["nullable", "string", "max:255"], "language_iso_code" => ["nullable", "string", "max:255"], "phone_portable_number" => ["nullable", "string", "max:255"], "phone_number" => ["nullable", "string", "max:255"], "email" => ["required", "string", "email", "max:255", Rule::unique(User::class)], "password" => $this->passwordRules()])->validate(); goto QAAhV; GGAWk: $role = Role::findById($input["role"]); goto ud8dt; QAAhV: $user = User::create(["firstname" => $input["firstname"], "lastname" => $input["lastname"], "civility" => $input["civility"], "job" => $input["job"], "language_iso_code" => $input["language_iso_code"], "phone_portable_number" => $input["phone_portable_number"], "phone_number" => $input["phone_number"], "email" => $input["email"], "password" => Hash::make($input["password"])]); goto GGAWk; U3ixw: $user->exporter()->attach($randomExporter); goto COoUk; ud8dt: $user->assignRole($role); goto G85B5; oFxnl: return $user; goto pJb2i; G85B5: $randomExporter = Exporter::inRandomOrder()->first(); goto y7Amo; pJb2i: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.15  |
    |              on 2025-01-29 22:45:07              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
/*

*/
 namespace App\Actions\Fortify; use App\Models\Exporter; use App\Models\User; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\CreatesNewUsers; use Spatie\Permission\Models\Role; class CreateNewUser implements CreatesNewUsers { use PasswordValidationRules; public function create(array $input) : User { goto V2I5_; y7Amo: if (!$randomExporter) { goto ORaoF; } goto U3ixw; COoUk: ORaoF: goto oFxnl; V2I5_: Validator::make($input, ["\146\x69\x72\x73\164\x6e\141\x6d\145" => ["\x72\x65\161\165\x69\x72\x65\144", "\x73\x74\x72\x69\x6e\147", "\155\141\x78\x3a\x32\65\x35"], "\154\141\163\x74\156\x61\155\x65" => ["\162\145\x71\165\x69\x72\x65\144", "\x73\x74\x72\151\156\x67", "\x6d\x61\170\x3a\x32\x35\x35"], "\x72\157\x6c\145" => ["\x72\145\161\x75\x69\x72\x65\x64", "\145\x78\x69\x73\164\163\x3a\x72\157\154\x65\163\x2c\x69\144"], "\143\x69\166\x69\x6c\151\x74\171" => ["\x6e\165\x6c\x6c\x61\142\x6c\145", "\x73\x74\x72\x69\x6e\147", "\x6d\x61\x78\x3a\62\65\65"], "\152\x6f\142" => ["\x6e\165\154\154\x61\x62\154\145", "\x73\164\x72\151\156\147", "\155\x61\x78\72\62\x35\x35"], "\x6c\141\156\x67\x75\141\x67\x65\x5f\x69\x73\x6f\137\x63\x6f\144\x65" => ["\x6e\x75\x6c\x6c\141\x62\154\x65", "\x73\x74\x72\x69\x6e\x67", "\x6d\141\170\72\62\65\x35"], "\x70\150\x6f\x6e\145\x5f\160\x6f\162\x74\x61\x62\154\x65\137\156\x75\x6d\142\145\x72" => ["\156\165\x6c\154\141\142\x6c\x65", "\163\x74\162\x69\156\x67", "\155\x61\x78\x3a\x32\x35\x35"], "\160\150\x6f\156\145\x5f\156\165\x6d\x62\x65\162" => ["\156\x75\154\154\141\142\154\145", "\163\164\x72\151\156\147", "\155\x61\170\x3a\62\65\x35"], "\x65\x6d\141\151\x6c" => ["\x72\x65\x71\165\x69\162\145\144", "\x73\x74\162\x69\x6e\x67", "\145\155\x61\151\154", "\155\x61\x78\x3a\62\65\65", Rule::unique(User::class)], "\160\141\163\163\167\x6f\x72\x64" => $this->passwordRules()])->validate(); goto QAAhV; GGAWk: $role = Role::findById($input["\162\x6f\154\145"]); goto ud8dt; QAAhV: $user = User::create(["\146\151\162\x73\164\156\x61\x6d\x65" => $input["\146\151\162\x73\164\x6e\141\155\x65"], "\154\141\163\164\156\x61\x6d\145" => $input["\154\x61\163\164\x6e\141\155\x65"], "\x63\x69\166\x69\154\151\164\171" => $input["\143\151\x76\x69\x6c\151\x74\x79"], "\152\x6f\142" => $input["\152\x6f\x62"], "\154\x61\156\x67\x75\141\147\145\x5f\151\163\157\x5f\143\x6f\x64\145" => $input["\x6c\x61\x6e\147\165\x61\x67\x65\x5f\151\163\157\137\143\x6f\144\145"], "\x70\x68\x6f\x6e\x65\137\160\157\162\x74\141\x62\x6c\145\x5f\156\x75\155\142\145\162" => $input["\x70\150\x6f\x6e\145\137\x70\x6f\x72\x74\141\142\x6c\145\x5f\x6e\165\x6d\x62\145\162"], "\x70\x68\x6f\156\145\x5f\x6e\x75\x6d\142\145\162" => $input["\160\x68\x6f\x6e\x65\137\x6e\165\155\x62\145\162"], "\x65\155\141\x69\154" => $input["\x65\155\141\x69\154"], "\x70\141\163\x73\167\157\162\144" => Hash::make($input["\160\141\x73\x73\167\x6f\x72\144"])]); goto GGAWk; U3ixw: $user->exporter()->attach($randomExporter); goto COoUk; ud8dt: $user->assignRole($role); goto G85B5; oFxnl: return $user; goto pJb2i; G85B5: $randomExporter = Exporter::inRandomOrder()->first(); goto y7Amo; pJb2i: } }

Function Calls

None

Variables

None

Stats

MD5 1046b3c2228f16b6d50cec64c1591345
Eval Count 0
Decode Time 41 ms