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 /* * * TTTTTTT VV VV CCCCC AAA SSSSS CCCCC OOOOO MM MM *..

Decoded Output download

<?php 
/* 
* 
*  TTTTTTT VV     VV  CCCCC    AAA    SSSSS       CCCCC   OOOOO  MM    MM 
*    TTT   VV     VV CC    C  AAAAA  SS          CC    C OO   OO MMM  MMM 
*    TTT    VV   VV  CC      AA   AA  SSSSS      CC      OO   OO MM MM MM 
*    TTT     VV VV   CC    C AAAAAAA      SS ... CC    C OO   OO MM    MM 
*    TTT      VVV     CCCCC  AA   AA  SSSSS  ...  CCCCC   OOOO0  MM    MM 
* 
* 
* https://tvcas.com 
* 
* Copyright (C) 2018-2020, Homer Simpson <[email protected]> 
* 
* This program is free software: you can redistribute it and/or modify 
* it under the terms of the GNU General Public License as published by 
* the Free Software Foundation, either version 3 of the License, or 
* (at your option) any later version. 
* 
* This program is distributed in the hope that it will be useful, 
* but WITHOUT ANY WARRANTY; without even the implied warranty of 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
* GNU General Public License for more details. 
* 
* You should have received a copy of the GNU General Public License 
* along with this program.  If not, see <http://www.gnu.org/licenses/>. 
* 
*/ 
 if(!@$_bce296d94a488ebf03514666d937357b){header("Location: /");}if(@$_GET['sw']){$_703f203243c4b71f7bfafd9070bf3528=intval($_GET['id']);if($_GET['sw']=='on'){_27d9b313d9e026b7a65e59e1eb163a95("ecmg",$_703f203243c4b71f7bfafd9070bf3528);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_ecmg` SET `enable`=1 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}elseif($_GET['sw']=='off'){_8480aa98bf1b7d6ef2953813fd244736("ecmg",$_GET['id']);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_ecmg` SET `peers`='',`enable`=0 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");_2b4fabe9bad96db3a125946ffb479132("DELETE FROM `tvcas_ecmg_log` WHERE `ecmg_id`={$_703f203243c4b71f7bfafd9070bf3528};");}usleep(100000);header("Location: /?op=ecmg");}$_c2effa87aba581049d65f293b1f8e656=_2b4fabe9bad96db3a125946ffb479132("SELECT `id`,`info`,`port`,`key`,`peers`,`touch_time` FROM `tvcas_ecmg` ORDER BY `c_time`;");$_1465503b3c941ae041056c3eda84341c=array();while($_90ed64522525df53df98e39a88d8ad5e=mysql_fetch_assoc($_c2effa87aba581049d65f293b1f8e656)){$_74f755a6ffb5d4f4ae37d03ada12466a=_095b4536ebd8bbab6464d433ba365e2a('ecmg',$_90ed64522525df53df98e39a88d8ad5e['id']);$_bc2320d9143db057246e3e28025d82b0=@unserialize($_90ed64522525df53df98e39a88d8ad5e['peers']);if(is_array($_bc2320d9143db057246e3e28025d82b0)){foreach($_bc2320d9143db057246e3e28025d82b0 as $_5e63188c48c85a47eb24307591357b9a=>$_43ccaf0ec66dd3b4713c119158d6a8c5){$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]=_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_43ccaf0ec66dd3b4713c119158d6a8c5['time']))) ." - {$_5e63188c48c85a47eb24307591357b9a}, cw={$_43ccaf0ec66dd3b4713c119158d6a8c5['cw_count']}, ecm={$_43ccaf0ec66dd3b4713c119158d6a8c5['ecm_count']}";if($_43ccaf0ec66dd3b4713c119158d6a8c5['time']<time()-20)$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]="<span style='color:#aaa;'>{$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]}</span>";}}$_90ed64522525df53df98e39a88d8ad5e['info'].=(_33695cd83eb0f2221b23bfda67cf983c(_7f5d895594d744ba51c7a8969284915b('config'),'ecm_key')!= $_90ed64522525df53df98e39a88d8ad5e['key']?"<i class='fas fa-exclamation-triangle' style='color:red; margin-left:10px;' title='ECM key doesnt match'></i>":"");unset($_90ed64522525df53df98e39a88d8ad5e['key']);$_90ed64522525df53df98e39a88d8ad5e['peers']=@implode("<br />",@$_bc2320d9143db057246e3e28025d82b0);$_90ed64522525df53df98e39a88d8ad5e['touch_time']=($_90ed64522525df53df98e39a88d8ad5e['touch_time']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['touch_time']))));$_90ed64522525df53df98e39a88d8ad5e['OPER']="<a href='/?op=ecmg&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

<?php
/*
*
*  TTTTTTT VV     VV  CCCCC    AAA    SSSSS       CCCCC   OOOOO  MM    MM
*    TTT   VV     VV CC    C  AAAAA  SS          CC    C OO   OO MMM  MMM
*    TTT    VV   VV  CC      AA   AA  SSSSS      CC      OO   OO MM MM MM
*    TTT     VV VV   CC    C AAAAAAA      SS ... CC    C OO   OO MM    MM
*    TTT      VVV     CCCCC  AA   AA  SSSSS  ...  CCCCC   OOOO0  MM    MM
*
*
* https://tvcas.com
*
* Copyright (C) 2018-2020, Homer Simpson <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
*/
 if(!@$_bce296d94a488ebf03514666d937357b){header("Location: /");}if(@$_GET['sw']){$_703f203243c4b71f7bfafd9070bf3528=intval($_GET['id']);if($_GET['sw']=='on'){_27d9b313d9e026b7a65e59e1eb163a95("ecmg",$_703f203243c4b71f7bfafd9070bf3528);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_ecmg` SET `enable`=1 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");}elseif($_GET['sw']=='off'){_8480aa98bf1b7d6ef2953813fd244736("ecmg",$_GET['id']);_2b4fabe9bad96db3a125946ffb479132("UPDATE `tvcas_ecmg` SET `peers`='',`enable`=0 WHERE `id`={$_703f203243c4b71f7bfafd9070bf3528};");_2b4fabe9bad96db3a125946ffb479132("DELETE FROM `tvcas_ecmg_log` WHERE `ecmg_id`={$_703f203243c4b71f7bfafd9070bf3528};");}usleep(100000);header("Location: /?op=ecmg");}$_c2effa87aba581049d65f293b1f8e656=_2b4fabe9bad96db3a125946ffb479132("SELECT `id`,`info`,`port`,`key`,`peers`,`touch_time` FROM `tvcas_ecmg` ORDER BY `c_time`;");$_1465503b3c941ae041056c3eda84341c=array();while($_90ed64522525df53df98e39a88d8ad5e=mysql_fetch_assoc($_c2effa87aba581049d65f293b1f8e656)){$_74f755a6ffb5d4f4ae37d03ada12466a=_095b4536ebd8bbab6464d433ba365e2a('ecmg',$_90ed64522525df53df98e39a88d8ad5e['id']);$_bc2320d9143db057246e3e28025d82b0=@unserialize($_90ed64522525df53df98e39a88d8ad5e['peers']);if(is_array($_bc2320d9143db057246e3e28025d82b0)){foreach($_bc2320d9143db057246e3e28025d82b0 as $_5e63188c48c85a47eb24307591357b9a=>$_43ccaf0ec66dd3b4713c119158d6a8c5){$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]=_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_43ccaf0ec66dd3b4713c119158d6a8c5['time']))) ." - {$_5e63188c48c85a47eb24307591357b9a}, cw={$_43ccaf0ec66dd3b4713c119158d6a8c5['cw_count']}, ecm={$_43ccaf0ec66dd3b4713c119158d6a8c5['ecm_count']}";if($_43ccaf0ec66dd3b4713c119158d6a8c5['time']<time()-20)$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]="<span style='color:#aaa;'>{$_bc2320d9143db057246e3e28025d82b0[$_5e63188c48c85a47eb24307591357b9a]}</span>";}}$_90ed64522525df53df98e39a88d8ad5e['info'].=(_33695cd83eb0f2221b23bfda67cf983c(_7f5d895594d744ba51c7a8969284915b('config'),'ecm_key')!= $_90ed64522525df53df98e39a88d8ad5e['key']?"<i class='fas fa-exclamation-triangle' style='color:red; margin-left:10px;' title='ECM key doesnt match'></i>":"");unset($_90ed64522525df53df98e39a88d8ad5e['key']);$_90ed64522525df53df98e39a88d8ad5e['peers']=@implode("<br />",@$_bc2320d9143db057246e3e28025d82b0);$_90ed64522525df53df98e39a88d8ad5e['touch_time']=($_90ed64522525df53df98e39a88d8ad5e['touch_time']==0?"-":_92b444073b32d86cc6a5a35d7a9ec25f(date("d.m.Y H:i:s",_d6fbd9d82ef77220f3ce92bd0868c483($_90ed64522525df53df98e39a88d8ad5e['touch_time']))));$_90ed64522525df53df98e39a88d8ad5e['OPER']="<a href='/?op=ecmg&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 90fb86fc2982ca056d07737c99fb1490
Eval Count 0
Decode Time 99 ms