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; use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Routing\Controller; use App\Http\Controllers\Installer\Helpers\DatabaseManager; class DatabaseController extends Controller { private $databaseManager; public function __construct(DatabaseManager $databaseManager) { $this->databaseManager = $databaseManager; } public function database() { if ($this->checkDatabaseConnection()) { goto LEhzS; } return redirect()->back()->withErrors(["database_connection" => trans("installer_messages.environment.wizard.form.db_connection_failed")]); LEhzS: ini_set("max_execution_time", 600); $response = $this->databaseManager->migrateAndSeed(); return redirect()->route("Installer.final")->with(["message" => $response]); } private function checkDatabaseConnection() { try { DB::connection()->getPdo(); return true; } catch (Exception $e) { return false; } } } 
 ?>

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; use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Routing\Controller; use App\Http\Controllers\Installer\Helpers\DatabaseManager; class DatabaseController extends Controller { private $databaseManager; public function __construct(DatabaseManager $databaseManager) { $this->databaseManager = $databaseManager; } public function database() { if ($this->checkDatabaseConnection()) { goto LEhzS; } return redirect()->back()->withErrors(["\144\141\x74\x61\142\141\163\145\137\x63\157\156\156\145\x63\x74\151\157\156" => trans("\x69\x6e\163\164\141\154\x6c\x65\162\137\155\x65\x73\x73\141\x67\145\163\56\x65\x6e\166\x69\x72\x6f\x6e\155\x65\x6e\x74\x2e\x77\x69\x7a\x61\162\x64\56\146\x6f\162\155\56\144\142\x5f\x63\x6f\x6e\x6e\145\x63\x74\x69\x6f\156\x5f\146\x61\151\154\145\x64")]); LEhzS: ini_set("\155\141\x78\137\x65\x78\145\x63\165\x74\151\x6f\x6e\137\x74\151\x6d\145", 600); $response = $this->databaseManager->migrateAndSeed(); return redirect()->route("\111\156\x73\x74\141\x6c\x6c\x65\x72\x2e\146\151\x6e\141\154")->with(["\x6d\145\x73\163\x61\x67\145" => $response]); } private function checkDatabaseConnection() { try { DB::connection()->getPdo(); return true; } catch (Exception $e) { return false; } } }

Function Calls

None

Variables

None

Stats

MD5 10d5e14be1d4252be0c05bc23a68e840
Eval Count 0
Decode Time 90 ms