Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function Temizle($y)
- {
- $g = ['www.', ':8880', ':8443', ':443', ':2086', ':2082', 'mail.', '/cpanel', ':80'];
- $d = ['', '', '', '', '', '', '', '', ''];
- $yd = str_replace($g, $d, $y);
- return $yd;
- }
- function getBrowser()
- {
- $u_agent = $_SERVER['HTTP_USER_AGENT'];
- $bname = 'Bilinmiyor';
- $platform = 'Bilinmiyor';
- if (preg_match('/linux/i', $u_agent)) {
- $platform = 'linux';
- }
- else if (preg_match('/macintosh|mac os x/i', $u_agent)) {
- $platform = 'mac';
- }
- else if (preg_match('/windows|win32/i', $u_agent)) {
- $platform = 'windows';
- }
- if (preg_match('/MSIE/i', $u_agent) && !preg_match('/Opera/i', $u_agent)) {
- $bname = 'Internet Explorer';
- $ub = 'MSIE';
- }
- else if (preg_match('/Firefox/i', $u_agent)) {
- $bname = 'Mozilla Firefox';
- $ub = 'Firefox';
- }
- else if (preg_match('/Chrome/i', $u_agent)) {
- $bname = 'Google Chrome';
- $ub = 'Chrome';
- }
- else if (preg_match('/Safari/i', $u_agent)) {
- $bname = 'Apple Safari';
- $ub = 'Safari';
- }
- else if (preg_match('/Opera/i', $u_agent)) {
- $bname = 'Opera';
- $ub = 'Opera';
- }
- else if (preg_match('/Netscape/i', $u_agent)) {
- $bname = 'Netscape';
- $ub = 'Netscape';
- }
- return ['userAgent' => $u_agent, 'name' => $bname, 'platform' => $platform];
- }
- function gercekip()
- {
- if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
- $ip = $_SERVER['HTTP_CLIENT_IP'];
- }
- else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
- $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
- }
- else {
- $ip = $_SERVER['REMOTE_ADDR'];
- }
- return $ip;
- }
- function httpPost($url, $params)
- {
- $postData = '';
- foreach ($params as $k => $v) {
- $postData .= $k . '=' . $v . '&';
- }
- rtrim($postData, '&');
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HEADER, false);
- curl_setopt($ch, CURLOPT_POST, count($postData));
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
- $output = curl_exec($ch);
- curl_close($ch);
- return $output;
- }
- function ipAl()
- {
- if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
- $ip = $_SERVER['HTTP_CLIENT_IP'];
- }
- else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
- $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
- }
- else {
- $ip = $_SERVER['REMOTE_ADDR'];
- }
- return $ip;
- }
- $bas = 'ART-';
- $son = '-2019';
- $m = 'md5';
- $s = 'sha1';
- $kurulualanadi = 'http://lisans.receteartdemo.com/';
- $dosya_adi = 'lisans.php';
- if (!file_exists($dosya_adi)) {
- touch($dosya_adi);
- }
- require_once 'lisans.php';
- $lisans['site'] = getenv('HTTP_HOST');
- $lisans['site'] = strtolower($lisans['site']);
- $lisans['site'] = rtrim($lisans['site'], '.');
- $lisans['site'] = temizle($lisans['site']);
- $lisans['hash'] = wordwrap(strtoupper($s($s($s($s($m($s($s($m($lisans['site'] . date('d')))))))))), 5, '-', true);
- $sipadres = $_SERVER['SERVER_ADDR'];
- $ua = getbrowser();
- $tarayici = $ua['name'];
- $platform = $ua['platform'];
- $kipadres = gercekip();
- $site = $_SERVER['HTTP_HOST'];
- $hata = $kurulualanadi . 'get.php';
- $liskod = $lisans['hash'];
- $cevir = strrev($liskod);
- $bcs = $bas . $cevir . $son;
- if ($bcs !== @$lisanskodu) {
- $ch = curl_init($kurulualanadi . 'kontrol.php?site=' . $lisans['site']);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- $lisans_cevap = curl_exec($ch);
- if ($lisans_cevap !== 'LISANSLI') {
- $params = ['sipadres' => $sipadres, 'kipadres' => $kipadres, 'tarayici' => $tarayici, 'platform' => $platform, 'site' => $site, 'bugun' => date('d.m.Y')];
- httppost($kurulualanadi . 'get.php', $params);
- header('location:' . $kurulualanadi . 'uyari.php');
- exit();
- }
- $lyaz = fopen('lisans.php', 'w+');
- @fwrite($lyaz, '<?php' . "\r\n" . '/**receteart.com Lisans Sistemi' . "\r\n" . 'Copyright (C) 2019' . "\r\n" . '05352125331' . "\r\n" . 'hello@receteart.com' . "\r\n" . 'Satış Linki: https://www.receteart.com' . "\r\n" . 'Bu dosyaya herhangi bir lisans kodu yazmanız gerekmez, almış olduğunuz ürünün lisansı aktif olduğunda, sitenizde anahtar otomatik oluşturulur.' . "\r\n" . 'Yeni lisans almak için sitenisevsinler.com adresini ziyaret edebilirsiniz.*/' . "\r\n" . '$lisanskodu="' . $bcs . '";' . "\r\n" . '?>');
- fclose($lyaz);
- }
- ob_start();
- if ($modul['smsbildirim'] == '1') {
- if ($modul['smsapi'] == '1') {
- function sendRequest($site_name, $send_xml, $header_type = ['Content-Type: text/xml'])
- {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $site_name);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $send_xml);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $header_type);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT, 120);
- $result = curl_exec($ch);
- return $result;
- }
- set_time_limit(0);
- date_default_timezone_set('Europe/Istanbul');
- }
- else {
- function sendsms($msg, $telno, $header)
- {
- global $modul;
- $username = $modul['netkadi'];
- $pass = $modul['netsifre'];
- $startdate = date('d.m.Y H:i');
- $startdate = str_replace('.', '', $startdate);
- $startdate = str_replace(':', '', $startdate);
- $startdate = str_replace(' ', '', $startdate);
- $stopdate = date('d.m.Y H:i', strtotime('+1 day'));
- $stopdate = str_replace('.', '', $stopdate);
- $stopdate = str_replace(':', '', $stopdate);
- $stopdate = str_replace(' ', '', $stopdate);
- $url = 'http://api.netgsm.com.tr/bulkhttppost.asp?usercode=' . $username . '&password=' . $pass . '&gsmno=' . $telno . '&message=' . $msg . '&msgheader=' . $header . '&startdate=' . $startdate . '&stopdate=' . $stopdate;
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- $output = curl_exec($ch);
- curl_close($ch);
- return $output;
- }
- }
- }
- echo "\r\n\r\n\r\n";
- $sepid = htmlspecialchars(trim($_GET['sepetID']));
- $sil = $DB->prepare('DELETE FROM sepet WHERE sepetId=?');
- $sil->execute([$sepid]);
- if (0 < $sepid) {
- }
- echo "\r\n";
- $sepx = htmlspecialchars(trim($_GET['kuponid']));
- $sonuccc = $DB->exec('UPDATE sepet SET kupon=\'0\',kuponid=\'0\' WHERE sepetId=\'' . $sepx . '\' limit 1');
- if (0 < $sonuccc) {
- echo '<div class=\'alert alert-green\'>' . "\t\t" . '<span class=\'alert-close\' data-close=\'alert\' title=\'Close\'>×</span>' . "\t\t" . '<strong>Başarılı</strong> - Kupon başarıyla kaldırıldı.</div>';
- }
- echo "\r\n\r\n";
- if (isset($_POST['uyegiris'])) {
- $email = htmlspecialchars(trim($_POST['email']));
- $sifre = htmlspecialchars(trim($_POST['sifre']));
- $giris = $DB->prepare('select * from uyeler where durum=\'1\' and email=? and sifre=?');
- $giris->execute([$email, $sifre]);
- $parcala = $giris->fetch(PDO::FETCH_ASSOC);
- $kontrol = $giris->rowCount();
- if ($parcala['durum'] = 0) {
- echo ' <div class=\'alert alert-red\'>' . "\t\t" . '<span class=\'alert-close\' data-close=\'alert\' title=\'Close\'>×</span>' . "\t\t" . '<strong>Hata !</strong> - Üyeliğiniz hala onay sürecinde beklemektedir.</div>' . "\r\n\t\t";
- }
- else if ($kontrol) {
- $_SESSION['uyegiris'] = 'true';
- $_SESSION['uyeId'] = $parcala['uyeId'];
- $_SESSION['isim'] = $parcala['isim'];
- $_SESSION['email'] = $parcala['email'];
- $_SESSION['sifre'] = $parcala['sifre'];
- $_SESSION['telefon'] = $parcala['telefon'];
- $_SESSION['ip'] = $parcala['ip'];
- $_SESSION['tc'] = $parcala['tc'];
- $_SESSION['ne'] = $parcala['ne'];
- $_SESSION['indirim'] = $parcala['indirim'];
- $_SESSION['vd'] = $parcala['vd'];
- $_SESSION['vno'] = $parcala['vno'];
- $_SESSION['nedir'] = $parcala['nedir'];
- echo ' ' . "\r\n\t\t" . '<div class=\'alert alert-green\'>' . "\t\t" . '<span class=\'alert-close\' data-close=\'alert\' title=\'Close\'>×</span>' . "\t\t" . '<strong>Başarılı</strong> - Sisteme başarıyla giriş yaptınız.</div>' . "\t\r\n\t\t\t";
- setcookie('giris', 'satinal');
- echo '<meta http-equiv="refresh" content="0; url=index">';
- .....................................................................
- ..........................................
- ......................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement