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

Signing you up...

Thank you for signing up!

PHP Decode

private $databaseManager; public function __construct(DatabaseManager $databaseManager) { ..

Decoded Output download

<?  private $databaseManager; public function __construct(DatabaseManager $databaseManager) { $this->databaseManager = $databaseManager; } public function database() { if ($this->checkDatabaseConnection()) { goto tLuze; } return redirect()->back()->withErrors(["database_connection" => trans("installer_messages.environment.wizard.form.db_connection_failed")]); tLuze: 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

private $databaseManager; public function __construct(DatabaseManager $databaseManager) { $this->databaseManager = $databaseManager; } public function database() { if ($this->checkDatabaseConnection()) { goto tLuze; } return redirect()->back()->withErrors(["\144\141\164\x61\142\141\x73\x65\137\x63\157\x6e\x6e\145\143\x74\151\157\x6e" => trans("\x69\x6e\x73\164\141\154\x6c\x65\x72\x5f\x6d\x65\163\x73\x61\x67\x65\x73\x2e\x65\x6e\x76\151\162\x6f\x6e\155\145\x6e\164\x2e\167\151\x7a\141\x72\x64\56\x66\157\162\x6d\x2e\x64\x62\137\x63\157\x6e\156\x65\x63\x74\151\x6f\x6e\137\146\x61\x69\x6c\145\x64")]); tLuze: ini_set("\155\x61\x78\137\x65\x78\145\143\x75\164\151\157\x6e\x5f\164\x69\155\145", 600); $response = $this->databaseManager->migrateAndSeed(); return redirect()->route("\x49\156\163\x74\x61\154\x6c\x65\x72\x2e\146\151\156\141\154")->with(["\155\x65\x73\163\x61\147\145" => $response]); } private function checkDatabaseConnection() { try { DB::connection()->getPdo(); return true; } catch (Exception $e) { return false; } } 

Function Calls

None

Variables

None

Stats

MD5 2c6f71a9437100e91a4c6f87ad520f29
Eval Count 0
Decode Time 30 ms