Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.216.40
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/robin-image-optimizer/admin/ajax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/robin-image-optimizer/admin/ajax/settings.php
<?php
/**
 * Ajax действие, которое выполняется при сохранении настроек
 *
 * @version       1.0
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * AJAX обработчик массовой сохранения уровня сжатия
 */
add_action(
	'wp_ajax_wio_settings_update_level',
	function () {
		check_admin_referer( 'wio-iph' );

		if ( ! current_user_can( 'manage_options' ) ) {
			wp_die( - 1 );
		}

		$level = sanitize_text_field( $_POST['level'] );

		if ( ! $level ) {
			die();
		}

		if ( ! in_array( $level, [ 'normal', 'aggresive', 'ultra' ] ) ) {
			die();
		}

		WRIO_Plugin::app()->updatePopulateOption( 'image_optimization_level', $level );
		die();
	}
);

Youez - 2016 - github.com/yon3zu
LinuXploit