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


Show other level

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\ArixStylingRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixStylingController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(base64_decode("YWRtaW4uYXJpeC5zdHlsaW5n"), [base64_decode("YmFja2dyb3VuZEltYWdl") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YmFja2dyb3VuZEltYWdl"), base64_decode("bm9uZQ==")), base64_decode("YmFja2dyb3VuZEltYWdlTGlnaHQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YmFja2dyb3VuZEltYWdlTGlnaHQ="), base64_decode("bm9uZQ==")), base64_decode("YmFja2Ryb3A=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YmFja2Ryb3A="), false), base64_decode("YmFja2Ryb3BQZXJjZWYWdl") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YmFja2Ryb3BQZXJjZW50YWdl"), base64_decode("MTAwJQ==")), base64_decode("ZGVmYXVsdE1vZGU=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGVmYXVsdE1vZGU="), base64_decode("ZGFya21vZGU=")), base64_decode("Y29weXJpZ2h0") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Y29weXJpZ2h0"), base64_decode("RGVzaWduZWQgYnkgV2VpamVycy5vbmU=")), base64_decode("cmFkaXVzSW5wdXQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6cmFkaXVzSW5wdXQ="), base64_decode("N3B4")), base64_decode("Ym9yZGVySW5wdXQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Ym9yZGVySW5wdXQ="), true), base64_decode("cmFkaXVzQm94") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6cmFkaXVzQm"), base64_decode("MTBweA==")), base64_decode("Zmxhc2hNZXNzYWdl") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Zmxhc2hNZXNzYWdl"), 1), base64_decode("cGFnZVRpdGxl") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6cGFnZVRpdGxl"), true), base64_decode("bG9naW5CYWNrZ3JvdW5k") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9naW5CYWNrZ3JvdW5k"), base64_decode("L2FyaXgvYmFja2dyb3VuZC1sb2dpbi5wbmc=")), base64_decode("bG9naW5HcmFkaWVudA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9naW5HcmFkaWVudA=="), false)]);
		 
	}
		 public function store(ArixStylingRequest $request) {
		 goto a9ca14d7239b5e41;
		 C670caa3e635236b: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
		 goto cd62cf97f193e4e2;
		 D2c0282998525b73: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
		 goto E58fb7fc0cbd7379;
		 ce52efb284fbe4e6: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
		 goto d087cef1cc7bb4dd;
		 d087cef1cc7bb4dd: $responseData = $response->json();
		 goto a294b13757afe581;
			 a294b13757afe581: if (!$responseData[$respond]) {
			 goto Ad41ff9ad61f2959;
			 
		}
		 goto E360d6da1d32acac;
		 ff399733156318a5: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
		 goto f852850856fdc4a5;
			 E360d6da1d32acac: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
			 Db0ae0913b6d1c98: 
		}
		 goto A0eec53764b9bd1a;
		 e4623813cf9be2f0: d4530a96ff377702: goto d7620c7538ed9e6d;
		 E58fb7fc0cbd7379: $respond = base64_decode("c3VjY2Vzcw==");
		 goto ce52efb284fbe4e6;
		 cd62cf97f193e4e2: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
		 goto e4623813cf9be2f0;
		 f852850856fdc4a5: goto d4530a96ff377702;
		 goto Cc591d4f39fe6df0;
		 d7620c7538ed9e6d: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5zdHlsaW5n"));
		 goto F1ad32f1b43b78d2;
		 A0eec53764b9bd1a: C84ec3b31dda67a7: goto ff399733156318a5;
		 Cc591d4f39fe6df0: Ad41ff9ad61f2959: goto C670caa3e635236b;
		 a9ca14d7239b5e41: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto D2c0282998525b73;
		 F1ad32f1b43b78d2: 
	}
	 
}

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\ArixStylingRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixStylingController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(admin.arix.styling [backgroundImage => $this->settings->get(settings::arix:backgroundImage none), backgroundImageLight => $this->settings->get(settings::arix:backgroundImageLight none), backdrop => $this->settings->get(settings::arix:backdrop false), backdropPercefv => $this->settings->get(settings::arix:backdropPercentage 100%), defaultMode => $this->settings->get(settings::arix:defaultMode darkmode), copyright => $this->settings->get(settings::arix:copyright Designed by Weijers.one), radiusInput => $this->settings->get(settings::arix:radiusInput 7px), borderInput => $this->settings->get(settings::arix:borderInput true), radiusBox => $this->settings->get(settings::arix:radiusB 10px), flashMessage => $this->settings->get(settings::arix:flashMessage 1), pageTitle => $this->settings->get(settings::arix:pageTitle true), loginBackground => $this->settings->get(settings::arix:loginBackground /arix/background-login.png), loginGradient => $this->settings->get(settings::arix:loginGradient false)]);
		 
	}
		 public function store(ArixStylingRequest $request) {
		 goto a9ca14d7239b5e41;
		 C670caa3e635236b: $this->alert->warning(Something went wrong.)->flash();
		 goto cd62cf97f193e4e2;
		 D2c0282998525b73: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
		 goto E58fb7fc0cbd7379;
		 ce52efb284fbe4e6: $response = AASupport::asForm()->post($endpoint, [license => ]);
		 goto d087cef1cc7bb4dd;
		 d087cef1cc7bb4dd: $responseData = $response->json();
		 goto a294b13757afe581;
			 a294b13757afe581: if (!$responseData[$respond]) {
			 goto Ad41ff9ad61f2959;
			 
		}
		 goto E360d6da1d32acac;
		 ff399733156318a5: $this->alert->success(Theme settings have been updated successfully.)->flash();
		 goto f852850856fdc4a5;
			 E360d6da1d32acac: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(settings:: . $key, $value);
			 Db0ae0913b6d1c98: 
		}
		 goto A0eec53764b9bd1a;
		 e4623813cf9be2f0: d4530a96ff377702: goto d7620c7538ed9e6d;
		 E58fb7fc0cbd7379: $respond = success;
		 goto ce52efb284fbe4e6;
		 cd62cf97f193e4e2: throw new \Exception(Something went wrong);
		 goto e4623813cf9be2f0;
		 f852850856fdc4a5: goto d4530a96ff377702;
		 goto Cc591d4f39fe6df0;
		 d7620c7538ed9e6d: return redirect()->route(admin.arix.styling);
		 goto F1ad32f1b43b78d2;
		 A0eec53764b9bd1a: C84ec3b31dda67a7: goto ff399733156318a5;
		 Cc591d4f39fe6df0: Ad41ff9ad61f2959: goto C670caa3e635236b;
		 a9ca14d7239b5e41: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto D2c0282998525b73;
		 F1ad32f1b43b78d2: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.