403Webshell
Server IP : 54.64.252.99  /  Your IP : 216.73.216.24
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 mod_perl/2.0.11 Perl/v5.32.1
System : Linux wolfeyes.yggcsp.com 6.1.176-221.360.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 9 21:15:26 UTC 2026 x86_64
User : hN5p2oAs ( 522)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/wwwusers/hN5p2oAs/www/htdocs/wp-admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wwwusers/hN5p2oAs/www/htdocs/wp-admin/media.php
<?php
/**
 * Media management action handler.
 *
 * This file is deprecated, use 'wp-admin/upload.php' instead.
 *
 * @deprecated 6.3.0
 * @package WordPress
 * @subpackage Administration
 */

/** Load WordPress Administration Bootstrap. */
require_once __DIR__ . '/admin.php';

$parent_file  = 'upload.php';
$submenu_file = 'upload.php';

$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';

switch ( $action ) {
	case 'editattachment':
	case 'edit':
		if ( empty( $_GET['attachment_id'] ) ) {
			wp_redirect( admin_url( 'upload.php?error=deprecated' ) );
			exit;
		}
		$att_id = (int) $_GET['attachment_id'];

		wp_redirect( admin_url( "upload.php?item={$att_id}&error=deprecated" ) );
		exit;

	default:
		wp_redirect( admin_url( 'upload.php?error=deprecated' ) );
		exit;
}

Youez - 2016 - github.com/yon3zu
LinuXploit