Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Pterodactyl\Http\Controllers\Admin\Arix; use Illuminate\View\View; use Il..

Decoded Output download

<?php 
namespace Pterodactyl\Http\Controllers\Admin\Arix; use Illuminate\View\View; use Illuminate\Support\Facades\Http; use Prologue\Alerts\AlertsMessageBag; use Illuminate\View\Factory as ViewFactory; use Pterodactyl\Http\Controllers\Controller; use Pterodactyl\Http\Requests\Admin\Arix\ArixRequest; use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface; class ArixController extends Controller { public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) { } public function index() : View { return $this->view->make(base64_decode("YWRtaW4uYXJpeC5pbmRleA=="), [base64_decode("bG9nbw==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9nbw=="), base64_decode("L2FyaXgvQXJpeC5wbmc=")), base64_decode("ZnVsbExvZ28=") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZnVsbExvZ28="), false), base64_decode("bG9nb0hlaWdodA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bG9nb0hlaWdodA=="), base64_decode("MzJweA==")), base64_decode("ZGlzY29yZA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGlzY29yZA=="), base64_decode("NzE1MjgxMTcyNDIyMTk3MzAw")), base64_decode("c3VwcG9ydA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c3VwcG9ydA=="), base64_decode("aHR0cHM6Ly9kaXNjb3JkLmdnL2dlQ2pyUmJBd0M=")), base64_decode("c3RhdHVz") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6c3RhdHVz"), base64_decode("aHR0cHM6Ly9zdGF0dXMud2VpamVycy5vbmU=")), base64_decode("YmlsbGluZw==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6YmlsbGluZw=="), base64_decode("aHR0cHM6Ly9iaWxsaW5nLndlaWplcnMub25l")), base64_decode("Y29udGFpbmVyVGV4dA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6Y29udGFpbmVyVGV4dA=="), base64_decode("Y29udGFpbmVyQHB0ZXJvZGFjdHlsfg==")), base64_decode("ZGFlbW9uVGV4dA==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6ZGFlbW9uVGV4dA=="), base64_decode("W1B0ZXJvZGFjdHlsIERhZW1vbl06"))]); } public function store(ArixRequest $request) { goto lvMD_FbvdQ; OdhWJiefA3: return redirect()->route(base64_decode("YWRtaW4uYXJpeA==")); goto bu6Md906C5; UykbFRo49S: foreach ($request->normalize() as $key => $value) { $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value); qf1UQJN1gi: } goto ErA6Rh_TXx; mU1zust0nY: zKjMbkgEjU: goto EqSm0r8XY2; ErA6Rh_TXx: xHO1Javp7O: goto IkVh3EMpZQ; oylMAR2orD: goto yMBRCrxZup; goto mU1zust0nY; UakhKroAZa: yMBRCrxZup: goto OdhWJiefA3; lvMD_FbvdQ: $response = Http::asForm()->post(base64_decode("aHR0cHM6Ly9sdXVrZGV2Lm5sL2x1a2VzLWxpY2Vuc2VzL3Jlc291cmNlL2FyaXgtcHRlcm9kYWN0eWwvdmVyaWZ5"), [base64_decode("bGljZW5zZQ==") => base64_decode("MjMxMjMyMjEyMw==")]); goto L4qLd2rPdB; IkVh3EMpZQ: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash(); goto oylMAR2orD; EqSm0r8XY2: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash(); goto TaC9W9VLg2; L4qLd2rPdB: $responseData = $response->json(); goto zuaHIkFazh; zuaHIkFazh: if (!$responseData[base64_decode("c3VjY2Vzcw==")]) { goto zKjMbkgEjU; } goto UykbFRo49S; TaC9W9VLg2: return redirect()->route(base64_decode("YWRtaW4uYXJpeA==")); goto UakhKroAZa; bu6Md906C5: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
namespace Pterodactyl\Http\Controllers\Admin\Arix; use Illuminate\View\View; use Illuminate\Support\Facades\Http; use Prologue\Alerts\AlertsMessageBag; use Illuminate\View\Factory as ViewFactory; use Pterodactyl\Http\Controllers\Controller; use Pterodactyl\Http\Requests\Admin\Arix\ArixRequest; use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface; class ArixController extends Controller { public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) { } public function index() : View { return $this->view->make(base64_decode("\131\x57\x52\x74\x61\127\x34\165\131\x58\112\x70\145\103\65\x70\142\x6d\x52\154\145\101\x3d\75"), [base64_decode("\142\107\71\156\142\167\x3d\x3d") => $this->settings->get(base64_decode("\x63\x32\126\x30\x64\x47\x6c\165\x5a\x33\x4d\66\117\x6d\x46\171\141\130\x67\66\142\107\x39\156\x62\167\x3d\75"), base64_decode("\x4c\x32\x46\x79\x61\x58\x67\166\121\x58\112\x70\x65\x43\x35\167\142\x6d\143\75")), base64_decode("\132\x6e\126\163\142\x45\170\x76\132\62\x38\75") => $this->settings->get(base64_decode("\143\x32\x56\60\144\x47\x6c\165\132\x33\x4d\66\117\155\106\171\x61\x58\x67\66\x5a\156\x56\x73\142\105\x78\x76\x5a\x32\70\x3d"), false), base64_decode("\142\x47\71\156\142\60\150\154\x61\127\x64\x6f\x64\101\75\x3d") => $this->settings->get(base64_decode("\x63\62\126\60\144\107\x6c\x75\x5a\x33\x4d\x36\x4f\x6d\x46\x79\x61\130\147\x36\142\107\x39\x6e\x62\x30\x68\154\x61\127\144\x6f\x64\101\x3d\x3d"), base64_decode("\x4d\172\x4a\x77\x65\101\x3d\75")), base64_decode("\x5a\107\x6c\172\x59\62\x39\171\132\101\75\x3d") => $this->settings->get(base64_decode("\x63\62\x56\60\144\107\x6c\x75\x5a\63\115\66\x4f\155\x46\171\x61\x58\x67\66\x5a\107\x6c\x7a\131\x32\x39\171\132\x41\x3d\x3d"), base64_decode("\116\x7a\105\61\115\152\x67\170\115\124\143\x79\x4e\104\111\171\115\x54\153\x33\x4d\x7a\101\x77")), base64_decode("\143\63\x56\167\x63\x47\71\171\144\101\x3d\75") => $this->settings->get(base64_decode("\x63\62\x56\x30\144\107\154\x75\x5a\63\x4d\x36\117\155\106\171\x61\130\x67\x36\143\63\126\167\x63\107\x39\x79\144\101\x3d\75"), base64_decode("\141\x48\x52\x30\143\x48\x4d\x36\x4c\x79\x39\153\141\x58\x4e\x6a\x62\x33\x4a\153\x4c\x6d\x64\x6e\x4c\x32\144\x6c\x51\62\160\x79\125\155\x4a\x42\144\x30\115\75")), base64_decode("\x63\x33\122\150\144\x48\126\x7a") => $this->settings->get(base64_decode("\143\62\x56\x30\144\107\x6c\x75\132\63\x4d\66\117\155\x46\x79\141\x58\147\x36\143\63\x52\150\144\110\126\172"), base64_decode("\x61\110\122\x30\143\x48\115\66\x4c\x79\x39\172\144\x47\106\x30\x64\x58\x4d\x75\144\62\126\x70\141\155\126\x79\x63\171\65\x76\142\155\125\75")), base64_decode("\x59\155\154\x73\x62\107\154\x75\x5a\167\x3d\x3d") => $this->settings->get(base64_decode("\143\62\x56\60\144\107\154\x75\132\63\x4d\x36\117\155\x46\x79\x61\130\x67\x36\131\155\154\x73\142\107\154\165\132\x77\75\x3d"), base64_decode("\x61\x48\122\x30\143\110\x4d\66\x4c\x79\x39\151\x61\127\170\x73\141\127\65\156\x4c\156\x64\154\141\127\x70\x6c\143\x6e\115\x75\142\62\65\x6c")), base64_decode("\x59\x32\71\x75\144\x47\106\160\142\155\x56\x79\x56\107\126\x34\144\101\x3d\x3d") => $this->settings->get(base64_decode("\143\62\x56\x30\144\x47\x6c\165\x5a\63\115\x36\117\x6d\106\x79\x61\x58\147\x36\x59\62\x39\165\x64\107\x46\x70\142\x6d\x56\x79\x56\107\126\64\144\101\x3d\75"), base64_decode("\131\62\x39\x75\144\107\106\x70\x62\x6d\x56\x79\121\110\102\60\132\130\112\166\x5a\x47\x46\x6a\x64\110\x6c\163\146\147\75\75")), base64_decode("\132\107\106\154\142\127\71\x75\126\107\x56\x34\144\101\x3d\75") => $this->settings->get(base64_decode("\x63\x32\x56\60\144\x47\154\165\x5a\x33\115\x36\x4f\155\106\171\141\130\147\66\x5a\107\106\154\x62\x57\x39\165\126\x47\x56\x34\x64\101\x3d\75"), base64_decode("\x57\61\x42\60\x5a\x58\112\166\x5a\x47\x46\152\144\x48\x6c\x73\x49\105\x52\150\x5a\127\61\166\x62\154\60\66"))]); } public function store(ArixRequest $request) { goto lvMD_FbvdQ; OdhWJiefA3: return redirect()->route(base64_decode("\131\127\122\164\x61\x57\x34\165\131\130\x4a\160\145\101\75\75")); goto bu6Md906C5; UykbFRo49S: foreach ($request->normalize() as $key => $value) { $this->settings->set(base64_decode("\143\62\x56\60\x64\107\x6c\x75\x5a\x33\x4d\x36\117\147\x3d\x3d") . $key, $value); qf1UQJN1gi: } goto ErA6Rh_TXx; mU1zust0nY: zKjMbkgEjU: goto EqSm0r8XY2; ErA6Rh_TXx: xHO1Javp7O: goto IkVh3EMpZQ; oylMAR2orD: goto yMBRCrxZup; goto mU1zust0nY; UakhKroAZa: yMBRCrxZup: goto OdhWJiefA3; lvMD_FbvdQ: $response = Http::asForm()->post(base64_decode("\141\x48\x52\x30\x63\x48\115\66\x4c\x79\71\x73\144\130\x56\x72\x5a\107\126\62\x4c\155\x35\163\x4c\x32\170\x31\141\x32\126\172\114\127\x78\160\131\62\x56\x75\x63\x32\x56\172\114\x33\112\x6c\143\62\71\61\143\155\x4e\x6c\x4c\62\106\x79\x61\130\x67\164\143\110\x52\x6c\143\155\x39\153\x59\x57\116\x30\x65\127\x77\x76\x64\155\x56\x79\141\127\132\x35"), [base64_decode("\142\x47\x6c\152\x5a\x57\x35\x7a\x5a\121\x3d\x3d") => base64_decode("\x4d\152\115\x78\x4d\x6a\x4d\x79\115\x6a\x45\x79\115\167\75\x3d")]); goto L4qLd2rPdB; IkVh3EMpZQ: $this->alert->success(base64_decode("\x56\107\150\x6c\x62\x57\x55\x67\x63\x32\x56\60\x64\x47\154\x75\132\63\115\x67\141\107\106\x32\132\123\102\x69\132\x57\126\x75\x49\x48\x56\x77\132\107\106\x30\x5a\127\x51\x67\143\x33\126\x6a\x59\x32\x56\x7a\143\62\x5a\x31\142\x47\170\65\x4c\147\x3d\75"))->flash(); goto oylMAR2orD; EqSm0r8XY2: $this->alert->warning(base64_decode("\125\62\x39\164\x5a\130\x52\x6f\x61\x57\65\x6e\111\x48\x64\x6c\x62\156\121\147\x64\x33\x4a\166\142\155\143\x75"))->flash(); goto TaC9W9VLg2; L4qLd2rPdB: $responseData = $response->json(); goto zuaHIkFazh; zuaHIkFazh: if (!$responseData[base64_decode("\143\63\126\x6a\131\x32\126\x7a\x63\167\75\x3d")]) { goto zKjMbkgEjU; } goto UykbFRo49S; TaC9W9VLg2: return redirect()->route(base64_decode("\x59\127\x52\164\x61\127\x34\165\131\x58\112\x70\x65\101\x3d\75")); goto UakhKroAZa; bu6Md906C5: } }

Function Calls

None

Variables

None

Stats

MD5 eb7e7d6a286662b88fdd60be33401514
Eval Count 0
Decode Time 49 ms