#Aggiunta Funzione per Decriptare Premium e Inserite Nuove Immagini Server

master
MickSlash 2022-07-16 15:08:47 +00:00
parent bfefc7d4b7
commit 894e207a71
1 changed files with 128 additions and 33 deletions

View File

@ -1,5 +1,41 @@
<?php include_once("conn/conn.php") ?>
<?php
function my_decrypt($data, $passphrase) {
$secret_key = hex2bin($passphrase);
$json = json_decode(base64_decode($data));
$iv = base64_decode($json->{'iv'});
$encrypted_64 = $json->{'data'};
$data_encrypted = base64_decode($encrypted_64);
$decrypted = openssl_decrypt($data_encrypted, 'aes-256-cbc', $secret_key, OPENSSL_RAW_DATA, $iv);
return $decrypted;
}
function obtainKey($url){
$c = curl_init($url);
curl_setopt($c,CURLOPT_RETURNTRANSFER,1);
$j = curl_exec($c);
$json_decode = json_decode($j,1);
return $json_decode["_string"];
}
$premium_unlock = false;
if(isset($_COOKIE["premium"])){
$_string = obtainKey("https://lordchannel.com/premium-key/");
$ekey = "";
$decryptionstring = my_decrypt($_COOKIE["premium"],$ekey);
if($_string == $decryptionstring){
$premium_unlock = true;
}
}
?>
<?php
if($premium_unlock){
}else{
require_once "adcash_antiadblock-qzcafjg2.php";
}
?>
<?php
if(isset($_GET['id']))
{
@ -13,7 +49,6 @@ $row = mysqli_fetch_array($resultList);
<head>
<meta name="a.validate.01" content="3f870d3b89dcf97a0c88f539cafe8d369cef" />
<meta name="propeller" content="5f7124e0a2e462dd8caeb086fdfa5e47">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="LORD CHANNEL THEATER">
@ -23,7 +58,14 @@ $row = mysqli_fetch_array($resultList);
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet">
<title><?php echo $row['titolo']?></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<style>
<?php
if(!$premium_unlock){
echo '<script data-cfasync="false" src="//d2bxxk33t58v29.cloudfront.net/?kxxbd=958045"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5690200091076351"
crossorigin="anonymous"></script>';
}
?>
<style>
.rectangle {
width: 70%;
height: 70%;
@ -97,10 +139,16 @@ $row = mysqli_fetch_array($resultList);
position: relative;
}
.options img {
width: 35px;
#serverImgList {
width: 2.2rem;
position: absolute;
top: 12px;
left: 60px;
}
#StreamSBImgList{
width: 75px;
position: absolute;
top: 20px;
left: 25px;
}
@ -126,11 +174,21 @@ $row = mysqli_fetch_array($resultList);
}
#selectText #serverimg {
width: 30px;
width: 2.2rem;
position: absolute;
top: 0;
left: 35px;
}
#selectText #streamsb {
width: 75px;
position: absolute;
top: 0;
left: 25px;
}
#adb{position:fixed!important;position:absolute;top:0;top:expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+"px");left:0;width:100%;height:100%;background-color:ivory;opacity:0.9;filter:alpha(opacity=90);display:block}#adb p{opacity:1;filter:none;font-size:30px;text-align:center;margin:20% 0}#adb p a{font-size:16px}#adb ~ *{display:none}</style><noscript><font id=adb><p>Sembra tu abbia JavaScript disattivato!<br/>Perfavore attiva JavaScript e ricarica la pagina!<br/><br/><a href="#" onclick="window.location.reload()">Ricarica la pagina</a></p></font></noscript><script>(function(w,u){var d=w.document,z=typeof u;function adb(){function c(c,i){var e=d.createElement('div'),b=d.body,s=b.style,l=b.childNodes.length;if(typeof i!=z){e.setAttribute('id',i);s.margin=s.padding=0;s.height='100%';l=Math.floor(Math.random()*l)+1}e.innerHTML=c;b.insertBefore(e,b.childNodes[l-1])}function g(i,t){return !t?d.getElementById(i):d.getElementsByTagName(t)};function f(v){if(!g('adb')){c('<p><span style="font-size:24px">Ehi! Starai mica bloccando le pubblicit&agrave;?</span><br/><br/>Il servizio che offriamo è <i>gratuito</i> e come potrai immaginare ci sono dei costi per mantenere i server online.<br/>Perfavore disattiva Adblock e ricarica la pagina!<br/><br/><a href="#" onclick="window.location.reload()">Ricarica la pagina</a></p>','adb')}};(function(){var a=['adStrip','ad_container_0','apiTopAdWrap','google_ads','realEstateAds','right-ad-col','sidebar_sponsoredresult_body','ad','ads','adsense'],l=a.length,i,s='',e;for(i=0;i<l;i++){if(!g(a[i])){s+='<a id="'+a[i]+'"></a>'}}c(s);l=a.length;setTimeout(function(){for(i=0;i<l;i++){e=g(a[i]);if(e.offsetParent==null||(w.getComputedStyle?d.defaultView.getComputedStyle(e,null).getPropertyValue('display'):e.currentStyle.display)=='none'){return f('#'+a[i])}}},250)}());(function(){var t=g(0,'img'),a=['/ad_left.','/adnews.','/ads_ifr.','/cnxad-','/scripts/ads.js','/sponsor-ad|','/square-ads/ad','_ad1.','_openx/','_skyscraper160x600.'],i;if(typeof t[0]!=z&&typeof t[0].src!=z){i=new Image();i.onload=function(){this.onload=z;this.onerror=function(){f(this.src)};this.src=t[0].src+'#'+a.join('')};i.src=t[0].src}}());(function(){var o={'http://pagead2.googlesyndication.com/pagead/show_ads.js':'google_ad_client','http://js.adscale.de/getads.js':'adscale_slot_id','http://get.mirando.de/mirando.js':'adPlaceId'},S=g(0,'script'),l=S.length-1,n,r,i,v,s;d.write=null;for(i=l;i>=0;--i){s=S[i];if(typeof o[s.src]!=z){n=d.createElement('script');n.type='text/javascript';n.src=s.src;v=o[s.src];w[v]=u;r=S[0];n.onload=n.onreadystatechange=function(){if(typeof w[v]==z&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){n.onload=n.onreadystatechange=null;r.parentNode.removeChild(n);w[v]=null}};r.parentNode.insertBefore(n,r);setTimeout(function(){if(w[v]===u){f(n.src)}},2000);break}}}())}if(d.addEventListener){w.addEventListener('load',adb,false)}else{w.attachEvent('onload',adb)}})(window);</script>
</style>
@ -138,7 +196,6 @@ $row = mysqli_fetch_array($resultList);
<body background="https://i.ibb.co/gPDNLVx/filmserietv.jpg">
<?php include 'nav.php';?>
<div id="videoframe" class="not-v"><?php echo json_encode($row['link embedded']) ?></div>
<div class="theater">
<div class="selector">
<div id="selectField">
@ -148,39 +205,28 @@ $row = mysqli_fetch_array($resultList);
<ul id="list" class="not-visible">
<li id="0" class="options not-visible">
<img src="https://img.icons8.com/wired/452/server.png" alt="">
<img src="https://i.ibb.co/sQPCzpL/server.png" id="serverImgList" alt="Server 1 Immagine">
<p>Server 1</p>
</li>
<li id="1" class="options">
<img src="https://imgpile.com/images/NPMfxb.png" alt="">
<img src="https://streamsb.com/streamSB_images/logo.png" id="StreamSBImgList" alt="Server 2 Immagine">
<p>Server 2</p>
</li>
<li id="2" class="options">
<img src="https://imgpile.com/images/NPMikS.png" alt="">
<p>Server 3</p>
</li>
<li id="3" class="options">
<img src="https://imgpile.com/images/NPMlo3.png" alt="">
<p>Server 4</p>
</li>
</ul>
</div>
</div>
<div class="rectangle" id="wrapper">
<iframe hidden src="" frameborder="0" allowFullScreen="true"></iframe>
</div>
<script src="//code.jquery.com/jquery-3.6.0.min.js" async></script>
<script rel="preload" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script rel="preload" src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<div class="rectangle">
<iframe src="" frameborder="0" allowFullScreen="true"></iframe>
</div>
<script>
$(document).ready(function() {
window.onload = function() {
let sites = [<?php echo json_encode($row['link embedded']) ?>, <?php echo json_encode($row['link embedded2']) ?>, <?php echo json_encode($row['link embedded3']) ?>, <?php echo json_encode($row['link embedded4']) ?>];
var selectField = document.getElementById('selectField');
var selectText = document.getElementById('selectText');
@ -188,7 +234,53 @@ $row = mysqli_fetch_array($resultList);
var list = document.getElementById('list');
var arrowIcon = document.getElementById('arrowIcon');
const iframe = document.querySelector('iframe');
iframe.src = sites[0];
const videoTitle = <?php echo json_encode($row['titolo']) ?>;
if (sites[0].includes("ita-hd.stream") || sites[0].includes("watchsb.com") || sites[0].includes("vtube.to")) {
iframe.src = sites[0]
iframe.hidden = false
}
else {
if (p2pml.hlsjs.Engine.isSupported()) {
const config = {
loader: {
trackerAnnounce: [
"wss://planetcinema.stream",
],
}
}
var engine = new p2pml.hlsjs.Engine(config);
var player = new Clappr.Player({
parentId: "#wrapper",
source: sites[0],
plugins: [ChromecastPlugin],
mute: false,
autoPlay: true,
height: '100%',
width: '100%',
playback: {
hlsjsConfig: {
liveSyncDurationCount: 7,
loader: engine.createLoaderClass()
}
},
chromecast: {
appId: '9DFB77C0',
media: {
type: ChromecastPlugin.Movie,
title: videoTitle
}
}
});
p2pml.hlsjs.initClapprPlayer(player);
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}` : "HTTP", segment.url));
} else {
document.write("Not supported :(");
}
}
selectField.onclick = function() {
list.classList.toggle('not-visible');
@ -201,7 +293,15 @@ $row = mysqli_fetch_array($resultList);
let imgStreaming = $("img", this).map(function() {
return $(this).prop("src")
}).get();
selectText.innerHTML = `<img id="serverimg" src="${imgStreaming}"/>${this.textContent}`;
let server = "";
switch(this.id){
case "0":
server = "serverimg";
break;
default:
server = "streamsb";
}
selectText.innerHTML = `<img id="${server}" src="${imgStreaming}"/>${this.textContent}`;
list.classList.toggle('not-visible');
arrowIcon.classList.toggle('rotate');
document.querySelector('iframe').src = sites[this.id];
@ -217,11 +317,6 @@ $row = mysqli_fetch_array($resultList);
options[i].classList.add('not-v');
}
}
});
}
</script>
</body>
</html>
</html>