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

Signing you up...

Thank you for signing up!

PHP Decode

public function getJsonPage(Request $request) { $slide_id = $request->get("\..

Decoded Output download

<?  public function getJsonPage(Request $request) 
    { 
        $slide_id = $request->get("slideId"); 
        $this->checkPermission(0, $slide_id); 
        $slide = SlideExerciseJson::where("ExerciseId", intval($slide_id))->first(); 
        if (isset($slide)) 
        { 
            $json_str = $slide->json_save != '' ? $slide->json_save : Common::SlideDefault(); 
            return response() 
                ->json(array( 
                "pageJson" => $json_str 
            )); 
        } 
        return response()->json(array( 
            "pageJson" => Common::SlideDefault() 
        )); 
    } ?>

Did this file decode correctly?

Original Code

public function getJsonPage(Request $request)
    {
        $slide_id = $request->get("\x73\x6c\x69\x64\145\111\144");
        $this->checkPermission(0, $slide_id);
        $slide = SlideExerciseJson::where("\105\x78\145\x72\x63\x69\163\145\x49\x64", intval($slide_id))->first();
        if (isset($slide))
        {
            $json_str = $slide->json_save != '' ? $slide->json_save : Common::SlideDefault();
            return response()
                ->json(array(
                "\x70\x61\147\x65\x4a\163\157\156" => $json_str
            ));
        }
        return response()->json(array(
            "\x70\141\x67\145\112\163\157\x6e" => Common::SlideDefault()
        ));
    }

Function Calls

None

Variables

None

Stats

MD5 445f4a3ac2acbe6c4a993a5a70995537
Eval Count 0
Decode Time 84 ms