Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Redirect; class canI..
Decoded Output download
<? namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Redirect; class canInstall { public function handle($request, Closure $next) { goto NBWSh; sn0DN: uICOx: goto zWCa0; cT6cE: $installedRedirect = config("installer.installedAlreadyAction"); goto bMEfX; zWCa0: jXJgi: goto sI3Qx; sI3Qx: LVTti: goto wnsY4; wnsY4: return $next($request); goto DSwzu; bMEfX: switch ($installedRedirect) { case "route": goto NhMso; NhMso: $routeName = config("installer.installed.redirectOptions.route.name"); goto w8Umb; gm8jR: goto jXJgi; goto iyMME; qm7mK: return redirect()->route($routeName)->with(["data" => $data]); goto gm8jR; w8Umb: $data = config("installer.installed.redirectOptions.route.message"); goto qm7mK; iyMME: case "abort": abort(config("installer.installed.redirectOptions.abort.type")); goto jXJgi; case "dump": goto dLcDU; yxOH8: goto jXJgi; goto fFdAc; dLcDU: $dump = config("installer.installed.redirectOptions.dump.data"); goto YGsgN; YGsgN: dd($dump); goto yxOH8; fFdAc: case "404": case "default": default: goto jXJgi; } goto sn0DN; NBWSh: if (!$this->alreadyInstalled()) { goto cT6cE; } goto cT6cE; DSwzu: } public function alreadyInstalled() { return file_exists(storage_path("installed")); } } ?>
Did this file decode correctly?
Original Code
namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Redirect; class canInstall { public function handle($request, Closure $next) { goto NBWSh; sn0DN: uICOx: goto zWCa0; cT6cE: $installedRedirect = config("\151\156\x73\164\x61\x6c\154\x65\162\x2e\151\x6e\x73\x74\141\154\x6c\x65\144\x41\x6c\162\145\x61\x64\x79\x41\x63\164\x69\157\156"); goto bMEfX; zWCa0: jXJgi: goto sI3Qx; sI3Qx: LVTti: goto wnsY4; wnsY4: return $next($request); goto DSwzu; bMEfX: switch ($installedRedirect) { case "\162\x6f\165\164\145": goto NhMso; NhMso: $routeName = config("\x69\156\x73\164\x61\x6c\154\145\162\56\151\156\163\x74\141\x6c\154\x65\x64\x2e\x72\x65\144\151\x72\x65\x63\164\117\x70\x74\151\x6f\156\163\x2e\162\x6f\x75\164\x65\56\x6e\x61\155\x65"); goto w8Umb; gm8jR: goto jXJgi; goto iyMME; qm7mK: return redirect()->route($routeName)->with(["\x64\141\x74\x61" => $data]); goto gm8jR; w8Umb: $data = config("\x69\x6e\163\x74\141\154\x6c\x65\x72\56\x69\x6e\163\164\141\x6c\154\x65\x64\56\162\x65\x64\151\x72\145\x63\164\117\160\x74\151\157\x6e\163\56\162\x6f\165\164\145\56\x6d\x65\163\x73\x61\147\x65"); goto qm7mK; iyMME: case "\141\x62\x6f\x72\164": abort(config("\x69\x6e\x73\164\x61\x6c\x6c\x65\x72\56\151\x6e\163\x74\x61\x6c\154\145\x64\56\162\x65\x64\x69\162\x65\x63\164\x4f\160\x74\x69\157\x6e\x73\x2e\x61\x62\157\x72\164\x2e\x74\x79\160\145")); goto jXJgi; case "\144\x75\155\x70": goto dLcDU; yxOH8: goto jXJgi; goto fFdAc; dLcDU: $dump = config("\151\x6e\163\x74\141\154\x6c\145\x72\56\151\x6e\163\164\141\154\154\x65\x64\x2e\x72\145\144\151\162\x65\x63\164\x4f\x70\164\x69\x6f\156\163\56\x64\165\155\x70\56\144\141\x74\141"); goto YGsgN; YGsgN: dd($dump); goto yxOH8; fFdAc: case "\x34\x30\64": case "\144\145\146\141\165\x6c\164": default: goto jXJgi; } goto sn0DN; NBWSh: if (!$this->alreadyInstalled()) { goto cT6cE; } goto cT6cE; DSwzu: } public function alreadyInstalled() { return file_exists(storage_path("\x69\x6e\163\x74\141\x6c\x6c\145\x64")); } }
Function Calls
None |
Stats
MD5 | fe8d483ffc387b5c6e673636ba072c5a |
Eval Count | 0 |
Decode Time | 52 ms |