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; us..

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 CEYwihynB1; ZHTtQbt3X9: CQkhkrVaYj: goto pwXY4sWJfF; b07knnpoQd: YJq238vS1c: goto S4jKovJyMm; k6zT6TMgnq: 
        if (!$responseData[base64_decode("c3VjY2Vzcw==")]) { 
            goto CQkhkrVaYj; 
        } 
        goto a5U2vl4bTB; eRd7mueHWN: return redirect()->route(base64_decode("YWRtaW4uYXJpeA==")); 
        goto OAwQLovhds; CEYwihynB1: $response = Http::asForm()->post(base64_decode("aHR0cHM6Ly9sdXVrZGV2Lm5sL2x1a2VzLWxpY2Vuc2VzL3Jlc291cmNlL2FyaXgtcHRlcm9kYWN0eWwvdmVyaWZ5"), [base64_decode("bGljZW5zZQ==") => base64_decode("MTIzMTIzMjIxMjM=")]); 
        goto NNMB4hYMom; pwXY4sWJfF: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash(); 
        goto VDRQSGooDf; a5U2vl4bTB: 
        foreach ($request->normalize() as $key => $value) { 
            $this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value); zjTQ1t2I3h: 
        } 
        goto b07knnpoQd; NNMB4hYMom: $responseData = $response->json(); 
        goto k6zT6TMgnq; yu5KShZXpp: pj6Btf4dTp: goto eRd7mueHWN; PUYiXDcgyh: goto pj6Btf4dTp; goto ZHTtQbt3X9; VDRQSGooDf: return redirect()->route(base64_decode("YWRtaW4uYXJpeA==")); 
        goto yu5KShZXpp; S4jKovJyMm: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash(); goto PUYiXDcgyh; OAwQLovhds: 
    } 
} 
?>

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\127\x52\x74\x61\x57\64\165\131\130\x4a\160\x65\103\x35\160\142\x6d\122\154\145\x41\x3d\x3d"), [base64_decode("\142\x47\71\156\x62\167\x3d\75") => $this->settings->get(base64_decode("\x63\x32\x56\60\x64\107\x6c\x75\x5a\63\x4d\66\117\155\x46\171\141\130\x67\66\142\107\x39\156\142\167\75\75"), base64_decode("\114\62\x46\171\x61\130\147\166\x51\x58\112\x70\145\x43\65\x77\142\x6d\143\75")), base64_decode("\x5a\x6e\126\163\x62\105\x78\x76\x5a\62\70\75") => $this->settings->get(base64_decode("\143\x32\126\x30\144\x47\x6c\165\x5a\63\x4d\66\117\155\106\x79\x61\130\x67\66\132\x6e\x56\163\x62\x45\x78\166\132\62\70\x3d"), false), base64_decode("\142\107\x39\x6e\142\x30\150\x6c\141\x57\144\157\144\101\x3d\75") => $this->settings->get(base64_decode("\143\x32\126\60\144\107\154\x75\132\63\115\66\117\155\x46\171\141\x58\147\x36\x62\x47\71\156\142\60\150\x6c\x61\x57\x64\157\144\101\75\75"), base64_decode("\115\x7a\x4a\x77\x65\101\75\x3d")), base64_decode("\x5a\107\154\172\x59\62\x39\171\132\101\x3d\75") => $this->settings->get(base64_decode("\143\x32\x56\60\x64\107\x6c\x75\132\63\115\66\x4f\x6d\x46\x79\x61\x58\x67\x36\132\107\x6c\x7a\131\x32\x39\x79\x5a\101\75\75"), base64_decode("\116\172\105\61\x4d\152\147\x78\115\124\143\x79\116\x44\111\171\115\x54\153\x33\115\x7a\x41\167")), base64_decode("\x63\63\x56\x77\143\107\71\x79\144\x41\x3d\x3d") => $this->settings->get(base64_decode("\143\62\x56\60\144\x47\154\165\x5a\63\115\x36\117\x6d\106\171\x61\x58\147\66\143\63\126\167\x63\107\x39\x79\144\101\x3d\75"), base64_decode("\x61\x48\122\x30\x63\110\115\x36\114\171\x39\x6b\141\x58\x4e\152\142\63\x4a\x6b\x4c\155\144\x6e\x4c\x32\144\154\x51\x32\160\x79\125\155\x4a\x42\x64\x30\115\x3d")), base64_decode("\x63\x33\x52\x68\144\110\x56\x7a") => $this->settings->get(base64_decode("\143\x32\126\x30\x64\107\x6c\165\x5a\x33\115\x36\117\155\x46\x79\x61\130\147\66\143\x33\x52\150\144\110\x56\x7a"), base64_decode("\141\x48\122\60\x63\x48\115\x36\x4c\171\71\x7a\x64\107\106\60\144\x58\x4d\165\144\x32\x56\x70\x61\155\x56\x79\x63\x79\65\x76\x62\155\x55\x3d")), base64_decode("\131\x6d\x6c\x73\142\x47\x6c\x75\x5a\x77\75\x3d") => $this->settings->get(base64_decode("\x63\x32\x56\60\144\107\154\x75\132\63\115\x36\x4f\155\106\x79\x61\x58\147\66\131\x6d\154\163\142\x47\154\x75\132\x77\75\x3d"), base64_decode("\x61\x48\122\x30\x63\110\115\66\114\x79\71\x69\x61\127\170\x73\141\127\x35\156\x4c\156\x64\154\x61\x57\x70\154\143\156\115\165\142\62\x35\154")), base64_decode("\x59\62\71\x75\x64\x47\106\160\142\155\126\x79\126\107\126\64\x64\101\75\x3d") => $this->settings->get(base64_decode("\143\62\x56\x30\x64\107\x6c\165\132\63\x4d\x36\117\x6d\x46\171\141\130\x67\x36\x59\x32\71\165\x64\x47\106\x70\142\x6d\x56\x79\126\x47\x56\x34\144\x41\x3d\75"), base64_decode("\131\62\x39\x75\144\107\x46\160\x62\x6d\x56\171\121\110\102\60\x5a\x58\x4a\166\x5a\107\x46\152\144\110\x6c\x73\x66\x67\x3d\x3d")), base64_decode("\132\107\x46\154\142\x57\71\x75\x56\x47\126\x34\x64\101\x3d\x3d") => $this->settings->get(base64_decode("\x63\62\126\60\x64\107\154\165\132\x33\x4d\x36\117\x6d\106\x79\x61\x58\x67\x36\x5a\x47\x46\x6c\x62\127\71\x75\126\107\126\64\144\x41\x3d\75"), base64_decode("\127\x31\102\x30\x5a\x58\112\166\x5a\x47\x46\152\144\x48\x6c\163\x49\x45\122\x68\132\127\x31\x76\142\x6c\60\66"))]);
    }
    public function store(ArixRequest $request) {
        goto CEYwihynB1; ZHTtQbt3X9: CQkhkrVaYj: goto pwXY4sWJfF; b07knnpoQd: YJq238vS1c: goto S4jKovJyMm; k6zT6TMgnq:
        if (!$responseData[base64_decode("\x63\63\126\152\x59\62\x56\172\x63\167\x3d\x3d")]) {
            goto CQkhkrVaYj;
        }
        goto a5U2vl4bTB; eRd7mueHWN: return redirect()->route(base64_decode("\131\x57\x52\x74\141\127\x34\x75\131\x58\x4a\160\145\101\75\x3d"));
        goto OAwQLovhds; CEYwihynB1: $response = Http::asForm()->post(base64_decode("\141\110\x52\x30\143\110\115\x36\x4c\171\71\x73\144\130\x56\162\132\x47\x56\62\x4c\155\65\x73\114\62\170\x31\x61\x32\126\172\114\127\x78\160\x59\62\126\165\143\62\126\172\114\x33\x4a\154\x63\62\71\61\x63\x6d\116\154\x4c\62\x46\x79\x61\130\147\164\143\110\122\x6c\143\x6d\71\153\x59\x57\116\60\145\x57\x77\166\144\155\x56\171\x61\x57\x5a\x35"), [base64_decode("\142\107\x6c\152\132\127\65\172\x5a\121\x3d\x3d") => base64_decode("\x4d\x54\x49\172\x4d\x54\111\x7a\x4d\152\111\170\115\152\x4d\75")]);
        goto NNMB4hYMom; pwXY4sWJfF: $this->alert->warning(base64_decode("\x55\x32\x39\x74\x5a\x58\x52\157\141\127\x35\156\x49\x48\144\154\142\x6e\x51\147\x64\x33\112\x76\142\x6d\143\165"))->flash();
        goto VDRQSGooDf; a5U2vl4bTB:
        foreach ($request->normalize() as $key => $value) {
            $this->settings->set(base64_decode("\x63\62\x56\x30\144\107\x6c\x75\x5a\63\115\66\117\x67\75\x3d") . $key, $value); zjTQ1t2I3h:
        }
        goto b07knnpoQd; NNMB4hYMom: $responseData = $response->json();
        goto k6zT6TMgnq; yu5KShZXpp: pj6Btf4dTp: goto eRd7mueHWN; PUYiXDcgyh: goto pj6Btf4dTp; goto ZHTtQbt3X9; VDRQSGooDf: return redirect()->route(base64_decode("\131\x57\122\164\141\127\64\x75\131\130\112\160\145\101\75\75"));
        goto yu5KShZXpp; S4jKovJyMm: $this->alert->success(base64_decode("\126\107\x68\154\142\x57\125\x67\x63\x32\126\60\x64\x47\x6c\165\x5a\63\x4d\x67\x61\107\106\62\132\123\102\151\132\x57\x56\x75\x49\x48\x56\167\x5a\107\x46\60\132\x57\x51\147\x63\x33\126\x6a\131\62\126\172\143\x32\x5a\61\x62\107\x78\65\x4c\x67\x3d\75"))->flash(); goto PUYiXDcgyh; OAwQLovhds:
    }
}
?>

Function Calls

None

Variables

None

Stats

MD5 e898131b7575bd6a3491b6d2a9472cdd
Eval Count 0
Decode Time 54 ms