diff --git a/guarda.php b/guarda.php index 3c813c0..f100ca1 100644 --- a/guarda.php +++ b/guarda.php @@ -1,5 +1,41 @@ +{'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; + } +} +?> + - @@ -23,7 +58,14 @@ $row = mysqli_fetch_array($resultList); <?php echo $row['titolo']?> - @@ -138,7 +196,6 @@ $row = mysqli_fetch_array($resultList); -
@@ -148,39 +205,28 @@ $row = mysqli_fetch_array($resultList);
  • - + Server 1 Immagine

    Server 1

  • - + Server 2 Immagine

    Server 2

  • -
  • - -

    Server 3

    -
  • - -
  • - -

    Server 4

    -
+
+ +
- -
- -
- - - - - - + \ No newline at end of file