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\ArixDashboardRequest;
 use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
	 class ArixDashboardController extends Controller {
		 public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
		 
	}
		 public function index() : View {
		 return $this->view->make("admin.arix.dashboard", ["dashboardWidgets" => json_decode($this->settings->get("settings::arix:dashboardWidgets", "[]"), true)]);
		 
	}
		 public function store(ArixDashboardRequest $request) {
		 goto UcQXW;
		 MBdwE: A3vXl: goto jQCoH;
		 ywWm4: return redirect()->route("admin.arix.dashboard");
		 goto KBB_f;
			 cvPoZ: if (!$responseData[$respond]) {
			 goto ySmKe;
			 
		}
		 goto hUsoZ;
		 VJFBY: $this->alert->warning("Something went wrong.")->flash();
		 goto QqpK9;
			 hUsoZ: foreach ($request->normalize() as $key => $value) {
			 goto VTFCK;
			 A2Vgo: xg7jI: goto YhTMn;
			 pG5D3: $value = json_encode($value);
			 goto Z4d5m;
			 kc0SU: H9ZlB: goto gLwxu;
			 FAgNZ: uU_XG: goto pG5D3;
				 Bwyd4: if (!empty($value)) {
				 goto uU_XG;
				 
			}
			 goto wTbkp;
			 gLwxu: goto OWldp;
			 goto S1G7H;
			 UXQz6: goto xg7jI;
			 goto kc0SU;
				 VTFCK: if (is_array($value)) {
				 goto S5s2q;
				 
			}
			 goto OwP3D;
			 Z4d5m: OWldp: goto Gd9hY;
			 axY5N: $value = array_filter($value, fn($item) => $item !== '' && $item !== null);
			 goto Bwyd4;
			 wTbkp: goto xg7jI;
			 goto FAgNZ;
			 S1G7H: S5s2q: goto axY5N;
			 Gd9hY: $this->settings->set("settings::" . $key, $value);
			 goto A2Vgo;
				 OwP3D: if (!($value === '' || $value === null)) {
				 goto H9ZlB;
				 
			}
			 goto UXQz6;
			 YhTMn: 
		}
		 goto MBdwE;
		 b2WgW: $responseData = $response->json();
		 goto cvPoZ;
		 rvpCc: ySmKe: goto VJFBY;
		 pjaBz: Xvsk2: goto ywWm4;
		 roPn5: $response = AASupport::asForm()->post($endpoint, ["license" => config("arixTheme.license")]);
		 goto b2WgW;
		 T_LL3: $respond = "success";
		 goto roPn5;
		 UcQXW: $endpoint = "https://arix.gg/license/arix-theme";
		 goto T_LL3;
		 jQCoH: $this->alert->success("Theme settings have been updated successfully.")->flash();
		 goto e8RX2;
		 QqpK9: throw new \Exception("Something went wrong");
		 goto pjaBz;
		 e8RX2: goto Xvsk2;
		 goto rvpCc;
		 KBB_f: 
	}
	 
}



© 2023 Quttera Ltd. All rights reserved.