Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

try { $dataHistoryAntrianUser = DB::select(DB::raw("\x53\x45\x4c\105\103\124\..

Decoded Output download

<?  try { 
            $dataHistoryAntrianUser = DB::select(DB::raw("SELECT p.id, p.tanggal_antri, p.status, l.nama, d.gambar, ja.jam_mulai, ja.jam_berakhir FROM historis AS h LEFT JOIN pendaftaran_antrians AS p ON h.pendaftaran_antrian_id = p.id LEFT JOIN layanans AS l ON h.layanan_id = l.id LEFT JOIN dinas AS d ON l.dinas_id = d.id LEFT JOIN jam_antrians as ja ON p.jam_antrian_id = ja.id WHERE p.user_id = '{$id}' ORDER BY DATE(p.tanggal_antri) DESC, ja.jam_mulai ASC")); 
            return response()->json(ApiResponseHelper::successResponse($dataHistoryAntrianUser, "Data retrieved successfully", 200)); 
        } catch (\Exception $e) { 
            return response()->json(ApiResponseHelper::errorResponse($e->getMessage(), 500)); 
        } ?>

Did this file decode correctly?

Original Code

try {
            $dataHistoryAntrianUser = DB::select(DB::raw("\x53\x45\x4c\105\103\124\40\160\x2e\x69\144\x2c\x20\x70\56\x74\x61\x6e\147\147\141\x6c\x5f\x61\156\x74\162\151\x2c\x20\x70\x2e\x73\x74\141\x74\165\163\x2c\40\x6c\x2e\156\x61\x6d\x61\x2c\40\x64\56\147\x61\155\142\141\x72\x2c\40\152\141\56\x6a\x61\155\x5f\155\165\x6c\x61\x69\x2c\40\152\x61\x2e\152\x61\x6d\137\x62\x65\x72\141\x6b\x68\x69\162\40\106\x52\117\115\x20\150\151\x73\x74\157\x72\x69\x73\x20\x41\123\40\150\40\x4c\105\106\x54\40\112\x4f\111\116\40\x70\145\156\144\141\146\164\141\x72\x61\156\137\141\156\x74\x72\151\x61\x6e\163\x20\101\x53\x20\x70\40\117\x4e\40\x68\56\x70\x65\156\144\141\146\164\x61\162\141\x6e\x5f\141\156\x74\162\151\141\x6e\137\151\x64\x20\x3d\x20\x70\x2e\151\x64\40\114\105\x46\124\40\112\117\111\x4e\40\x6c\x61\x79\141\x6e\141\156\x73\40\101\123\x20\x6c\40\x4f\x4e\40\x68\56\x6c\141\171\x61\156\x61\156\137\151\x64\40\x3d\40\154\x2e\x69\x64\x20\114\x45\x46\x54\x20\x4a\x4f\x49\116\x20\x64\151\156\x61\x73\40\x41\x53\40\144\x20\117\116\40\x6c\x2e\144\x69\x6e\x61\x73\137\x69\144\x20\75\x20\x64\x2e\151\x64\x20\114\105\106\124\x20\x4a\117\111\x4e\x20\152\x61\x6d\x5f\x61\156\164\162\151\141\x6e\163\x20\141\163\x20\x6a\x61\40\117\x4e\40\x70\x2e\x6a\141\x6d\137\141\x6e\x74\162\x69\x61\156\x5f\151\x64\x20\x3d\40\x6a\x61\56\151\144\x20\127\x48\x45\122\105\40\x70\56\x75\x73\145\162\137\151\144\x20\75\x20\47{$id}\x27\x20\x4f\122\104\x45\122\40\x42\131\x20\104\101\x54\105\x28\160\56\x74\x61\x6e\147\147\x61\x6c\137\x61\156\x74\x72\151\51\x20\x44\105\x53\x43\54\40\x6a\141\x2e\x6a\141\x6d\x5f\155\165\x6c\x61\x69\x20\x41\x53\x43"));
            return response()->json(ApiResponseHelper::successResponse($dataHistoryAntrianUser, "\x44\141\x74\141\40\x72\145\164\162\151\x65\166\x65\x64\40\x73\x75\143\143\145\163\x73\x66\165\x6c\154\171", 200));
        } catch (\Exception $e) {
            return response()->json(ApiResponseHelper::errorResponse($e->getMessage(), 500));
        }

Function Calls

None

Variables

None

Stats

MD5 18da0b4c94800262cc6cee22afdfbdc4
Eval Count 0
Decode Time 53 ms