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 App\Modules\Live\Http\Controllers\Live; use App\Models\ShimmerLiveshopLi..

Decoded Output download

<?php 
 namespace App\Modules\Live\Http\Controllers\Live; use App\Models\ShimmerLiveshopLiveLog; use App\Modules\Live\Http\Controllers\Controller; use Illuminate\Http\Request; class PlaybackController extends Controller { public function index(Request $request) { goto p8Z_x; p8Z_x: $live_id = $request->route("live_id"); goto aNNrV; aNNrV: $logs = ShimmerLiveshopLiveLog::where("live_id", $live_id)->where("video_time", ">", 0)->paginate($this->pageNum); goto bgjfe; bgjfe: return view("live::live.playback.index", compact("logs")); goto v_mUH; v_mUH: } public function playVideo(Request $request) { goto APbzs; IyxpQ: return view("live::live.playback.play-video", compact("url")); goto Qdh1c; ZoxqX: w2z51: goto IyxpQ; XCHCH: $url = "https://" . $url; goto ZoxqX; APbzs: $url = $request->input("url"); goto Fy1J9; Fy1J9: if (!($url && strpos($url, "https") === false && strpos($url, "http") === false)) { goto w2z51; } goto XCHCH; Qdh1c: } public function destory(Request $request) { goto MJ879; AnZeg: return $this->result(1, ""); goto HjNUP; FjM73: if ($model) { goto YCBf9; } goto AnZeg; HjNUP: YCBf9: goto KXLsS; KXLsS: $model->delete(); goto KgMJG; MJ879: $model = ShimmerLiveshopLiveLog::find($request->route("playback")); goto FjM73; KgMJG: return $this->result(); goto akcXk; akcXk: } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Modules\Live\Http\Controllers\Live; use App\Models\ShimmerLiveshopLiveLog; use App\Modules\Live\Http\Controllers\Controller; use Illuminate\Http\Request; class PlaybackController extends Controller { public function index(Request $request) { goto p8Z_x; p8Z_x: $live_id = $request->route("\x6c\151\166\145\137\x69\x64"); goto aNNrV; aNNrV: $logs = ShimmerLiveshopLiveLog::where("\154\151\x76\145\x5f\151\144", $live_id)->where("\166\151\144\x65\x6f\x5f\x74\x69\155\145", "\76", 0)->paginate($this->pageNum); goto bgjfe; bgjfe: return view("\x6c\151\166\x65\72\x3a\x6c\x69\166\145\56\160\x6c\141\171\142\x61\143\x6b\56\151\156\x64\145\170", compact("\154\x6f\147\x73")); goto v_mUH; v_mUH: } public function playVideo(Request $request) { goto APbzs; IyxpQ: return view("\154\x69\x76\x65\x3a\x3a\154\151\x76\x65\56\160\x6c\141\171\142\141\143\x6b\56\160\154\141\171\55\x76\x69\144\145\157", compact("\165\162\x6c")); goto Qdh1c; ZoxqX: w2z51: goto IyxpQ; XCHCH: $url = "\x68\x74\x74\160\x73\x3a\x2f\57" . $url; goto ZoxqX; APbzs: $url = $request->input("\165\x72\154"); goto Fy1J9; Fy1J9: if (!($url && strpos($url, "\150\x74\x74\x70\163") === false && strpos($url, "\x68\164\x74\160") === false)) { goto w2z51; } goto XCHCH; Qdh1c: } public function destory(Request $request) { goto MJ879; AnZeg: return $this->result(1, "\xe8\xae\xb0\xe5\275\225\xe4\270\215\345\255\x98\xe5\x9c\250"); goto HjNUP; FjM73: if ($model) { goto YCBf9; } goto AnZeg; HjNUP: YCBf9: goto KXLsS; KXLsS: $model->delete(); goto KgMJG; MJ879: $model = ShimmerLiveshopLiveLog::find($request->route("\160\x6c\141\x79\x62\141\x63\153")); goto FjM73; KgMJG: return $this->result(); goto akcXk; akcXk: } }

Function Calls

None

Variables

None

Stats

MD5 cfb61f948fe234eab6188d494bca10f9
Eval Count 0
Decode Time 87 ms