Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $dizin = $_SERVER['HTTP_HOST'];
  15.  
  16. if (strstr($dizin, 'www.')) {
  17. $dizin = explode('www.', $dizin);
  18. $dizin = $dizin[1];
  19. }
  20.  
  21. $bas = 'PHI-';
  22. $son = '-2108';
  23. $m = 'md5';
  24. $s = 'sha1';
  25. $lisans = wordwrap(strtoupper($s($s($s($m($m($m($m($s($m($s($s($m($dizin))))))))))))), 5, '-', true);
  26. $cevir = strrev($lisans);
  27. $bcs = $bas . $cevir . $son;
  28.  
  29. if ($bcs !== Licence) {
  30. echo 'Lisans kodunuz hatalı. Lütfen yazılımcı (PhiCodes) ile iletişime geçin. Bilgileriniz yazılımcıya iletildi.';
  31. $mailto = 'phicodes@gmail.com';
  32. $icerik = 'PhiPlayer scripti ' . $dizin . ' Tarafından izinsiz kullanılmakta.';
  33. mail($mailto, $dizin, (string) $icerik, 'Lisans işlemi bildirimi.');
  34. exit();
  35. }
  36. else {
  37. function whats($source)
  38. {
  39. global $db_connect;
  40. $getsettings2 = $db_connect->query('SELECT settings FROM settings where id=1 limit 1');
  41. $getsettings2 = $getsettings2->fetch_assoc();
  42. $get_settings2 = json_decode($getsettings2['settings'], true);
  43. return $get_settings2['source'][$source];
  44. }
  45.  
  46. function p_iframe($hash, $width, $height)
  47. {
  48. $iframe = '<iframe src="' . Player_Path . '/play.php?vid=' . $hash . '" width="' . $width . '" height="' . $height . '" frameborder="0" scrolling="no" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
  49. return $iframe;
  50. }
  51.  
  52. function check($link)
  53. {
  54. $ch4 = curl_init();
  55. $ip = $_SERVER['REMOTE_ADDR'];
  56. curl_setopt($ch4, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  57. curl_setopt($ch4, CURLOPT_SSL_VERIFYPEER, false);
  58. curl_setopt($ch4, CURLOPT_SSL_VERIFYHOST, false);
  59. curl_setopt($ch4, CURLOPT_URL, $link);
  60. curl_setopt($ch4, CURLOPT_CONNECTTIMEOUT, 12);
  61. curl_setopt($ch4, CURLOPT_RETURNTRANSFER, 1);
  62. $veri = curl_exec($ch4);
  63. curl_close($ch4);
  64. return $veri;
  65. }
  66.  
  67. function F_Curl($ID)
  68. {
  69. $CH = curl_init();
  70. $COptions = [
  71. CURLOPT_URL => $ID,
  72. CURLOPT_HEADER => false,
  73. CURLOPT_RETURNTRANSFER => true,
  74. CURLOPT_FOLLOWLOCATION => false,
  75. CURLOPT_SSL_VERIFYPEER => false,
  76. CURLOPT_HTTPHEADER => ['User-Agent: ' . $_SERVER['HTTP_USER_AGENT']]
  77. ];
  78. curl_setopt_array($CH, $COptions);
  79. $url = curl_getinfo($CH, CURLINFO_EFFECTIVE_URL);
  80. curl_close($CH);
  81. return $url;
  82. }
  83.  
  84. function get_Link($url)
  85. {
  86. $ch = curl_init($url);
  87. curl_setopt_array($ch, [CURLOPT_FOLLOWLOCATION => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_TIMEOUT => 1, CURLOPT_CONNECTTIMEOUT => 1]);
  88. curl_exec($ch);
  89. $url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
  90. ...............................................................................
  91. ....................................................
  92. ..............................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement