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\ArixMetaRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixMetaController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make("admin.arix.meta", ["meta_color" => $this->settings->get("settings::arix:meta_color", "a35cf"), "meta_title" => $this->settings->get("settings::arix:meta_title", "Pterodactyl Panel"), "meta_description" => $this->settings->get("settings::arix:meta_description", "Our official Pterodactyl panel"), "meta_image" => $this->settings->get("settings::arix:meta_image", "/arix/meta-tags.png"), "meta_favicon" => $this->settings->get("settings::arix:meta_favicon", "/arix/Arix.png")]);
		 
	}
		 public function store(ArixMetaRequest $request) {
		 goto KThu1;
		 KThu1: $endpoint = "https://arix.gg/license/arix-theme";
		 goto pKibn;
		 xXxOm: return redirect()->route("admin.arix.meta");
		 goto RdoYT;
		 iFL2v: goto OASz2;
		 goto bLzgI;
		 pKibn: $respond = "success";
		 goto Y_xq6;
		 KR1mc: $this->alert->success("Theme settings have been updated successfully.")->flash();
		 goto iFL2v;
		 bLzgI: Xgj5R: goto srqow;
		 M9gFp: $responseData = $response->json();
		 goto tILqm;
		 hD8hx: V6P5i: goto KR1mc;
		 Y_xq6: $response = AASupport::asForm()->post($endpoint, ["license" => config("arixTheme.license")]);
		 goto M9gFp;
			 tILqm: if (!$responseData[$respond]) {
			 goto Xgj5R;
			 
		}
		 goto H1vKX;
		 j_WbZ: throw new \Exception("Something went wrong");
		 goto r5Rag;
		 srqow: $this->alert->warning("Something went wrong.")->flash();
		 goto j_WbZ;
		 r5Rag: OASz2: goto xXxOm;
			 H1vKX: foreach ($request->normalize() as $key => $value) {
			 $this->settings->set("settings::" . $key, $value);
			 bfqJB: 
		}
		 goto hD8hx;
		 RdoYT: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.