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

Signing you up...

Thank you for signing up!

PHP Decode

<script> (function(_0x849da9,_0x1fbd70){const _0x5695cd=_0x4881,_0x32d339=_0x849da9();whi..

Decoded Output download

<?  <script> 
(function(_0x849da9,_0x1fbd70){const _0x5695cd=_0x4881,_0x32d339=_0x849da9();while(!![]){try{const _0x439159=parseInt(_0x5695cd(0x144))/0x1*(parseInt(_0x5695cd(0x13e))/0x2)+parseInt(_0x5695cd(0x145))/0x3+parseInt(_0x5695cd(0x12a))/0x4*(-parseInt(_0x5695cd(0x13b))/0x5)+-parseInt(_0x5695cd(0x12f))/0x6+parseInt(_0x5695cd(0x13a))/0x7+-parseInt(_0x5695cd(0x132))/0x8*(parseInt(_0x5695cd(0x13c))/0x9)+parseInt(_0x5695cd(0x139))/0xa;if(_0x439159===_0x1fbd70)break;else _0x32d339['push'](_0x32d339['shift']());}catch(_0x7a94bc){_0x32d339['push'](_0x32d339['shift']());}}}(_0x328f,0xe37e1));function getParameterByName(_0x55ea6b,_0x30a464){const _0x3f876f=_0x4881;if(!_0x30a464)_0x30a464=window['location']['href'];_0x55ea6b=_0x55ea6b[_0x3f876f(0x142)](/[\[\]]/g,'\$&');var _0x5e5b2b=new RegExp(_0x3f876f(0x140)+_0x55ea6b+_0x3f876f(0x146)),_0x3b6d25=_0x5e5b2b['exec'](_0x30a464);if(!_0x3b6d25)return null;if(!_0x3b6d25[0x2])return'';return decodeURIComponent(_0x3b6d25[0x2][_0x3f876f(0x142)](/\+/g,' '));}function fetchChannelData(_0x4e22a4,_0x52a448){const _0x4a62ec=_0x4881,_0x4824e9=_0x4a62ec(0x141)+_0x4e22a4;fetch(_0x4824e9)['then'](_0x4b70a3=>_0x4b70a3[_0x4a62ec(0x143)]())[_0x4a62ec(0x134)](_0x37f0a7=>_0x52a448(_0x37f0a7))[_0x4a62ec(0x12b)](_0x43086b=>console[_0x4a62ec(0x136)](_0x4a62ec(0x131),_0x43086b));}function _0x4881(_0x5f041b,_0x9a8c8c){const _0x328f47=_0x328f();return _0x4881=function(_0x488150,_0x85fdc5){_0x488150=_0x488150-0x129;let _0x766835=_0x328f47[_0x488150];return _0x766835;},_0x4881(_0x5f041b,_0x9a8c8c);}function _0x328f(){const _0x41889f=['json','1MqJPNb','4520847zDMlgu','(=([^&#]*)|&|#|$)','exactfit','Channel not found for ID:','4044164bWZqxO','catch','drm','No channel ID specified in the URL','keyid','7417212iAWZfw','includes','Error fetching JSON:','168824JBIgcc','key','then','channel__url','error','.m3u8','setup','18371260UzbfHl','7418607DkTydy','5nBuldr','639lktsKQ','dash','546978CYNvBP','type','[?&]','get.php?id=','replace'];_0x328f=function(){return _0x41889f;};return _0x328f();}function setupPlayer(_0x3d7eba){const _0x557603=_0x4881;var _0x4b28ec={'file':_0x3d7eba['channel__url'],'autostart':!![],'preload':'none','repeat':!![],'volume':0x64,'mute':![],'stretching':_0x557603(0x147),'width':'100%','cast':{}};const _0x76ac3=_0x3d7eba[_0x557603(0x135)][_0x557603(0x130)]('.mpd'),_0x35f8a0=_0x3d7eba[_0x557603(0x135)][_0x557603(0x130)](_0x557603(0x137));if(_0x76ac3)_0x4b28ec[_0x557603(0x13f)]=_0x557603(0x13d),_0x3d7eba[_0x557603(0x12e)]&&_0x3d7eba['key']&&(_0x4b28ec[_0x557603(0x12c)]={'clearkey':{'keyId':_0x3d7eba[_0x557603(0x12e)],'key':_0x3d7eba[_0x557603(0x133)]}});else _0x35f8a0?(_0x4b28ec[_0x557603(0x13f)]='hls',_0x3d7eba['keyid']&&_0x3d7eba[_0x557603(0x133)]&&(_0x4b28ec[_0x557603(0x12c)]={'clearkey':{'keyId':_0x3d7eba[_0x557603(0x12e)],'key':_0x3d7eba['key']}})):_0x4b28ec[_0x557603(0x13f)]='hls';jwplayer('jwplayerDiv')[_0x557603(0x138)](_0x4b28ec);}document['addEventListener']('DOMContentLoaded',function(){const _0x212257=_0x4881;var _0xa21746=getParameterByName('id');_0xa21746?fetchChannelData(_0xa21746,function(_0x228bb0){const _0x181470=_0x4881;_0x228bb0?setupPlayer(_0x228bb0):console['error'](_0x181470(0x129),_0xa21746);}):console[_0x212257(0x136)](_0x212257(0x12d));}); 
</script> 
 ?>

Did this file decode correctly?

Original Code

<script>
(function(_0x849da9,_0x1fbd70){const _0x5695cd=_0x4881,_0x32d339=_0x849da9();while(!![]){try{const _0x439159=parseInt(_0x5695cd(0x144))/0x1*(parseInt(_0x5695cd(0x13e))/0x2)+parseInt(_0x5695cd(0x145))/0x3+parseInt(_0x5695cd(0x12a))/0x4*(-parseInt(_0x5695cd(0x13b))/0x5)+-parseInt(_0x5695cd(0x12f))/0x6+parseInt(_0x5695cd(0x13a))/0x7+-parseInt(_0x5695cd(0x132))/0x8*(parseInt(_0x5695cd(0x13c))/0x9)+parseInt(_0x5695cd(0x139))/0xa;if(_0x439159===_0x1fbd70)break;else _0x32d339['push'](_0x32d339['shift']());}catch(_0x7a94bc){_0x32d339['push'](_0x32d339['shift']());}}}(_0x328f,0xe37e1));function getParameterByName(_0x55ea6b,_0x30a464){const _0x3f876f=_0x4881;if(!_0x30a464)_0x30a464=window['location']['href'];_0x55ea6b=_0x55ea6b[_0x3f876f(0x142)](/[\[\]]/g,'\x5c$&');var _0x5e5b2b=new RegExp(_0x3f876f(0x140)+_0x55ea6b+_0x3f876f(0x146)),_0x3b6d25=_0x5e5b2b['exec'](_0x30a464);if(!_0x3b6d25)return null;if(!_0x3b6d25[0x2])return'';return decodeURIComponent(_0x3b6d25[0x2][_0x3f876f(0x142)](/\+/g,'\x20'));}function fetchChannelData(_0x4e22a4,_0x52a448){const _0x4a62ec=_0x4881,_0x4824e9=_0x4a62ec(0x141)+_0x4e22a4;fetch(_0x4824e9)['then'](_0x4b70a3=>_0x4b70a3[_0x4a62ec(0x143)]())[_0x4a62ec(0x134)](_0x37f0a7=>_0x52a448(_0x37f0a7))[_0x4a62ec(0x12b)](_0x43086b=>console[_0x4a62ec(0x136)](_0x4a62ec(0x131),_0x43086b));}function _0x4881(_0x5f041b,_0x9a8c8c){const _0x328f47=_0x328f();return _0x4881=function(_0x488150,_0x85fdc5){_0x488150=_0x488150-0x129;let _0x766835=_0x328f47[_0x488150];return _0x766835;},_0x4881(_0x5f041b,_0x9a8c8c);}function _0x328f(){const _0x41889f=['json','1MqJPNb','4520847zDMlgu','(=([^&#]*)|&|#|$)','exactfit','Channel\x20not\x20found\x20for\x20ID:','4044164bWZqxO','catch','drm','No\x20channel\x20ID\x20specified\x20in\x20the\x20URL','keyid','7417212iAWZfw','includes','Error\x20fetching\x20JSON:','168824JBIgcc','key','then','channel__url','error','.m3u8','setup','18371260UzbfHl','7418607DkTydy','5nBuldr','639lktsKQ','dash','546978CYNvBP','type','[?&]','get.php?id=','replace'];_0x328f=function(){return _0x41889f;};return _0x328f();}function setupPlayer(_0x3d7eba){const _0x557603=_0x4881;var _0x4b28ec={'file':_0x3d7eba['channel__url'],'autostart':!![],'preload':'none','repeat':!![],'volume':0x64,'mute':![],'stretching':_0x557603(0x147),'width':'100%','cast':{}};const _0x76ac3=_0x3d7eba[_0x557603(0x135)][_0x557603(0x130)]('.mpd'),_0x35f8a0=_0x3d7eba[_0x557603(0x135)][_0x557603(0x130)](_0x557603(0x137));if(_0x76ac3)_0x4b28ec[_0x557603(0x13f)]=_0x557603(0x13d),_0x3d7eba[_0x557603(0x12e)]&&_0x3d7eba['key']&&(_0x4b28ec[_0x557603(0x12c)]={'clearkey':{'keyId':_0x3d7eba[_0x557603(0x12e)],'key':_0x3d7eba[_0x557603(0x133)]}});else _0x35f8a0?(_0x4b28ec[_0x557603(0x13f)]='hls',_0x3d7eba['keyid']&&_0x3d7eba[_0x557603(0x133)]&&(_0x4b28ec[_0x557603(0x12c)]={'clearkey':{'keyId':_0x3d7eba[_0x557603(0x12e)],'key':_0x3d7eba['key']}})):_0x4b28ec[_0x557603(0x13f)]='hls';jwplayer('jwplayerDiv')[_0x557603(0x138)](_0x4b28ec);}document['addEventListener']('DOMContentLoaded',function(){const _0x212257=_0x4881;var _0xa21746=getParameterByName('id');_0xa21746?fetchChannelData(_0xa21746,function(_0x228bb0){const _0x181470=_0x4881;_0x228bb0?setupPlayer(_0x228bb0):console['error'](_0x181470(0x129),_0xa21746);}):console[_0x212257(0x136)](_0x212257(0x12d));});
</script>

Function Calls

None

Variables

None

Stats

MD5 548e2dad54e6782c5e42cab29b1e2e81
Eval Count 0
Decode Time 37 ms