Advertisement
Guest User

Untitled

a guest
Mar 30th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 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. function lisanshatametnigoster()
  15. {
  16. echo $tekniklisanshatametni = '<html><head><link rel=\'stylesheet\' href=\'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\'><title>Aksoyhlc | Lisanssız Kullanım</title></head><body><script type="text/javascript">alert(\'Lisanssız Kullanım Tespit Edildi\');var uyariicerigi="<style type=\'text/css\'>.lisans-kontrol{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}</style><div class=\'aksoyhlc-lisans-kontrol lisans-kontrol\'><div style=\'max-width:980px;color: rgb(255, 255, 255);background-color: rgb(252, 84, 75);padding: 2rem;border-radius: 1rem;text-align: center;\'><h3 style=\'margin-top: 0px; margin-bottom: 0.5rem; font-weight: 700; line-height: 1.2; color: inherit; font-size: 1.75rem;\'>Lisanssız Kullanım Tespit Edildi</h3>Bu script <a href=\'https://satis.aksoyhlc.net/\' rel=\'follow,index\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'><b>satis.aksoyhlc.net</b></a> tarafından üretilmiştir ve sizin bu scripti kullanma hakkınız bulunmamaktadır.<br>Websiteniz ile ilgili bilgiler script sahibine iletildi.<br>Sistemi kullanabilmek için&nbsp;<u><a href=\'https://satis.aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'><b>SATIN ALIN</b></a></u><hr style=\'overflow: visible; margin-top: 1rem; margin-bottom: 1rem; border-top-color: rgb(241, 176, 183);\'><a href=\'https://satis.aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'>satis.aksoyhlc.net</a>&nbsp;|&nbsp;<a href=\'https://aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'>aksoyhlc.net</a></div></div>";function lisansbaslat(hatametni){document.body.innerHTML=hatametni;}window.onload=lisansbaslat(uyariicerigi);</script></body></html>';
  17. exit();
  18. }
  19.  
  20. function footerhatametnigoster()
  21. {
  22. echo '<html><head><link rel=\'stylesheet\' href=\'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\'><title>Aksoyhlc | Footer Değişikliği</title></head><body><script type="text/javascript">alert(\'Footer Değişikliği Tespit Edildi\');var uyariicerigi="<style type=\'text/css\'>.lisans-kontrol{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}</style><div class=\'aksoyhlc-lisans-kontrol lisans-kontrol\'><div style=\'max-width:980px;color: rgb(255, 255, 255);background-color: rgb(252, 84, 75);padding: 2rem;border-radius: 1rem;text-align: center;\'><h3 style=\'margin-top: 0px; margin-bottom: 0.5rem; font-weight: 700; line-height: 1.2; color: inherit; font-size: 1.75rem;\'>Footer Değişikliği Tespit Edildi</h3>Bu script <a href=\'https://satis.aksoyhlc.net/\' rel=\'follow,index\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'><b>satis.aksoyhlc.net</b></a> tarafından üretilmiştir ve footer değiştirme veya silme hakkınız bulunmamaktadır.<br>Footer - Copyright değişkiliği yapabilmek için değişiklik yapma hakkı alın &nbsp;<u><a href=\'https://satis.aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'><br><b>İLETİŞİME GEÇ</b></a></u><hr style=\'overflow: visible; margin-top: 1rem; margin-bottom: 1rem; border-top-color: rgb(241, 176, 183);\'><a href=\'https://satis.aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'>satis.aksoyhlc.net</a>&nbsp;|&nbsp;<a href=\'https://aksoyhlc.net/\' style=\'color: rgb(255, 255, 255); transition: all 0.5s ease 0s;\'>aksoyhlc.net</a></div></div>";function lisansbaslat(hatametni){document.body.innerHTML=hatametni;}window.onload=setTimeout(function(){lisansbaslat(uyariicerigi)},1);</script></body></html>';
  23. exit();
  24. }
  25.  
  26. function footerkontrol()
  27. {
  28. $metin = 'Aksoyhlc CRM';
  29. $c = file_get_contents(__DIR__ . '/footer.php');
  30.  
  31. if (strpos($c, $metin) === false) {
  32. footerhatametnigoster();
  33. }
  34.  
  35. if (file_exists(__DIR__ . '/login.php')) {
  36. $sayfa = 'login.php';
  37. }
  38. else {
  39. $sayfa = 'giris.php';
  40. }
  41.  
  42. $icerik = file_get_contents(__DIR__ . ('/' . $sayfa));
  43.  
  44. if (strpos($icerik, $metin) === false) {
  45. footerhatametnigoster();
  46. }
  47. }
  48.  
  49. function kod_uret()
  50. {
  51. require_once __DIR__ . '/classes/GoogleAuthenticator.php';
  52. $ga = new PHPGangsta_GoogleAuthenticator();
  53. return json_encode(['kod' => $ga->createSecret()]);
  54. }
  55.  
  56. function kod_kontrol($kod)
  57. {
  58. global $ayarcek;
  59. global $db;
  60. global $crud;
  61. global $islem;
  62.  
  63. if (isset($islem)) {
  64. $crud = $islem;
  65. }
  66.  
  67. require_once __DIR__ . '/classes/GoogleAuthenticator.php';
  68. $ga = new PHPGangsta_GoogleAuthenticator();
  69. $secret = $crud->tek('SELECT kul_auth_kod FROM kullanicilar WHERE kul_id=' . $_SESSION['kul_id'])['kul_auth_kod'];
  70. $oneCode = $ga->getCode($secret);
  71. $checkResult = $ga->verifyCode($secret, $kod, 0);
  72.  
  73. if ($checkResult) {
  74. $_SESSION['guvenlik'] = true;
  75. return json_encode(['durum' => 'ok']);
  76. }
  77. else {
  78. $_SESSION['guvenlik'] = false;
  79. return json_encode(['durum' => 'no']);
  80. }
  81. }
  82.  
  83. function simdi()
  84. {
  85. date('Y-m-d H:i:s');
  86. }
  87.  
  88. function le($tur, $metin)
  89. {
  90. global $crud;
  91. global $db;
  92. global $ayarcek;
  93. $detay = $_SESSION['kul_isim'] . ' kullanıcısı ' . simdi() . ' tarihinde <b>' . $metin;
  94. $crud->log($tur, $detay);
  95. }
  96.  
  97. function animasyon($efekt)
  98. {
  99. global $ayarcek;
  100.  
  101. if ($ayarcek['animasyon_onay'] == 1) {
  102. echo (string) $efekt;
  103. }
  104. }
  105.  
  106. function modul($modul, $yonlendirme = 'h')
  107. {
  108. global $ayarcek;
  109. global $db;
  110. $sorgu = $db->prepare('SELECT modul_durum FROM modul WHERE modul_kisa=:modul_kisa');
  111. $sorgu->execute(['modul_kisa' => $modul]);
  112. $sorgucek = $sorgu->fetch(PDO::FETCH_ASSOC);
  113.  
  114. if ($sorgucek['modul_durum'] == 0) {
  115. if ($yonlendirme == 'e') {
  116. git($ayarcek['site_link'], 'kapali');
  117. }
  118. else {
  119. return false;
  120. }
  121. }
  122. else {
  123. return true;
  124. }
  125. }
  126.  
  127. function smsgonder($value = '')
  128. {
  129. try {
  130. $smstelefon = $ayarcek['sms_kullanici_adi'];
  131. $smssifre = urlencode($ayarcek['sms_sifre']);
  132. $orgin_name = urlencode($ayarcek['sms_baslik']);
  133. $mesaj = urlencode($mesaj);
  134. $liste = array_unique($kullanicilar);
  135. $liste = array_filter($liste);
  136. $numaralar = implode(',', $liste);
  137. $link = 'https://api.iletimerkezi.com/v1/send-sms/get/?username=' . $smstelefon . '&password=' . $smssifre . '&text=' . $mesaj . '&receipents=' . $numaralar . '&sender=' . $orgin_name;
  138. $ch = curl_init();
  139. curl_setopt($ch, CURLOPT_URL, $link);
  140. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  141. $sonuc = curl_exec($ch);
  142. curl_close($ch);
  143. preg_match_all('@<code>(.*?)</code>@si', $sonuc, $sonuckodu);
  144.  
  145. if (strstr($sonuckodu[0][0], '200')) {
  146. echo 'İşlem Başarılı';
  147. return true;
  148. }
  149. else {
  150. echo 'İşlem Başarısız';
  151. preg_match_all('@<message>(.*?)</message>@si', $sonuc, $sonucmetin);
  152. throw new Exception($sonuckodu[0][0] . $sonucmetin[0][0], 1);
  153. }
  154. }
  155. catch (Exception $e) {
  156. $_SESSION['hata'] = $e->getMessage();
  157. ....................................................
  158. .....................
  159. .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement