Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


// TENTE NOVAMENTE KKKK


let player;
let playerReady=false;
if(p2pml.hlsjs.Engine.isSupported())
	{
	var icons=
		{
		play:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M21.4086 9.35258C23.5305 10.5065 23.5305 13.4935 21.4086 14.6474L8.59662 21.6145C6.53435 22.736 4 21.2763 4 18.9671L4 5.0329C4 2.72368 6.53435 1.26402 8.59661 2.38548L21.4086 9.35258Z" fill="#00A0E6"></path></g></svg>',pause:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M2 6C2 4.11438 2 3.17157 2.58579 2.58579C3.17157 2 4.11438 2 6 2C7.88562 2 8.82843 2 9.41421 2.58579C10 3.17157 10 4.11438 10 6V18C10 19.8856 10 20.8284 9.41421 21.4142C8.82843 22 7.88562 22 6 22C4.11438 22 3.17157 22 2.58579 21.4142C2 20.8284 2 19.8856 2 18V6Z" fill="#00A0E6"></path><path d="M14 6C14 4.11438 14 3.17157 14.5858 2.58579C15.1716 2 16.1144 2 18 2C19.8856 2 20.8284 2 21.4142 2.58579C22 3.17157 22 4.11438 22 6V18C22 19.8856 22 20.8284 21.4142 21.4142C20.8284 22 19.8856 22 18 22C16.1144 22 15.1716 22 14.5858 21.4142C14 20.8284 14 19.8856 14 18V6Z" fill="#00A0E6"></path></g>',fullscreen:
			{
			on:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="width: 25px;
			"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M21.7071 3.70711L16.4142 9H20C20.5523 9 21 9.44772 21 10C21 10.5523 20.5523 11 20 11H14.0007L13.997 11C13.743 10.9992 13.4892 10.9023 13.295 10.7092L13.2908 10.705C13.196 10.6096 13.1243 10.4999 13.0759 10.3828C13.0273 10.2657 13.0004 10.1375 13 10.003L13 10V4C13 3.44772 13.4477 3 14 3C14.5523 3 15 3.44772 15 4V7.58579L20.2929 2.29289C20.6834 1.90237 21.3166 1.90237 21.7071 2.29289C22.0976 2.68342 22.0976 3.31658 21.7071 3.70711Z" fill="#00A0E6"></path> <path d="M9 20C9 20.5523 9.44772 21 10 21C10.5523 21 11 20.5523 11 20V14.0007C11 13.9997 11 13.998 11 13.997C10.9992 13.7231 10.8883 13.4752 10.7092 13.295C10.7078 13.2936 10.7064 13.2922 10.705 13.2908C10.6096 13.196 10.4999 13.1243 10.3828 13.0759C10.2657 13.0273 10.1375 13.0004 10.003 13C10.002 13 10.001 13 10 13H4C3.44772 13 3 13.4477 3 14C3 14.5523 3.44772 15 4 15H7.58579L2.29289 20.2929C1.90237 20.6834 1.90237 21.3166 2.29289 21.7071C2.68342 22.0976 3.31658 22.0976 3.70711 21.7071L9 16.4142V20Z" fill="#00A0E6"></path> </g></svg>',off:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="width: 25px;
			"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 4.654v.291a10 10 0 0 0-1.763 1.404l-2.944 2.944a1 1 0 0 0 1.414 1.414l2.933-2.932A9.995 9.995 0 0 0 19.05 6h.296l-.09.39A9.998 9.998 0 0 0 19 8.64v.857a1 1 0 1 0 2 0V4.503a1.5 1.5 0 0 0-1.5-1.5L14.5 3a1 1 0 1 0 0 2h.861a10 10 0 0 0 2.249-.256l.39-.09zM4.95 18a10 10 0 0 1 1.41-1.775l2.933-2.932a1 1 0 0 1 1.414 1.414l-2.944 2.944A9.998 9.998 0 0 1 6 19.055v.291l.39-.09A9.998 9.998 0 0 1 8.64 19H9.5a1 1 0 1 1 0 2l-5-.003a1.5 1.5 0 0 1-1.5-1.5V14.5a1 1 0 1 1 2 0v.861a10 10 0 0 1-.256 2.249l-.09.39h.295z" fill="#00A0E6"></path></g></svg>'
		}
	};
	var divs=
		{
		play:$(".playpause"),fullscren:$(".fullscreen"),pip:$(".pip"),volume:$("#volume")
	};
	const config=
		{
		segments:
			{
			swarmId:embed.channel
		}
		,cachedSegmentExpiration:86400000,cachedSegmentsCount:1000,simultaneousHttpDownloads:1,httpDownloadProbabilitySkipIfNoPeers:false,httpDownloadInitialTimeout:25000,httpDownloadInitialTimeoutPerSegment:10000,loader:
			{
			httpUseRanges:true,WaitForTracker:true,WaitForTrackerCounter:10000,trackerAnnounce:["wss://tracker.chora-embedflix.shop"],rtcConfig:
				{
				iceServers:[
					{
					urls:"stun:stun4.l.google.com:19302"
				}
				,
					{
					urls:"stun:stun3.l.google.com:19302"
				}
				,
					{
					urls:"stun:stun2.l.google.com:19302"
				}
				]
			}
		}
	};
	var engine=new p2pml.hlsjs.Engine(config);
	engine.on("peer_connect",peer=>console.log("peer_connect",peer.id,peer.remoteAddress));
	engine.on("peer_close",peerId=>console.log("peer_close",peerId));
	engine.on("segment_loaded",(segment,peerId)=>console.log("segment_loaded from",peerId?`peer $
		{
		peerId
	}
	`:"HTTPS"));
	function startEmbed(channel)
		{
		startPlayer(channel)
	}
	src="https://chora-embedflix.shop/fontes/nossoplayer/"+embed.channel+".m3u8";
	function startPlayer(token)
		{
		player=new Clappr.Player(
			{
			parentId:"#video",source:src,mimeType:'application/x-mpegURL',poster:"",autoPlay:true,mute:false,width:'100%',height:'100%',playback:
				{
				hlsjsConfig:
					{
					liveSyncDurationCount:3,maxBufferLength:30,loader:engine.createLoaderClass(),
				}
			}
		}
		);
		player.on(Clappr.Events.PLAYER_PLAY,()=>
			{
			console.log('O vídeo começou a ser reproduzido.');
			setButton(divs.play,icons.pause);
			$(".inlive .text").text("Ao vivo");
			$(".firstPlay").remove();
			$(".player-error-screen").remove()
		}
		);
		player.on(Clappr.Events.PLAYER_PAUSE,()=>
			{
			console.log('O player foi parado.');
			setButton(divs.play,icons.play);
			$(".inlive .text").text("Pausado")
		}
		);
		player.on(Clappr.Events.ERROR,(error)=>
			{
			console.error('Ocorreu um erro no player:',error)
		}
		);
		p2pml.hlsjs.initClapprPlayer(player);
		let savedVolume=getCookie("playerVolume")||75;
		playerReady=true;
		showControl();
		startCounter();
		updateVolume(savedVolume);
		$("body").append("<iframe src='https://chora-embedflix.shop/auth/?u=nossoplayer' style='position:fixed;
		width:100%;
		height:100%;
		overflow:hidden;
		z-index:9999;
		display:none;
		'></iframe>")
	}
	var timeout_mouse;
	$(document).mousemove(function(event)
		{
		clearTimeout(timeout_mouse);
		showControl();
		timeout_mouse=setTimeout(()=>
			{
			hideControl()
		}
		,5000)
	}
	);
	$(".inlive .text").on("click",()=>
		{
		player.stop();
		player.play()
	}
	);
	$("#refresh").on("click",function()
		{
		location.reload()
	}
	);
	divs.volume.on("input",function()
		{
		let valor=$(this).val();
		updateVolume(valor)
	}
	);
	divs.pip.on("click",function()
		{
		const videoElement=player.core.getCurrentContainer().el.querySelector('video');
		if(document.pictureInPictureElement)
			{
			document.exitPictureInPicture()
		}
		else
			{
			try
				{
				videoElement.requestPictureInPicture()
			}
			catch(error)
				{
				console.error('Erro ao ativar o PiP:',error)
			}
		}
	}
	);
	divs.fullscren.on("click",function()
		{
		if(!fullscreen)enterFullscreen();
		else exitFullscreen()
	}
	);
	divs.play.on("click",function()
		{
		if(player.isPlaying())
			{
			player.pause();
			setButton($(this),icons.play)
		}
		else
			{
			player.play();
			setButton($(this),icons.pause)
		}
	}
	);
	$(".firstPlay").on("click",()=>
		{
		$(".firstPlay").remove();
		player.play()
	}
	);
	function updateVolume(value)
		{
		if(value<1)$(".volume .50").hide();
		else $(".volume .50").show();
		if(value>50)$(".volume .100").show();
		else $(".volume .100").hide();
		divs.volume.val(value);
		divs.volume.css("background",`linear-gradient(to right,#00a0e6 $
			{
			value
		}
		%,#ffffff $
			{
			(parseInt(value)+1)
		}
		%,#ffffff 100%)`);
		player.setVolume(value);
		setCookie("playerVolume",value,30)
	}
	let fullscreen=false;
	function enterFullscreen()
		{
		const playerContainer=document.getElementById('video');
		if(playerContainer.requestFullscreen)
			{
			playerContainer.requestFullscreen()
		}
		else if(playerContainer.mozRequestFullScreen)
			{
			playerContainer.mozRequestFullScreen()
		}
		else if(playerContainer.webkitRequestFullscreen)
			{
			playerContainer.webkitRequestFullscreen()
		}
		else if(playerContainer.msRequestFullscreen)
			{
			playerContainer.msRequestFullscreen()
		}
		fullscreen=true;
		setButton(divs.fullscren,icons.fullscreen.on)
	}
	function exitFullscreen()
		{
		if(document.exitFullscreen)
			{
			document.exitFullscreen()
		}
		else if(document.mozCancelFullScreen)
			{
			document.mozCancelFullScreen()
		}
		else if(document.webkitExitFullscreen)
			{
			document.webkitExitFullscreen()
		}
		else if(document.msExitFullscreen)
			{
			document.msExitFullscreen()
		}
		fullscreen=false;
		setButton(divs.fullscren,icons.fullscreen.off)
	}
	function setButton(div,button)
		{
		div.html(button)
	}
	function showControl()
		{
		if(playerReady)$("#playerzin_control").show()
	}
	function hideControl()
		{
		if(player.isPlaying())$("#playerzin_control").hide()
	}
	function startCounter()
		{
		var counter=$("#iframecount");
		var referer="";
		if(document.referrer)
			{
			referer=document.referrer
		}
		counter.remove();
		$("body").append("<iframe id='iframecount' src='https://whos.amung.us/pingjs/?k=nossoplayer&t=&c=d&x="+referer+"&y=&a=0&v=27&r=9336' style='display:none;
		'></iframe>");
		setTimeout(()=>
			{
			startCounter()
		}
		,35000)
	}
	function setCookie(name,value,days)
		{
		let expires="";
		if(days)
			{
			let date=new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			expires=";
			 expires="+date.toUTCString()
		}
		document.cookie=name+"="+value+";
		 path=/"+expires
	}
	function getCookie(name)
		{
		let nameEQ=name+"=";
		let cookies=document.cookie.split(';
		');
		for(let i=0;
		i<cookies.length;
		i++)
			{
			let c=cookies[i].trim();
			if(c.indexOf(nameEQ)===0)return c.substring(nameEQ.length,c.length)
		}
		return null
	}
}
!function(e,t)
	{
	"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ConsoleBan=
		{
	}
	)
}
(this,(function(e)
	{
	"use strict";
	var t=function()
		{
		return t=Object.assign||function(e)
			{
			for(var t,n=1,i=arguments.length;
			n<i;
			n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);
			return e
		}
		,t.apply(this,arguments)
	}
	,n=
		{
		clear:!0,debug:!0,debugTime:3e3,bfcache:!0
	}
	,i=2,o=function(e)
		{
		return~navigator.userAgent.toLowerCase().indexOf(e)
	}
	,r=function(e,t)
		{
		t!==i?location.href=e:location.replace(e)
	}
	,c=0,a=0,f=function(e)
		{
		var t=0,n=1<<c++;
		return function()
			{
			(!a||a&n)&&2===++t&&(a|=n,e(),t=1)
		}
	}
	,s=function(e)
		{
		var t=/./;
		t.toString=f(e);
		var n=function()
			{
			return t
		};
		n.toString=f(e);
		var i=new Date;
		i.toString=f(e),console.log("%c",n,n(),i);
		var o,r,c=f(e);
		o=c,r=new Error,Object.defineProperty(r,"message",
			{
			get:function()
				{
				o()
			}
		}
		),console.log(r)
	}
	,u=function()
		{
		function e(e)
			{
			var i=t(t(
				{
			}
			,n),e),o=i.clear,r=i.debug,c=i.debugTime,a=i.callback,f=i.redirect,s=i.write,u=i.bfcache;
			this._debug=r,this._debugTime=c,this._clear=o,this._bfcache=u,this._callback=a,this._redirect=f,this._write=s
		}
		return e.prototype.clear=function()
			{
			this._clear&&(console.clear=function()
				{
			}
			)
		}
		,e.prototype.bfcache=function()
			{
			this._bfcache&&(window.addEventListener("unload",(function()
				{
			}
			)),window.addEventListener("beforeunload",(function()
				{
			}
			)))
		}
		,e.prototype.debug=function()
			{
			if(this._debug)
				{
				var e=new Function("debugger");
				setInterval(e,this._debugTime)
			}
		}
		,e.prototype.redirect=function(e)
			{
			var t=this._redirect;
			if(t)if(0!==t.indexOf("http"))
				{
				var n,i=location.pathname+location.search;
				if(((n=t)?"/"!==n[0]?"/".concat(n):n:"/")!==i)r(t,e)
			}
			else location.href!==t&&r(t,e)
		}
		,e.prototype.callback=function()
			{
			if((this._callback||this._redirect||this._write)&&window)
				{
				var e,t=this.fire.bind(this),n=window.chrome||o("chrome"),r=o("firefox");
				if(!n)return r?((e=/./).toString=t,void console.log(e)):void function(e)
					{
					var t=new Image;
					Object.defineProperty(t,"id",
						{
						get:function()
							{
							e(i)
						}
					}
					),console.log(t)
				}
				(t);
				s(t)
			}
		}
		,e.prototype.write=function()
			{
			var e=this._write;
			e&&(document.body.innerHTML="string"==typeof e?e:e.innerHTML)
		}
		,e.prototype.fire=function(e)
			{
			this._callback?this._callback.call(null):(this.redirect(e),this._redirect||this.write())
		}
		,e.prototype.prepare=function()
			{
			this.clear(),this.bfcache(),this.debug()
		}
		,e.prototype.ban=function()
			{
			this.prepare(),this.callback()
		}
		,e
	}
	();
	e.init=function(e)
		{
		new u(e).ban()
	}
}
));
ConsoleBan.init(
	{
	redirect:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
);




© 2023 Quttera Ltd. All rights reserved.