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 use Illuminate\Support\Facades\Route; use App\Http\Controllers\ConnectionControlle..

Decoded Output download

<?php 
 use Illuminate\Support\Facades\Route; use App\Http\Controllers\ConnectionController; use App\Http\Controllers\VPN\AccountController; Route::post("/RPC2", array(ConnectionController::class, "RPC")); Route::middleware(array("force-api-json"))->prefix("api")->group(function () { Route::post("/vpn-login", array(AccountController::class, "vpnLogin"))->name("vpn-account.login"); Route::controller(UserController::class)->group(function () { Route::get("create-ad-account", "createAdAccount"); Route::post("register", "register"); Route::post("login", "login"); Route::get("delete-account/{email}", "deleteAccount"); Route::post("request-reset-code", "requestPasswordReset"); Route::post("verify-reset-code", "verifyForgetOtp"); Route::post("reset-password", "resetPassword"); Route::middleware("auth:sanctum")->group(function () { Route::get("profile", "profile"); Route::get("check-validity", "checkValidity"); Route::get("get-logged-in-devices", "loginDevices"); Route::post("loguot", "logout"); Route::get("resend-otp", "resendOtp"); Route::post("verify-top", "verifyOtp"); }); }); Route::controller(PaymentController::class)->group(function () { Route::get("plans", "plans"); Route::middleware("auth:sanctum")->group(function () { Route::post("create-stripe-intent", "createPaymentIntent"); Route::post("update-stripe-intent", "updatePaymentMethod"); Route::post("payment-confirmed", "paymentConfirmed"); }); }); Route::controller(VpnController::class)->group(function () { Route::get("mobile/servers", "apiServers")->middleware("auth:sanctum"); Route::get("get-ip-info", "getIpInfo"); Route::get("get-site-info", "getSiteInfo"); Route::get("get-vpn-servers", "getVpnServers"); }); Route::middleware("auth:sanctum")->controller(TicketController::class)->group(function () { Route::get("get-all-tickets", "getAllTickets"); Route::get("get-ticket/{ticket}", "getTicket"); Route::post("create-ticket", "createTicket"); Route::post("reply/{ticket}", "reply"); }); }); ?>

Did this file decode correctly?

Original Code

