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.0.10.0
- * @ Author : DeZender
- * @ Release on : 09.04.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function header_callback($curl, $header_line)
- {
- $response_headers = ['set-cookie', 'location', 'content-length', 'transfer-encoding'];
- $flag = 0;
- foreach ($response_headers as $v) {
- if (0 < strlen($header_line)) {
- if (strpos(strtolower($header_line), strtolower($v)) === false) {
- $flag++;
- }
- }
- }
- if (($flag == sizeof($response_headers)) && (2 < strlen($header_line))) {
- header($header_line);
- }
- return strlen($header_line);
- }
- require '/home/seotoolsgroupsbu/public_html/library/Am/Lite.php';
- $isLoggedin = Am_Lite::getInstance()->isLoggedIn();
- $ahrefsactive = Am_Lite::getInstance()->haveSubscriptions([1, 2]);
- if ($isLoggedin) {
- if ($ahrefsactive) {
- }
- else {
- header('Location: ' . $loginurl);
- }
- }
- else {
- header('Location: ' . $loginurl);
- }
- require 'include.php';
- $dataFile = json_decode(file_get_contents(__DIR__ . '/data.json', FILE_USE_INCLUDE_PATH));
- $defaultUri = '/site-explorer';
- $post = file_get_contents('php://input');
- $headers = [];
- $blocked = json_decode(file_get_contents(__DIR__ . '/redirectURLS', FILE_USE_INCLUDE_PATH));
- $sblocked = json_decode(file_get_contents(__DIR__ . '/blockURLS', FILE_USE_INCLUDE_PATH));
- $request_headers = ['accept', 'accept-language', 'x-requested-with', 'main-request', 'x-csrf-token', 'cache-control', 'content-type', 'content-length'];
- $requestURI = preg_replace('/([^:])(\\/{2,})/', '$1/', '/' . trim($_SERVER['REQUEST_URI'], '/'));
- $domainLogError = ['status' => false, 'message' => ''];
- $kwrowlog = false;
- if ($requestURI == '/') {
- header('location: ' . $defaultUri);
- exit();
- }
- else if (in_array(strtok($requestURI, '?'), $blocked)) {
- header('location: ' . $defaultUri);
- exit();
- }
- else if (in_array(strtok($requestURI, '?'), $sblocked)) {
- header('HTTP/1.0 403 Forbidden', true, 403);
- exit();
- }
- else if ((strpos(strtok($requestURI, '?'), 'site-explorer/overview/v2/prefix') !== false) || (strpos(strtok($requestURI, '?'), 'site-explorer/overview/v2/subdomains') !== false) || (strpos(strtok($requestURI, '?'), 'site-explorer/overview/v2/domain') !== false)) {
- $domainname = $_GET['target'];
- require 'log.php';
- }
- if (isset($_SERVER['HTTP_REFERER'])) {
- $curlRef = parse_url($_SERVER['HTTP_REFERER']);
- if ($curlRef['host'] == $_SERVER['HTTP_HOST']) {
- $curlRef = 'https://ahrefs.com' . $curlRef['path'] . (empty($curlRef['query']) ? '' : '?' . $curlRef['query']);
- }
- else {
- $curlRef = 'https://ahrefs.com';
- }
- }
- else {
- $curlRef = 'https://ahrefs.com';
- ...................................................................
- .........................................
- ...............
Add Comment
Please, Sign In to add comment