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.1 |
| on 2018-12-21 10:26:59 |
| 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 cEfMD; } Artisan::call("key:generate", ["--force" => true], $outputLog); cEfMD: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function publishVendorAssets($outputLog) { try { if (!config("installer.final.publish")) { goto Lv0WF; } Artisan::call("vendor:publish", ["--all" => true], $outputLog); Lv0WF: } 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.1 |
| on 2018-12-21 10:26:59 |
| 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("\151\156\163\x74\141\154\x6c\x65\x72\56\x66\x69\156\x61\154\56\153\x65\171")) { goto cEfMD; } Artisan::call("\x6b\x65\171\x3a\x67\145\156\x65\162\x61\x74\x65", ["\55\55\146\157\162\x63\145" => true], $outputLog); cEfMD: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function publishVendorAssets($outputLog) { try { if (!config("\x69\156\163\x74\141\154\x6c\145\162\56\146\151\x6e\x61\x6c\56\160\165\142\154\x69\x73\150")) { goto Lv0WF; } Artisan::call("\166\x65\x6e\144\x6f\162\x3a\160\x75\142\x6c\x69\x73\150", ["\x2d\55\x61\154\x6c" => true], $outputLog); Lv0WF: } catch (Exception $e) { return static::response($e->getMessage(), $outputLog); } return $outputLog; } private static function response($message, $outputLog) { return ["\163\164\x61\164\x75\163" => "\x65\162\x72\x6f\162", "\155\145\163\x73\141\x67\x65" => $message, "\144\x62\117\165\x74\160\x75\164\114\x6f\x67" => $outputLog->fetch()]; } }
Function Calls
None |
Stats
MD5 | 8a262c566bf1558850fe300ec4430adc |
Eval Count | 0 |
Decode Time | 78 ms |