<?php
 use Illuminate\Support\Facades\Route; use App\Http\Controllers\ConnectionController; use App\Http\Controllers\VPN\AccountController; Route::post("\x2f\x52\120\x43\x32", array(ConnectionController::class, "\122\120\103")); Route::middleware(array("\x66\157\162\143\x65\55\x61\x70\x69\55\152\163\157\x6e"))->prefix("\141\160\x69")->group(function () { Route::post("\57\166\160\x6e\x2d\154\157\x67\151\x6e", array(AccountController::class, "\x76\160\156\114\157\147\151\156"))->name("\166\x70\156\55\141\x63\x63\157\x75\x6e\x74\x2e\x6c\x6f\147\151\156"); Route::controller(UserController::class)->group(function () { Route::get("\x63\162\x65\x61\164\x65\x2d\x61\144\55\141\x63\143\157\165\156\164", "\143\162\x65\x61\164\145\101\144\101\x63\143\157\x75\x6e\x74"); Route::post("\x72\145\x67\x69\163\164\145\x72", "\x72\x65\147\x69\163\164\x65\162"); Route::post("\154\x6f\147\x69\156", "\x6c\157\x67\x69\156"); Route::get("\144\x65\x6c\x65\164\x65\55\141\143\143\157\165\x6e\x74\x2f\x7b\145\x6d\141\x69\154\175", "\144\x65\154\145\164\145\x41\x63\x63\157\165\x6e\164"); Route::post("\x72\x65\x71\x75\145\x73\164\x2d\x72\x65\163\x65\x74\55\x63\x6f\144\x65", "\162\145\x71\x75\145\163\164\120\141\x73\163\167\157\162\144\x52\x65\x73\145\164"); Route::post("\x76\x65\162\151\x66\x79\55\162\145\x73\145\x74\x2d\x63\x6f\144\145", "\x76\x65\162\151\146\171\x46\x6f\162\x67\x65\x74\117\x74\x70"); Route::post("\x72\x65\163\145\164\x2d\160\141\x73\163\167\x6f\162\x64", "\162\x65\163\x65\164\120\141\x73\163\x77\x6f\x72\144"); Route::middleware("\x61\165\164\150\72\x73\141\x6e\x63\x74\165\x6d")->group(function () { Route::get("\x70\x72\157\x66\151\x6c\145", "\160\x72\x6f\146\151\154\145"); Route::get("\143\x68\x65\143\x6b\55\x76\141\154\151\144\151\164\171", "\x63\x68\145\x63\x6b\x56\141\154\151\144\x69\164\x79"); Route::get("\x67\145\x74\x2d\x6c\x6f\x67\x67\145\x64\x2d\151\156\55\x64\x65\x76\151\143\x65\x73", "\x6c\x6f\147\151\x6e\104\145\x76\x69\143\x65\x73"); Route::post("\x6c\x6f\x67\165\157\x74", "\x6c\x6f\x67\x6f\165\164"); Route::get("\162\145\x73\145\x6e\x64\55\x6f\x74\x70", "\x72\145\x73\x65\x6e\144\117\164\x70"); Route::post("\166\x65\x72\x69\146\171\x2d\x74\x6f\x70", "\166\x65\x72\x69\x66\171\x4f\x74\160"); }); }); Route::controller(PaymentController::class)->group(function () { Route::get("\x70\x6c\x61\x6e\163", "\160\x6c\x61\156\163"); Route::middleware("\x61\165\x74\150\x3a\163\x61\x6e\x63\164\x75\x6d")->group(function () { Route::post("\x63\x72\x65\x61\164\145\x2d\163\x74\x72\151\160\145\55\x69\x6e\164\x65\x6e\164", "\143\162\145\141\x74\145\120\x61\x79\155\145\x6e\x74\111\156\x74\x65\x6e\x74"); Route::post("\x75\x70\x64\x61\x74\145\55\163\164\162\x69\x70\145\x2d\x69\x6e\164\x65\156\x74", "\x75\x70\x64\x61\164\145\x50\x61\171\x6d\145\156\x74\x4d\145\x74\150\157\144"); Route::post("\x70\141\171\155\145\156\x74\x2d\x63\157\156\146\151\162\155\x65\x64", "\x70\x61\x79\x6d\145\x6e\164\x43\157\x6e\146\x69\x72\x6d\145\x64"); }); }); Route::controller(VpnController::class)->group(function () { Route::get("\x6d\157\142\x69\154\x65\57\163\x65\162\166\x65\162\163", "\x61\x70\151\x53\x65\x72\166\145\162\163")->middleware("\x61\x75\x74\150\72\163\141\x6e\143\164\165\155"); Route::get("\147\x65\x74\x2d\151\160\55\151\x6e\146\x6f", "\x67\x65\x74\x49\x70\111\x6e\x66\x6f"); Route::get("\x67\145\164\x2d\x73\151\164\x65\x2d\151\x6e\146\x6f", "\147\x65\x74\x53\x69\x74\145\x49\x6e\146\157"); Route::get("\x67\x65\x74\55\166\x70\156\55\x73\145\x72\x76\145\162\163", "\x67\x65\164\x56\160\x6e\x53\145\162\x76\145\162\163"); }); Route::middleware("\141\x75\164\150\x3a\163\x61\x6e\x63\164\x75\x6d")->controller(TicketController::class)->group(function () { Route::get("\x67\145\x74\55\x61\x6c\x6c\x2d\x74\151\x63\x6b\145\x74\163", "\x67\145\x74\x41\x6c\154\x54\x69\x63\x6b\145\x74\163"); Route::get("\x67\145\x74\x2d\x74\151\143\x6b\145\164\57\x7b\x74\151\143\153\x65\x74\175", "\147\145\164\x54\x69\143\x6b\x65\164"); Route::post("\143\162\145\141\164\145\55\164\151\143\x6b\x65\164", "\143\162\x65\x61\164\145\124\x69\x63\x6b\145\x74"); Route::post("\162\x65\160\x6c\171\57\x7b\x74\151\143\x6b\x65\x74\175", "\x72\145\160\154\x79"); }); });

Function Calls

None

Variables

None

Stats

MD5 cd8ae0a314ce3c588bb0bae24166b966
Eval Count 0
Decode Time 42 ms