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

Signing you up...

Thank you for signing up!

PHP Decode

namespace App\Http\Controllers\Installer; use Exception; use Illuminate\Http\Request; use ..

Decoded Output download

<?  namespace App\Http\Controllers\Installer; use Exception; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\DB; class ActivateController extends Controller { public function activate() { if ($this->checkDatabaseConnection()) { goto rp3pJ; } return redirect()->back()->withErrors(["database_connection" => trans("installer_messages.environment.wizard.form.db_connection_failed")]); rp3pJ: return view("installer.activate"); } public function verify(Request $request) { $mysqli_connection = getMysqliConnection(); if ($mysqli_connection) { goto QRmBT; } return redirect()->route("Installer.activate")->with(["failed" => trans("responses.database_connection_failed")])->withInput($request->all()); QRmBT: $purchase_verification = aplVerifyEnvatoPurchase($request->purchase_code); if (empty($purchase_verification)) { goto B5hCM; } return redirect()->route("Installer.activate")->with(["failed" => "Connection" . " to remote " . "server can't be" . " established"])->withInput($request->all()); B5hCM: $license_notifications_array = incevioVerify($request->root_url, $request->email_address, $request->purchase_code, $mysqli_connection); if (!($license_notifications_array["notification_case"] == "notification_license_ok")) { goto dq_ET; } return view("installer.install", compact("license_notifications_array")); dq_ET: if (!($license_notifications_array["notification_case"] == "notification_already_installed")) { goto JYVHQ; } $license_notifications_array = incevioAutoloadHelpers($mysqli_connection, 1); if (!($license_notifications_array["notification_case"] == "notification_license_ok")) { goto T8N3E; } return view("installer.install", compact("license_notifications_array")); T8N3E: JYVHQ: return redirect()->route("Installer.activate")->with(["failed" => $license_notifications_array["notification_text"]])->withInput($request->all()); } private function checkDatabaseConnection() { try { DB::connection()->getPdo(); return true; } catch (Exception $e) { return false; } } private function response($message, $status = "danger") { return ["status" => $status, "message" => $message]; } } 
 ?>

Did this file decode correctly?

Original Code

namespace App\Http\Controllers\Installer; use Exception; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\DB; class ActivateController extends Controller { public function activate() { if ($this->checkDatabaseConnection()) { goto rp3pJ; } return redirect()->back()->withErrors(["\144\x61\x74\x61\x62\x61\163\145\137\x63\157\x6e\156\145\143\x74\151\157\156" => trans("\x69\156\x73\164\x61\154\x6c\x65\162\137\155\x65\163\163\141\147\145\163\x2e\145\156\166\151\162\x6f\x6e\155\x65\x6e\164\56\167\151\172\x61\x72\144\56\146\157\162\155\x2e\144\x62\x5f\x63\157\156\x6e\145\143\164\x69\157\x6e\x5f\x66\x61\x69\x6c\x65\144")]); rp3pJ: return view("\151\x6e\163\164\x61\x6c\x6c\x65\x72\56\141\x63\164\151\x76\141\164\145"); } public function verify(Request $request) { $mysqli_connection = getMysqliConnection(); if ($mysqli_connection) { goto QRmBT; } return redirect()->route("\111\156\x73\164\141\154\x6c\145\x72\56\x61\143\x74\x69\x76\x61\x74\x65")->with(["\x66\141\151\x6c\x65\x64" => trans("\x72\x65\163\160\157\156\163\x65\x73\56\x64\x61\x74\141\142\x61\x73\145\x5f\x63\x6f\x6e\x6e\x65\143\x74\151\x6f\x6e\137\x66\x61\151\x6c\x65\x64")])->withInput($request->all()); QRmBT: $purchase_verification = aplVerifyEnvatoPurchase($request->purchase_code); if (empty($purchase_verification)) { goto B5hCM; } return redirect()->route("\x49\x6e\163\x74\141\x6c\154\x65\162\x2e\x61\143\x74\151\166\x61\x74\145")->with(["\146\x61\151\x6c\145\x64" => "\103\x6f\156\x6e\x65\143\164\151\157\156" . "\40\x74\157\x20\x72\x65\155\157\164\x65\x20" . "\163\x65\162\166\145\x72\x20\x63\141\156\x27\164\40\x62\x65" . "\x20\145\163\164\x61\142\x6c\x69\x73\x68\145\x64"])->withInput($request->all()); B5hCM: $license_notifications_array = incevioVerify($request->root_url, $request->email_address, $request->purchase_code, $mysqli_connection); if (!($license_notifications_array["\156\157\164\151\x66\x69\x63\x61\164\x69\157\156\137\143\x61\x73\145"] == "\156\x6f\164\151\x66\151\x63\141\x74\151\157\x6e\x5f\154\151\143\145\x6e\163\145\137\157\x6b")) { goto dq_ET; } return view("\151\156\x73\x74\x61\x6c\x6c\x65\x72\56\151\156\163\x74\141\x6c\154", compact("\x6c\x69\143\145\156\163\145\137\x6e\x6f\x74\151\x66\151\x63\141\x74\151\157\156\x73\137\141\162\162\141\171")); dq_ET: if (!($license_notifications_array["\156\x6f\164\151\146\x69\143\141\164\x69\x6f\x6e\x5f\x63\x61\163\145"] == "\x6e\x6f\x74\151\146\x69\143\141\164\151\x6f\x6e\x5f\141\x6c\x72\145\x61\x64\x79\x5f\x69\156\x73\164\x61\154\154\145\144")) { goto JYVHQ; } $license_notifications_array = incevioAutoloadHelpers($mysqli_connection, 1); if (!($license_notifications_array["\x6e\x6f\x74\x69\146\151\x63\141\x74\151\157\156\137\x63\141\x73\145"] == "\156\x6f\x74\151\x66\151\143\141\164\151\157\x6e\x5f\154\151\x63\145\156\x73\x65\137\157\153")) { goto T8N3E; } return view("\151\156\x73\164\141\x6c\x6c\x65\162\56\151\156\x73\164\x61\x6c\154", compact("\154\151\x63\145\x6e\x73\x65\137\156\157\x74\151\x66\151\x63\x61\x74\151\x6f\156\163\137\141\x72\162\141\171")); T8N3E: JYVHQ: return redirect()->route("\111\156\x73\x74\x61\154\154\x65\x72\x2e\141\x63\x74\x69\166\x61\164\145")->with(["\146\141\151\x6c\x65\x64" => $license_notifications_array["\156\157\164\x69\x66\x69\143\141\164\x69\157\x6e\137\164\145\x78\x74"]])->withInput($request->all()); } private function checkDatabaseConnection() { try { DB::connection()->getPdo(); return true; } catch (Exception $e) { return false; } } private function response($message, $status = "\x64\141\x6e\x67\x65\162") { return ["\163\164\x61\x74\x75\x73" => $status, "\155\x65\x73\x73\141\x67\145" => $message]; } }

Function Calls

None

Variables

None

Stats

MD5 5083ed602f5bc6ea6eadb6c7d60e82d4
Eval Count 0
Decode Time 39 ms