Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- function fakeip() {
- $z = rand(0, 255);
- $i = 0;
- while ($i < 3)
- {
- $z .= "." . rand(0, 255);
- ++$i;
- continue;
- }
- return $z;
- }
- function curl_cek($url) {
- global $wpdb;
- $querys = $wpdb->get_results("select * from bot_ayarlar");
- $data = array();
- foreach ($querys as $query)
- {
- $data[$query->ifadesi] = $query->ayari;
- continue;
- }
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array("Client-IP:" . fakeip(), "HTTP_X_FORWARDED_FOR:" . fakeip()));
- curl_setopt($ch, CURLOPT_NOBODY, false);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, $url);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0");
- curl_setopt($ch, CURLOPT_ENCODING, "");
- if ($data["proxy_aktif"] == 1)
- {
- curl_setopt($ch, CURLOPT_PROXY, $data["proxy_ip"]);
- curl_setopt($ch, CURLOPT_PROXYPORT, $data["proxy_port"]);
- curl_setopt($ch, CURLOPT_PROXYUSERPWD, $data["proxy_kullanici"] . ":" . $data["proxy_sifre"]);
- }
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_TIMEOUT, 30);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
- $rmx = curl_exec($ch);
- curl_close($ch);
- return $rmx;
- }
- function arama_ydi_cek($url) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_HEADER, false);
- curl_setopt($ch, CURLOPT_NOBODY, false);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, "http://www.yabancidizihdizle.com");
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0");
- curl_setopt($ch, CURLOPT_ENCODING, "");
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_TIMEOUT, 30);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
- $rmx = curl_exec($ch);
- curl_close($ch);
- return $rmx;
- }
- function goldVideo($id, $s = null, $dil) {
- if ($s != null)
- {
- $data = array("id" => $id, "s" => $s, "dil" => $dil, "tip" => "view");
- }
- else
- {
- $data = array("id" => $id, "dil" => $dil, "tip" => "view");
- }
- $string = http_build_query($data);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://www.dizigold.net/sistem/ajax.php");
- curl_setopt($ch, CURLOPT_HTTPHEADER, array("Origin: http://www.dizigold.net", "Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4", "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "Content-Type: application/x-www-form-urlencoded; charset=UTF-8", "Accept: application/json, text/javascript, */*; q=0.01", "Referer: http://www.dizigold.net/the-simpsons/26-sezon/19-bolum", "X-Requested-With: XMLHttpRequest", "Connection: keep-alive"));
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_TIMEOUT, 30);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
- curl_setopt($ch, CURLOPT_REFERER, $_SERVER["REQUEST_URI"]);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $string);
- $data = curl_exec($ch);
- curl_close($ch);
- return json_decode(json_encode($data));
- }
- function goldSezon($sezon_id, $dizi_id) {
- $data = array("sezon_id" => $sezon_id, "dizi_id" => $dizi_id, "tip" => "sezon");
- $string = http_build_query($data);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://www.dizigold.net/sistem/ajax.php");
- curl_setopt($ch, CURLOPT_HTTPHEADER, array("Origin: http://www.dizigold.net", "Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4", "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "Content-Type: application/x-www-form-urlencoded; charset=UTF-8", "Accept: application/json, text/javascript, */*; q=0.01", "Referer: http://www.dizigold.net/the-simpsons/26-sezon/19-bolum", "X-Requested-With: XMLHttpRequest", "Connection: keep-alive"));
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_TIMEOUT, 30);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
- curl_setopt($ch, CURLOPT_REFERER, $_SERVER["REQUEST_URI"]);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $string);
- $data = curl_exec($ch);
- curl_close($ch);
- return json_decode(json_encode($data));
- }
- function getVideo($video_id, $part_name, $page) {
- $data = array("video_id" => $video_id, "part_name" => $part_name, "page" => $page);
- $string = http_build_query($data);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://www.dizinus.com/service/get_video_part");
- curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept:application/json, text/javascript, */*; q=0.01", "Origin: http://www.dizinus.com", "Accept-Encoding: gzip, deflate", "Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4", "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36", "Content-Type: application/x-www-form-urlencoded; charset=UTF-8", "Accept: application/json, text/javascript, */*; q=0.01", "X-Requested-With: XMLHttpRequest", "Connection: keep-alive", "Host:www.dizinus.com", "Pragma: no-cache", "Cache-Control: no-cache", "X-Requested-With:XMLHttpRequest"));
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
- curl_setopt($ch, CURLOPT_REFERER, $_SERVER["REQUEST_URI"]);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $string);
- $data = curl_exec($ch);
- curl_close($ch);
- return json_decode(json_encode($data));
- }
- function partIsimi($partIsim) {
- $partIsim = trim($partIsim);
- if (preg_match("~tr~i", $partIsim))
- {
- $partIsim = "Türkçe";
- }
- else
- {
- if (preg_match("~subtitle~is", $partIsim))
- {
- $partIsim = "İngilizce";
- }
- else
- {
- if (preg_match("~İng~is", $partIsim))
- {
- $partIsim = "İngilizce";
- }
- else
- {
- if (preg_match("~nosubtitle~is", $partIsim))
- {
- $partIsim = "Altyazısız";
- }
- else
- {
- if (preg_match("~nosub.png~is", $partIsim))
- {
- $partIsim = "Altyazısız";
- }
- else
- {
- if (preg_match("~en.png~is", $partIsim))
- {
- $partIsim = "İngilizce";
- }
- else
- {
- if (preg_match("~tr.png~is", $partIsim))
- {
- $partIsim = "İngilizce";
- }
- }
- }
- }
- }
- }
- }
- return $partIsim;
- }
- function episodeinfo($category_name, $season, $episode) {
- global $wpdb;
- $querys = $wpdb->get_results("select * from bot_ayarlar");
- ........................................................................
- ..................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement