HEX
Server: Apache
System:
User: ()
PHP: 7.4.33
Disabled: system,passthru,shell_exec,exec,proc_close,proc_open,proc_get_status,proc_nice,proc_terminate,highlight_file,escapeshellcmd,pclose,debugger_off,debugger_on,leak,listen,define_syslog_variables,ftp_exec,posix_uname,posix_getpwuid,get_current_user,getmyuid,getmygid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,myshellexec,escapeshellarg,disk_free_space,disk_total_space,show_source,dl,symlink,listen,syslog,php_ini_scanned_files,inurl,apache_setenv,closelog,rar_open,bzopen,bzread,bzwrite,shellcode,show_source,apache_get_modules,apache_get_version,apache_note,openlog,crack_check,crack_closedict,pcntl_exec,ini_alter,backtick,cmd,virtual,getservbyport,myshellexec,hypot,pg_host,phpini,link,readlink,syslog,id,ftok,posix_access,error_log,sym,php_u,psockopen,apache_child_k_closedict,crack_getlastmessage,crack_opendict,php_ini,ini_restore,popen,curl_multi_exec,php_uname
Upload Files
File: /home/homework/www/kurs3/wp-content/plugins/wordfence/views/common/block-navigation-option.php
<?php
if (!defined('WORDFENCE_VERSION')) { exit; }
/**
 * Presents a block navigation option with image, title, and subtitle.
 *
 * Expects $id, $title, $img, $link, and $subtitle to be defined.
 *
 * @var string $id The element ID.
 * @var string $title The option's title.
 * @var string $img The image name. If SVG, it will be inserted as an svg element rather than img.
 * @var string $link The link for the option to go to.
 * @var string $subtitle Subtitle for the option.
 */
?>
<div id="<?php echo esc_attr($id); ?>" class="wf-block-navigation-option">
	<?php if (preg_match('/\.svg$/i', $img)) : ?>
		<?php
		$contents = file_get_contents(WORDFENCE_PATH . '/images/' . $img);
		$contents = preg_replace('/<svg\s+xmlns="[^"]*"/i', '<svg', $contents);
		$contents = preg_replace('/(<svg[^>]+)/i', '${1} class="wf-block-navigation-option-icon"', $contents);
		echo $contents;
		?>
	<?php else: ?>
	<img src="<?php echo esc_attr(wfUtils::getBaseURL() . 'images/' . $img); ?>" class="wf-block-navigation-option-icon" alt="<?php echo esc_attr($title); ?>">
	<?php endif; ?> 
	<div class="wf-block-navigation-option-content">
		<h4><a href="<?php echo esc_attr($link); ?>"><?php echo esc_html($title); ?></a></h4>
		<p><?php echo esc_html($subtitle); ?></p>
	</div>
</div>
<script type="application/javascript">
	(function($) {
		$('#<?php echo esc_attr($id); ?>').on('click', function() {
			window.location.href = $(this).find('a').attr('href');
		});
	})(jQuery);
</script>