403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/tour.mitrofanov.ru/public/wp-content/plugins/tour-addons/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/tour.mitrofanov.ru/public/wp-content/plugins/tour-addons/includes/metrika.php
<?php

function eptour_metrika_hints( $hints, $relation_type ) {
	if ( current_user_can( 'edit_posts' ) ) return;
	if ( 'preconnect' === $relation_type ) {
		$hints[] = [
			'href'        => 'https://cdn.jsdelivr.net/',
			'crossorigin' => 'anonymous',
		];
	}
	return $hints;
}

add_filter( 'wp_resource_hints', 'eptour_metrika_hints', 10, 2 );

# Yandex metrika
add_action(
  'wp_footer',
  function() {
  	if ( ! current_user_can( 'edit_posts' ) ) {
?>
    <script type="text/javascript">!function(){"use strict";var i,c=!1,a=96994604;function d(){i=setTimeout(s,1e3)}function s(e){var t,n,r,o;c||(t=window,o=document,n="script",t.ym=t.ym||function(){(t.ym.a=t.ym.a||[]).push(arguments)},t.ym.l=+new Date,r=o.createElement(n),o=o.getElementsByTagName(n)[0],r.async=1,r.src="https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js",o.parentNode.insertBefore(r,o),ym(a,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0}),c=!0,clearTimeout(i),window.removeEventListener("scroll",s),window.removeEventListener("touchstart",s),document.removeEventListener("mouseenter",s),document.removeEventListener("click",s),document.removeEventListener("DOMContentLoaded",d))}-1<navigator.userAgent.indexOf("YandexMetrika")?s():(window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("touchstart",s),document.addEventListener("mouseenter",s),document.addEventListener("click",s),document.addEventListener("DOMContentLoaded",d))}();</script>
<?php
}
  }
);

Youez - 2016 - github.com/yon3zu
LinuXploit