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.14  | 
    |              on 2024-04-28 05:55:09              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
/* 
* Copyright (C) Incevio Systems, Inc - All Rights Reserved 
* Unauthorized copying of this file, via any medium is strictly prohibited 
* Proprietary and confidential 
* Written by Munna Khan <[email protected]>, September 2018 
*/ 
 namespace App\Http\Controllers\Installer\Helpers; use Exception; use Illuminate\Support\Facades\Artisan; use Symfony\Component\Console\Output\BufferedOutput; class FinalInstallManager { public function runFinal() { $outputLog = new BufferedOutput(); $this->generateKey($outputLog); $this->publishVendorAssets($outputLog); return $outputLog->fetch(); } private static function generateKey($outputLog) { try { if (!config("installer.final.key")) { goto Xz1kj; } Artisan::call("key:generate", ["--force" => true], $outputLog); Xz1kj: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function publishVendorAssets($outputLog) { try { if (!config("installer.final.publish")) { goto K_5Dg; } Artisan::call("vendor:publish", ["--all" => true], $outputLog); K_5Dg: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function response($message, $outputLog) { return ["status" => "error", "message" => $message, "dbOutputLog" => $outputLog->fetch()]; } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-04-28 05:55:09              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
/*
* Copyright (C) Incevio Systems, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Munna Khan <[email protected]>, September 2018
*/
 namespace App\Http\Controllers\Installer\Helpers; use Exception; use Illuminate\Support\Facades\Artisan; use Symfony\Component\Console\Output\BufferedOutput; class FinalInstallManager { public function runFinal() { $outputLog = new BufferedOutput(); $this->generateKey($outputLog); $this->publishVendorAssets($outputLog); return $outputLog->fetch(); } private static function generateKey($outputLog) { try { if (!config("\x69\x6e\x73\164\x61\x6c\154\x65\162\56\146\151\x6e\x61\x6c\x2e\153\x65\171")) { goto Xz1kj; } Artisan::call("\153\x65\171\x3a\147\x65\156\145\162\141\164\x65", ["\x2d\55\146\x6f\x72\x63\x65" => true], $outputLog); Xz1kj: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function publishVendorAssets($outputLog) { try { if (!config("\x69\x6e\x73\164\x61\x6c\x6c\145\162\x2e\x66\151\156\141\154\56\x70\x75\x62\154\x69\163\150")) { goto K_5Dg; } Artisan::call("\x76\x65\156\144\x6f\162\x3a\x70\x75\142\154\151\x73\x68", ["\x2d\55\141\154\154" => true], $outputLog); K_5Dg: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function response($message, $outputLog) { return ["\163\x74\x61\x74\x75\x73" => "\x65\x72\162\157\x72", "\x6d\x65\x73\x73\x61\x67\x65" => $message, "\144\x62\117\165\x74\160\x75\164\x4c\x6f\147" => $outputLog->fetch()]; } }

Function Calls

None

Variables

None

Stats

MD5 40ae114c9f17fb3fc5e0d3c603f61056
Eval Count 0
Decode Time 46 ms