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\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(base64_decode("YWRtaW4uYXJpeC5sYXlvdXQ="), [base64_decode("bGF5b3V0") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bGF5b3V0"), 1), base64_decode("c2VhcmNoQ29tcG9uZW50") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c2VhcmNoQ29tcG9uZW"), 1), base64_decode("bG9nb1Bvc2l0aW9u") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9nb1Bvc2l0aW9u"), 1), base64_decode("c29jaWFsUG9zaXRpb=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c29jaWFsUG9zaXRpb24="), 1), base64_decode("bG9naW5MYXlvdXQ=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9naW5MYXlvdXQ="), 1)]);
		 
	}
		 public function store(ArixLayoutRequest $request) {
		 goto D69bb4417eae3ec4;
		 f8d3e4f900393427: $respond = base64_decode("c3VjY2Vzcw==");
		 goto Bdfa32241f72e21a;
		 D69bb4417eae3ec4: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto ce9a3b4d0f5b717b;
		 ed26ed8a61a5691d: abb43f5c9654fe4e: goto ffd6422109a82a8a;
		 Ec97af86193524b5: a338eafdd63e1097: goto F8ca1aa4491140c1;
		 aa6730375161878e: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
		 goto ed26ed8a61a5691d;
		 bd48779f38aab1c2: goto abb43f5c9654fe4e;
		 goto Ec97af86193524b5;
		 Ae73dc13c548b187: F021e13714e4911b: goto c47b780d0050e3ae;
		 ce9a3b4d0f5b717b: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
		 goto f8d3e4f900393427;
		 A7eda3c8f012d2e1: $responseData = $response->json();
		 goto d4130f01969d7f07;
		 F8ca1aa4491140c1: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
		 goto aa6730375161878e;
		 Bdfa32241f72e21a: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
		 goto A7eda3c8f012d2e1;
			 d4130f01969d7f07: if (!$responseData[$respond]) {
			 goto a338eafdd63e1097;
			 
		}
		 goto e69406c2ef366929;
		 ffd6422109a82a8a: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5sYXlvdXQ="));
		 goto Ecc149b249492557;
		 c47b780d0050e3ae: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
		 goto bd48779f38aab1c2;
			 e69406c2ef366929: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
			 E70978fd5b312a6d: 
		}
		 goto Ae73dc13c548b187;
		 Ecc149b249492557: 
	}
	 
}

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:searchCompone 1), logoPosition => $this->settings->get(settings::arix:logoPosition 1), socialPositi => $this->settings->get(settings::arix:socialPosition 1), loginLayout => $this->settings->get(settings::arix:loginLayout 1)]);
		 
	}
		 public function store(ArixLayoutRequest $request) {
		 goto D69bb4417eae3ec4;
		 f8d3e4f900393427: $respond = success;
		 goto Bdfa32241f72e21a;
		 D69bb4417eae3ec4: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto ce9a3b4d0f5b717b;
		 ed26ed8a61a5691d: abb43f5c9654fe4e: goto ffd6422109a82a8a;
		 Ec97af86193524b5: a338eafdd63e1097: goto F8ca1aa4491140c1;
		 aa6730375161878e: throw new \Exception(Something went wrong);
		 goto ed26ed8a61a5691d;
		 bd48779f38aab1c2: goto abb43f5c9654fe4e;
		 goto Ec97af86193524b5;
		 Ae73dc13c548b187: F021e13714e4911b: goto c47b780d0050e3ae;
		 ce9a3b4d0f5b717b: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
		 goto f8d3e4f900393427;
		 A7eda3c8f012d2e1: $responseData = $response->json();
		 goto d4130f01969d7f07;
		 F8ca1aa4491140c1: $this->alert->warning(Something went wrong.)->flash();
		 goto aa6730375161878e;
		 Bdfa32241f72e21a: $response = AASupport::asForm()->post($endpoint, [license => ]);
		 goto A7eda3c8f012d2e1;
			 d4130f01969d7f07: if (!$responseData[$respond]) {
			 goto a338eafdd63e1097;
			 
		}
		 goto e69406c2ef366929;
		 ffd6422109a82a8a: return redirect()->route(admin.arix.layout);
		 goto Ecc149b249492557;
		 c47b780d0050e3ae: $this->alert->success(Theme settings have been updated successfully.)->flash();
		 goto bd48779f38aab1c2;
			 e69406c2ef366929: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(settings:: . $key, $value);
			 E70978fd5b312a6d: 
		}
		 goto Ae73dc13c548b187;
		 Ecc149b249492557: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.