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\ArixAnnouncementRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixAnnouncementController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(base64_decode("YWRtaW4uYXJpeC5hbm5vdW5jZW1lbnQ="), [base64_decode("YW5ub3VuY2VtZW50VHlwZQ==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YW5ub3VuY2VtZW50VHlwZQ=="), base64_decode("cGFydHk=")), base64_decode("YW5ub3VuY2VtZW50Q2xvc2VhYmxl") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YW5ub3VuY2VtZW50Q2xvc2VhYmxl"), false), base64_decode("YW5ub3VuY2VtZW50TWVzc2FnZQ==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YW5ub3VuY2VtZW50TWVzc2FnZQ=="), base64_decode("V2UgaGF2ZSBhIGJyYW5kIG5ldyBnYW1lIHBhbmVsIGRlc2lnbiE="))]);
		 
	}
		 public function store(ArixAnnouncementRequest $request) {
		 goto c90691975ef7e1bd;
		 c3427fdabca4c607: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
		 goto Ba14fe1448fac76d;
		 ef5efd0786fe2caf: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
		 goto C92dd30de7a615c5;
			 C50a268e1861349d: if (!$responseData[$respond]) {
			 goto Fb0a470a271fd06d;
			 
		}
		 goto b885478162736e5d;
		 A7ebd7b9e7202ba8: $responseData = $response->json();
		 goto C50a268e1861349d;
		 C2ca631a636e6b4f: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
		 goto ab5cab227899143e;
			 b885478162736e5d: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
			 Caddb0e67cefa173: 
		}
		 goto D822422635a3f96e;
		 Ba14fe1448fac76d: goto Ef18117c26629dab;
		 goto B2523bddf07f6c31;
		 eb9ebda5f4adf826: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
		 goto A7ebd7b9e7202ba8;
		 E5dba5bdcde665f8: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5hbm5vdW5jZW1lbnQ="));
		 goto F121c0eb751e31e4;
		 c90691975ef7e1bd: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto ef5efd0786fe2caf;
		 B2523bddf07f6c31: Fb0a470a271fd06d: goto b91242de1f70fdc2;
		 C92dd30de7a615c5: $respond = base64_decode("c3VjY2Vzcw==");
		 goto eb9ebda5f4adf826;
		 b91242de1f70fdc2: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
		 goto C2ca631a636e6b4f;
		 ab5cab227899143e: Ef18117c26629dab: goto E5dba5bdcde665f8;
		 D822422635a3f96e: E3e88d31986cc618: goto c3427fdabca4c607;
		 F121c0eb751e31e4: 
	}
	 
}

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\ArixAnnouncementRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixAnnouncementController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make(admin.arix.announcement [announcementType => $this->settings->get(settings::arix:announcementType party), announcementCloseable => $this->settings->get(settings::arix:announcementCloseable false), announcementMessage => $this->settings->get(settings::arix:announcementMessage We have a brand new game panel design!)]);
		 
	}
		 public function store(ArixAnnouncementRequest $request) {
		 goto c90691975ef7e1bd;
		 c3427fdabca4c607: $this->alert->success(Theme settings have been updated successfully.)->flash();
		 goto Ba14fe1448fac76d;
		 ef5efd0786fe2caf: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
		 goto C92dd30de7a615c5;
			 C50a268e1861349d: if (!$responseData[$respond]) {
			 goto Fb0a470a271fd06d;
			 
		}
		 goto b885478162736e5d;
		 A7ebd7b9e7202ba8: $responseData = $response->json();
		 goto C50a268e1861349d;
		 C2ca631a636e6b4f: throw new \Exception(Something went wrong);
		 goto ab5cab227899143e;
			 b885478162736e5d: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set(settings:: . $key, $value);
			 Caddb0e67cefa173: 
		}
		 goto D822422635a3f96e;
		 Ba14fe1448fac76d: goto Ef18117c26629dab;
		 goto B2523bddf07f6c31;
		 eb9ebda5f4adf826: $response = AASupport::asForm()->post($endpoint, [license => ]);
		 goto A7ebd7b9e7202ba8;
		 E5dba5bdcde665f8: return redirect()->route(admin.arix.announcement);
		 goto F121c0eb751e31e4;
		 c90691975ef7e1bd: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
		 goto ef5efd0786fe2caf;
		 B2523bddf07f6c31: Fb0a470a271fd06d: goto b91242de1f70fdc2;
		 C92dd30de7a615c5: $respond = success;
		 goto eb9ebda5f4adf826;
		 b91242de1f70fdc2: $this->alert->warning(Something went wrong.)->flash();
		 goto C2ca631a636e6b4f;
		 ab5cab227899143e: Ef18117c26629dab: goto E5dba5bdcde665f8;
		 D822422635a3f96e: E3e88d31986cc618: goto c3427fdabca4c607;
		 F121c0eb751e31e4: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.