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\ArixComponentsRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixComponentsController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make("admin.arix.components", ["serverRow" => $this->settings->get("settings::arix:serverRow", 1), "statsCards" => $this->settings->get("settings::arix:statsCards", 2), "sideGraphs" => $this->settings->get("settings::arix:sideGraphs", 2), "graphs" => $this->settings->get("settings::arix:graphs", 2)]);
		 
	}
		 public function store(ArixComponentsRequest $request) {
		 goto iz6B_;
		 u0UyS: dNmCN: goto VL3W0;
		 Efj6T: $respond = "success";
		 goto XHBgi;
		 XHBgi: $response = AASupport::asForm()->post($endpoint, ["license" => config("arixTheme.license")]);
		 goto Ur76u;
			 BTOcK: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set("settings::" . $key, $value);
			 TUYwj: 
		}
		 goto aiCJq;
		 jIhgN: goto IvefP;
		 goto u0UyS;
		 gFiIj: throw new \Exception("Something went wrong");
		 goto lOppo;
		 iz6B_: $endpoint = "https://arix.gg/license/arix-theme";
		 goto Efj6T;
		 Ur76u: $responseData = $response->json();
		 goto G6l0u;
		 lOppo: IvefP: goto TLU8e;
		 oreca: $this->alert->success("Theme settings have been updated successfully.")->flash();
		 goto jIhgN;
			 G6l0u: if (!$responseData[$respond]) {
			 goto dNmCN;
			 
		}
		 goto BTOcK;
		 TLU8e: return redirect()->route("admin.arix.components");
		 goto BHzB6;
		 aiCJq: lL00H: goto oreca;
		 VL3W0: $this->alert->warning("Something went wrong.")->flash();
		 goto gFiIj;
		 BHzB6: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.