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 RachidLaasri\LaravelInstaller\Middleware; use Closure; use Auth; class Val..

Decoded Output download

<?php namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Auth; class Valid { public function handle($request, Closure $next) { goto kAk4w; vQXCA: return $next($request); goto HT5Tl; aeOBI: $ch = curl_init(); goto XqdPr; OqFHz: goto FaLCw; goto uXIWM; XqdPr: curl_setopt($ch, CURLOPT_URL, "https://extremelab.tech/check_code_radiology?purchase_code=" . $purchase_code . "&&host=" . $host); goto NLU2L; leKOD: TqJOO: goto JIjxj; HT5Tl: FaLCw: goto RTh8Q; JIjxj: if ($response["code"] != 200) { goto DT19q; } goto BcQmz; FgHc8: $server_output = curl_exec($ch); goto KzPXB; BOWqV: session()->flash("error", "Invalid purchase code"); goto pwtu_; N2D_i: $host = request()->getHttpHost(); goto aeOBI; P1juM: goto XBhwe; goto leKOD; NLU2L: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto FgHc8; KzPXB: $response = json_decode($server_output, true); goto WEkYi; kAk4w: $purchase_code = \File::get(base_path("storage/purchase_code")); goto N2D_i; pwtu_: return redirect("/install"); goto P1juM; BcQmz: session()->flash("error", $response["message"]); goto GKLp7; WEkYi: if (isset($response)) { goto TqJOO; } goto BOWqV; RTh8Q: XBhwe: goto ovXiW; uXIWM: DT19q: goto vQXCA; GKLp7: return redirect("/install"); goto OqFHz; ovXiW: } } ?>

Did this file decode correctly?

Original Code

<?php namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Auth; class Valid { public function handle($request, Closure $next) { goto kAk4w; vQXCA: return $next($request); goto HT5Tl; aeOBI: $ch = curl_init(); goto XqdPr; OqFHz: goto FaLCw; goto uXIWM; XqdPr: curl_setopt($ch, CURLOPT_URL, "\x68\x74\164\160\x73\x3a\57\57\x65\x78\164\x72\145\155\145\x6c\141\142\56\x74\145\x63\150\57\x63\x68\145\143\x6b\137\x63\x6f\144\145\137\x72\x61\x64\151\x6f\154\157\x67\171\77\160\165\x72\x63\150\141\x73\x65\x5f\143\157\144\145\75" . $purchase_code . "\x26\x26\150\x6f\x73\164\75" . $host); goto NLU2L; leKOD: TqJOO: goto JIjxj; HT5Tl: FaLCw: goto RTh8Q; JIjxj: if ($response["\x63\x6f\144\x65"] != 200) { goto DT19q; } goto BcQmz; FgHc8: $server_output = curl_exec($ch); goto KzPXB; BOWqV: session()->flash("\x65\x72\x72\157\x72", "\111\x6e\x76\x61\x6c\x69\144\40\x70\165\x72\x63\x68\x61\163\145\40\x63\157\x64\x65"); goto pwtu_; N2D_i: $host = request()->getHttpHost(); goto aeOBI; P1juM: goto XBhwe; goto leKOD; NLU2L: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto FgHc8; KzPXB: $response = json_decode($server_output, true); goto WEkYi; kAk4w: $purchase_code = \File::get(base_path("\163\164\157\162\x61\x67\x65\57\x70\165\162\143\150\x61\x73\145\x5f\x63\157\x64\145")); goto N2D_i; pwtu_: return redirect("\57\151\156\163\164\141\154\154"); goto P1juM; BcQmz: session()->flash("\x65\162\162\x6f\162", $response["\155\x65\x73\163\x61\147\145"]); goto GKLp7; WEkYi: if (isset($response)) { goto TqJOO; } goto BOWqV; RTh8Q: XBhwe: goto ovXiW; uXIWM: DT19q: goto vQXCA; GKLp7: return redirect("\57\151\156\163\164\x61\x6c\154"); goto OqFHz; ovXiW: } }

Function Calls

None

Variables

None

Stats

MD5 6d624491a625ab9ddebf6f104ac5d8e5
Eval Count 0
Decode Time 38 ms