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\Contro..
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 O5681;
O8843:
$response = json_decode($server_output, true);
goto O7471;
O8028:
O4911:
goto O2521;
O7738:
return redirect(
"install/requirements"
);
goto O2258;
O2258:
O8197:
goto O8028;
O1203:
session()->flash(
"error",
$response["message"]
);
goto O1894;
O0423:
O2586:
goto O7738;
O1527:
curl_setopt(
$ch,
CURLOPT_URL,
"https://extremelab.tech/check_code?purchase_code=" .
$request[
"purchase_code"
] .
"&host=" .
$host
);
goto O8865;
O3028:
goto O8197;
goto O0423;
O7471:
if (isset($response)) {
goto O2584;
}
goto O9655;
O8865:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
goto O1000;
O7037:
return redirect()->back();
goto O6435;
O5681:
\File::put(
base_path(
"storage/purchase_code"
),
$request["purchase_code"]
);
goto O2349;
O9655:
session()->flash(
"error",
"Invalid purchase code"
);
goto O7037;
O1000:
$server_output = curl_exec($ch);
goto O8843;
O1894:
return redirect()->back();
goto O3028;
O6435:
goto O4911;
goto O9298;
O9586:
$ch = curl_init();
goto O1527;
O2349:
$host = request()->getHttpHost();
goto O9586;
O2915:
if ($response["code"] == 200) {
goto O2586;
}
goto O1203;
O9298:
O2584:
goto O2915;
O2521:
}
}
?>
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(
"\x76\145\156\144\x6f\162\x2e\x69\x6e\163\164\x61\x6c\x6c\145\x72\56\x77\x65\x6c\x63\x6f\155\x65"
);
}
public function check(Request $request)
{
goto O5681;
O8843:
$response = json_decode($server_output, true);
goto O7471;
O8028:
O4911:
goto O2521;
O7738:
return redirect(
"\151\x6e\x73\164\x61\154\154\x2f\x72\x65\161\165\x69\162\x65\155\x65\x6e\x74\163"
);
goto O2258;
O2258:
O8197:
goto O8028;
O1203:
session()->flash(
"\x65\x72\162\x6f\162",
$response["\x6d\x65\163\x73\x61\147\145"]
);
goto O1894;
O0423:
O2586:
goto O7738;
O1527:
curl_setopt(
$ch,
CURLOPT_URL,
"\x68\164\164\160\x73\x3a\x2f\x2f\145\x78\164\x72\145\x6d\x65\x6c\x61\x62\x2e\x74\145\143\150\x2f\x63\x68\145\143\153\x5f\143\x6f\x64\x65\77\160\165\x72\143\150\141\x73\x65\x5f\143\157\x64\145\75" .
$request[
"\160\x75\x72\x63\150\141\163\x65\137\143\157\144\145"
] .
"\x26\150\x6f\x73\164\75" .
$host
);
goto O8865;
O3028:
goto O8197;
goto O0423;
O7471:
if (isset($response)) {
goto O2584;
}
goto O9655;
O8865:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
goto O1000;
O7037:
return redirect()->back();
goto O6435;
O5681:
\File::put(
base_path(
"\x73\164\x6f\162\141\x67\145\57\x70\x75\x72\143\150\x61\x73\145\x5f\x63\157\144\145"
),
$request["\160\165\x72\143\x68\x61\163\x65\137\143\x6f\x64\x65"]
);
goto O2349;
O9655:
session()->flash(
"\x65\162\162\x6f\x72",
"\111\156\166\x61\x6c\151\144\x20\x70\x75\x72\x63\150\141\x73\145\x20\143\157\x64\x65"
);
goto O7037;
O1000:
$server_output = curl_exec($ch);
goto O8843;
O1894:
return redirect()->back();
goto O3028;
O6435:
goto O4911;
goto O9298;
O9586:
$ch = curl_init();
goto O1527;
O2349:
$host = request()->getHttpHost();
goto O9586;
O2915:
if ($response["\x63\157\x64\145"] == 200) {
goto O2586;
}
goto O1203;
O9298:
O2584:
goto O2915;
O2521:
}
}
Function Calls
None |
Stats
MD5 | a8618af39bba9c1ac11dc50d40205104 |
Eval Count | 0 |
Decode Time | 41 ms |