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

Signing you up...

Thank you for signing up!

PHP Decode

if(!@$_bce296d94a488ebf03514666d937357b){header("Location: /");}if(@$_GET['sw']){$_703f20..

Decoded Output download

<?   if(!@$_bce296d94a488ebf03514666d937357b){header("Location: /");}if(@$_GET['sw']){$_703f203243c4b71f7bfafd9070bf3528=intval($_GET['id']);if($_GET['sw']=='on'){_27d9b313d9e026b7a65e59e1eb163a95("emmg",$_703f203243c4b71f7bfafd9070bf3528);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_emmg` SET `enable`=1 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}elseif($_GET['sw']=='off'){_8480aa98bf1b7d6ef2953813fd244736("emmg",$_GET['id']);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_emmg` SET `touch_time`=0, `stream_time_open`=0, `datagram_time_last`=0, `datagram_count`=0, `queue_size`=0, `enable`=0 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}usleep(100000);header("Location: /?op=emmg");}$_c2effa87aba581049d65f293b1f8e656=_2b4fabe9bad96db3a125946ffb479132("SELECT `id`,`info`,`host`,`port`,`touch_time`,`stream_time_open`,`datagram_time_last`,`datagram_count`,`queue_size` FROM `tvcas_emmg` ORDER BY `c_time`;");$_1465503b3c941ae041056c3eda84341c=array();while($_90ed64522525df53df98e39a88d8ad5e=mysql_fetch_assoc($_c2effa87aba581049d65f293b1f8e656)){$_74f755a6ffb5d4f4ae37d03ada12466a=_095b4536ebd8bbab6464d433ba365e2a('emmg',$_90ed64522525df53df98e39a88d8ad5e['id']);$_b44a527ed13f384902ad4a522067d470=$_90ed64522525df53df98e39a88d8ad5e['touch_time'];$_171d17a02668da067a65cdcc86ee2db5=$_90ed64522525df53df98e39a88d8ad5e['stream_time_open'];$_8d7c5d7b524a4f45b1b4ddf5ee199eb6=$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last'];$_90ed64522525df53df98e39a88d8ad5e['touch_time']=($_90ed64522525df53df98e39a88d8ad5e['touch_time']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['touch_time']))));$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']=($_90ed64522525df53df98e39a88d8ad5e['stream_time_open']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['stream_time_open']))));$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']=($_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']))));if($_90ed64522525df53df98e39a88d8ad5e['datagram_count']==0)$_90ed64522525df53df98e39a88d8ad5e['datagram_count']="-";if($_90ed64522525df53df98e39a88d8ad5e['queue_size']==0)$_90ed64522525df53df98e39a88d8ad5e['queue_size']="-";if($_b44a527ed13f384902ad4a522067d470<time()-60)$_90ed64522525df53df98e39a88d8ad5e['touch_time']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['touch_time']}</span>";if($_171d17a02668da067a65cdcc86ee2db5<time()-60)$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']}</span>";if($_8d7c5d7b524a4f45b1b4ddf5ee199eb6<time()-60)$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']}</span>";$_90ed64522525df53df98e39a88d8ad5e['OPER']="<a href='/?op=emmg&id={$_90ed64522525df53df98e39a88d8ad5e['id']}&sw=" .($_74f755a6ffb5d4f4ae37d03ada12466a?"off' title='Switch Off'":"on' title='Switch On'") ."'><i class='fas fa-circle text-" .($_74f755a6ffb5d4f4ae37d03ada12466a?"success":"danger") ."'></i></a>";$_1465503b3c941ae041056c3eda84341c[]=$_90ed64522525df53df98e39a88d8ad5e;}echo "<div style='text-align:right; margin: 10px 20px;height:30px;'></div>";echo tablesorter($_1465503b3c941ae041056c3eda84341c); ?>

Did this file decode correctly?

Original Code

 if(!@$_bce296d94a488ebf03514666d937357b){header("Location: /");}if(@$_GET['sw']){$_703f203243c4b71f7bfafd9070bf3528=intval($_GET['id']);if($_GET['sw']=='on'){_27d9b313d9e026b7a65e59e1eb163a95("emmg",$_703f203243c4b71f7bfafd9070bf3528);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_emmg` SET `enable`=1 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}elseif($_GET['sw']=='off'){_8480aa98bf1b7d6ef2953813fd244736("emmg",$_GET['id']);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_emmg` SET `touch_time`=0, `stream_time_open`=0, `datagram_time_last`=0, `datagram_count`=0, `queue_size`=0, `enable`=0 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}usleep(100000);header("Location: /?op=emmg");}$_c2effa87aba581049d65f293b1f8e656=_2b4fabe9bad96db3a125946ffb479132("SELECT `id`,`info`,`host`,`port`,`touch_time`,`stream_time_open`,`datagram_time_last`,`datagram_count`,`queue_size` FROM `tvcas_emmg` ORDER BY `c_time`;");$_1465503b3c941ae041056c3eda84341c=array();while($_90ed64522525df53df98e39a88d8ad5e=mysql_fetch_assoc($_c2effa87aba581049d65f293b1f8e656)){$_74f755a6ffb5d4f4ae37d03ada12466a=_095b4536ebd8bbab6464d433ba365e2a('emmg',$_90ed64522525df53df98e39a88d8ad5e['id']);$_b44a527ed13f384902ad4a522067d470=$_90ed64522525df53df98e39a88d8ad5e['touch_time'];$_171d17a02668da067a65cdcc86ee2db5=$_90ed64522525df53df98e39a88d8ad5e['stream_time_open'];$_8d7c5d7b524a4f45b1b4ddf5ee199eb6=$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last'];$_90ed64522525df53df98e39a88d8ad5e['touch_time']=($_90ed64522525df53df98e39a88d8ad5e['touch_time']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['touch_time']))));$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']=($_90ed64522525df53df98e39a88d8ad5e['stream_time_open']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['stream_time_open']))));$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']=($_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']))));if($_90ed64522525df53df98e39a88d8ad5e['datagram_count']==0)$_90ed64522525df53df98e39a88d8ad5e['datagram_count']="-";if($_90ed64522525df53df98e39a88d8ad5e['queue_size']==0)$_90ed64522525df53df98e39a88d8ad5e['queue_size']="-";if($_b44a527ed13f384902ad4a522067d470<time()-60)$_90ed64522525df53df98e39a88d8ad5e['touch_time']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['touch_time']}</span>";if($_171d17a02668da067a65cdcc86ee2db5<time()-60)$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['stream_time_open']}</span>";if($_8d7c5d7b524a4f45b1b4ddf5ee199eb6<time()-60)$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']="<span style='color:#aaa;'>{$_90ed64522525df53df98e39a88d8ad5e['datagram_time_last']}</span>";$_90ed64522525df53df98e39a88d8ad5e['OPER']="<a href='/?op=emmg&id={$_90ed64522525df53df98e39a88d8ad5e['id']}&sw=" .($_74f755a6ffb5d4f4ae37d03ada12466a?"off' title='Switch Off'":"on' title='Switch On'") ."'><i class='fas fa-circle text-" .($_74f755a6ffb5d4f4ae37d03ada12466a?"success":"danger") ."'></i></a>";$_1465503b3c941ae041056c3eda84341c[]=$_90ed64522525df53df98e39a88d8ad5e;}echo "<div style='text-align:right; margin: 10px 20px;height:30px;'></div>";echo tablesorter($_1465503b3c941ae041056c3eda84341c); ?>

Function Calls

header 1

Variables

None

Stats

MD5 f9d2544341efe2b448569b0c6f914bcb
Eval Count 0
Decode Time 56 ms