Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


namespace Pterodactyl\Http\Controllers\Admin\Arix;
 use Illuminate\View\View;
 use Illuminate\Support\Facades\Http as AASupport;
 use Prologue\Alerts\AlertsMessageBag;
 use Illuminate\View\Factory as ViewFactory;
 use Pterodactyl\Http\Controllers\Controller;
 use Pterodactyl\Http\Requests\Admin\Arix\ArixLayoutRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixLayoutController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make("admin.arix.layout", ["layout" => $this->settings->get("settings::arix:layout", 1), "searchComponent" => $this->settings->get("settings::arix:searchComponent", 1), "logoPosition" => $this->settings->get("settings::arix:logoPosition", 1), "socialPosition" => $this->settings->get("settings::arix:socialPosition", 1), "loginLayout" => $this->settings->get("settings::arix:loginLayout", 1)]);
		 
	}
		 public function store(ArixLayoutRequest $request) {
		 goto DmxUB;
		 pPE82: pKXMM: goto TSOpa;
		 KsfVw: $respond = "success";
		 goto vAvp0;
		 KRWjI: throw new \Exception("Something went wrong");
		 goto BVwDf;
			 BRyqx: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set("settings::" . $key, $value);
			 DuzTm: 
		}
		 goto g7_7Z;
		 SxcAm: goto Ha80Q;
		 goto pPE82;
		 g7_7Z: LH8RL: goto MkUE3;
		 vAvp0: $response = AASupport::asForm()->post($endpoint, ["license" => config("arixTheme.license")]);
		 goto ALeo5;
			 C6hwH: if (!$responseData[$respond]) {
			 goto pKXMM;
			 
		}
		 goto BRyqx;
		 TSOpa: $this->alert->warning("Something went wrong.")->flash();
		 goto KRWjI;
		 BVwDf: Ha80Q: goto aT5kx;
		 DmxUB: $endpoint = "https://arix.gg/license/arix-theme";
		 goto KsfVw;
		 MkUE3: $this->alert->success("Theme settings have been updated successfully.")->flash();
		 goto SxcAm;
		 ALeo5: $responseData = $response->json();
		 goto C6hwH;
		 aT5kx: return redirect()->route("admin.arix.layout");
		 goto OTohs;
		 OTohs: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.