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\ArixAdvancedRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixAdvancedController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(base64_decode("YWRtaW4uYXJpeC5hZHZhbmNlZA=="), [base64_decode("cHJvZmlsZVR5cGU=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6cHJvZmlsZVR5cGU="), base64_decode("Z3JhdmF0YXI=")), base64_decode("bW9kZVRvZ2dsZXI=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bW9kZVRvZ2dsZXI="), true), base64_decode("bGFuZ1N3aXRjaA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGFuZ1N3aXRjaA=="), true), base64_decode("aXBGbGFn") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6aXBGbGFn"), true), base64_decode("bG93UmVzb3VyY2VzQWxlcnQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG93UmVzb3VyY2VzQWxlcnQ="), false)]);
		 
	}
		 public function store(ArixAdvancedRequest $request) {
		 goto C52fb30eec591b79;
		 Ce0d4365c3776bac: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
		 goto e64707c2b2ef0147;
		 e64707c2b2ef0147: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
		 goto B33a751bb5920ac0;
		 F20d3fa343fefc6b: c2452ff6e82252fb: goto Ce0d4365c3776bac;
		 B6b4efa33633c65c: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
		 goto A4d070da5b89ee0e;
		 C52fb30eec591b79: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto B6b4efa33633c65c;
		 a3128991012f3b59: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
		 goto f2ff790639ed6a72;
		 A4d070da5b89ee0e: $respond = base64_decode("c3VjY2Vzcw==");
		 goto a3128991012f3b59;
		 f2ff790639ed6a72: $responseData = $response->json();
		 goto ac6aacdd95aa2a6e;
			 ac6aacdd95aa2a6e: if (!$responseData[$respond]) {
			 goto c2452ff6e82252fb;
			 
		}
		 goto bb7337ca69e22ba5;
		 Df063b89ba675e33: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5hZHZhbmNlZA=="));
		 goto b0359068fb8e5698;
		 B33a751bb5920ac0: Cec00ffd49e9bbcb: goto Df063b89ba675e33;
		 Fe5eb59b137af61e: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
		 goto ad1531518f3a4d43;
		 ad1531518f3a4d43: goto Cec00ffd49e9bbcb;
		 goto F20d3fa343fefc6b;
			 bb7337ca69e22ba5: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
			 b83cd5ad71a30910: 
		}
		 goto C5f1cab7595c7566;
		 C5f1cab7595c7566: Af5a4e38336bf69e: goto Fe5eb59b137af61e;
		 b0359068fb8e5698: 
	}
	 
}

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\ArixAdvancedRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixAdvancedController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(admin.arix.advanced [profileType => $this->settings->get(settings::arix:profileType gravatar), modeToggler => $this->settings->get(settings::arix:modeToggler true), langSwitch => $this->settings->get(settings::arix:langSwitch true), ipFlag => $this->settings->get(settings::arix:ipFlag true), lowResourcesAlert => $this->settings->get(settings::arix:lowResourcesAlert false)]);
		 
	}
		 public function store(ArixAdvancedRequest $request) {
		 goto C52fb30eec591b79;
		 Ce0d4365c3776bac: $this->alert->warning(Something went wrong.)->flash();
		 goto e64707c2b2ef0147;
		 e64707c2b2ef0147: throw new \Exception(Something went wrong);
		 goto B33a751bb5920ac0;
		 F20d3fa343fefc6b: c2452ff6e82252fb: goto Ce0d4365c3776bac;
		 B6b4efa33633c65c: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
		 goto A4d070da5b89ee0e;
		 C52fb30eec591b79: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto B6b4efa33633c65c;
		 a3128991012f3b59: $response = AASupport::asForm()->post($endpoint, [license => ]);
		 goto f2ff790639ed6a72;
		 A4d070da5b89ee0e: $respond = success;
		 goto a3128991012f3b59;
		 f2ff790639ed6a72: $responseData = $response->json();
		 goto ac6aacdd95aa2a6e;
			 ac6aacdd95aa2a6e: if (!$responseData[$respond]) {
			 goto c2452ff6e82252fb;
			 
		}
		 goto bb7337ca69e22ba5;
		 Df063b89ba675e33: return redirect()->route(admin.arix.advanced);
		 goto b0359068fb8e5698;
		 B33a751bb5920ac0: Cec00ffd49e9bbcb: goto Df063b89ba675e33;
		 Fe5eb59b137af61e: $this->alert->success(Theme settings have been updated successfully.)->flash();
		 goto ad1531518f3a4d43;
		 ad1531518f3a4d43: goto Cec00ffd49e9bbcb;
		 goto F20d3fa343fefc6b;
			 bb7337ca69e22ba5: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(settings:: . $key, $value);
			 b83cd5ad71a30910: 
		}
		 goto C5f1cab7595c7566;
		 C5f1cab7595c7566: Af5a4e38336bf69e: goto Fe5eb59b137af61e;
		 b0359068fb8e5698: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.