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\Controllers; use Illuminate\Routing\Controll..

Decoded Output download

<?php namespace RachidLaasri\LaravelInstaller\Controllers; use Illuminate\Routing\Controller; use Illuminate\Http\Request; class WelcomeController extends  
Controller { public function welcome() { return view("vendor.installer.welcome"); }  
public function check(Request $request) { goto gH23y; fUBoW: if (isset($response)) { goto iidDD; } goto X5lSz; DT2vb: goto r8e3N; goto AW_B2; gH23y: \File::put( 
base_path("storage/purchase_code"), $request[ 
"purchase_code"]); goto KM1c5; VO73Y: session()->flash("error", $response["message" 
]); goto SQ3i0; KM1c5: $host = request()->getHttpHost(); goto X2tcX; t1C7V: $server_output = curl_exec($ch); goto HrCGA; AW_B2: Zrg_n: goto nIPnM; qsoC4: goto  
qkhxy; goto hBo6_; nIPnM: return redirect("install/requirements"); goto d7Rc8; X5lSz: session()-> 
flash("error", "Invalid purchase code"); goto X8QIM; HrCGA: $response = json_decode 
($server_output, true); goto fUBoW; hBo6_: iidDD: goto k9meV; MzsK2: curl_setopt($ch, CURLOPT_URL,  
"https://extremelab.tech/check_code_radio\x 
6cogy?purchase_code=" . $request["purchase_code"] .  
"&host=" . $host); goto k2yBd; X2tcX: $ch = curl_init(); goto MzsK2; SQ3i0: return redirect()->back(); goto DT2vb; d7Rc8: r8e3N: goto d2VRF;  
X8QIM: return redirect()->back(); goto qsoC4; d2VRF: qkhxy: goto y7fnV; k2yBd: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto t1C7V; k9meV: if ($response[ 
"code"] == 200) { goto Zrg_n; } goto VO73Y; y7fnV: } } ?>

Did this file decode correctly?

Original Code

<?php namespace RachidLaasri\LaravelInstaller\Controllers; use Illuminate\Routing\Controller; use Illuminate\Http\Request; class WelcomeController extends 
Controller { public function welcome() { return view("\166\x65\156\144\157\x72\x2e\151\x6e\x73\164\x61\154\x6c\145\162\56\167\x65\x6c\x63\x6f\x6d\x65"); } 
public function check(Request $request) { goto gH23y; fUBoW: if (isset($response)) { goto iidDD; } goto X5lSz; DT2vb: goto r8e3N; goto AW_B2; gH23y: \File::put(
base_path("\163\164\x6f\162\141\x67\x65\x2f\160\x75\162\143\150\x61\163\x65\x5f\143\x6f\144\x65"), $request[
"\160\x75\x72\x63\150\x61\163\x65\137\143\x6f\144\145"]); goto KM1c5; VO73Y: session()->flash("\x65\162\162\157\162", $response["\x6d\x65\x73\x73\141\147\x65"
]); goto SQ3i0; KM1c5: $host = request()->getHttpHost(); goto X2tcX; t1C7V: $server_output = curl_exec($ch); goto HrCGA; AW_B2: Zrg_n: goto nIPnM; qsoC4: goto 
qkhxy; goto hBo6_; nIPnM: return redirect("\x69\x6e\x73\x74\x61\x6c\x6c\57\162\145\161\x75\151\162\145\155\x65\156\164\x73"); goto d7Rc8; X5lSz: session()->
flash("\x65\x72\162\157\162", "\111\x6e\166\141\154\x69\144\x20\x70\x75\162\x63\150\x61\163\x65\40\143\x6f\144\145"); goto X8QIM; HrCGA: $response = json_decode
($server_output, true); goto fUBoW; hBo6_: iidDD: goto k9meV; MzsK2: curl_setopt($ch, CURLOPT_URL, 
"\x68\x74\164\160\163\72\57\x2f\145\170\x74\162\x65\x6d\x65\x6c\141\142\56\x74\145\x63\x68\x2f\143\x68\145\143\153\137\x63\x6f\x64\145\x5f\x72\141\x64\151\x6f\x
6c\x6f\x67\x79\77\x70\165\x72\143\150\x61\x73\145\137\x63\157\144\145\75" . $request["\160\x75\162\143\x68\141\163\145\137\143\157\144\145"] . 
"\x26\x68\x6f\x73\x74\75" . $host); goto k2yBd; X2tcX: $ch = curl_init(); goto MzsK2; SQ3i0: return redirect()->back(); goto DT2vb; d7Rc8: r8e3N: goto d2VRF; 
X8QIM: return redirect()->back(); goto qsoC4; d2VRF: qkhxy: goto y7fnV; k2yBd: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto t1C7V; k9meV: if ($response[
"\143\157\x64\x65"] == 200) { goto Zrg_n; } goto VO73Y; y7fnV: } }

Function Calls

None

Variables

None

Stats

MD5 a292d9a0c14efe3687fe9558abcc0371
Eval Count 0
Decode Time 43 ms