403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/rhodeworks/wp-content/plugins/really-simple-ssl/settings/config/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rhodeworks/wp-content/plugins/really-simple-ssl/settings/config/fields/hardening-xml.php
<?php
defined( 'ABSPATH' ) or die();

add_filter( 'rsssl_fields', function( $fields ) {
	return array_merge( $fields,
		[
			[
				'id'       => 'xmlrpc_status',
				'menu_id'  => 'hardening-xml',
				'group_id' => 'hardening-xml',
				'type'     => 'hidden',
				'label'    => '',
				'disabled' => false,
				'default'  => false,
			],
			[
				'id'       => 'xmlrpc_status_lm_enabled_once',
				'menu_id'  => 'hardening-xml',
				'group_id' => 'hardening-xml',
				'type'     => 'hidden',
				'label'    => '',
				'disabled' => false,
				'default'  => false,
			],
			[
				'id'               => 'xmlrpc_allow_list',
				'control_field'    => 'xmlrpc_status',
				'menu_id'          => 'hardening-extended',
				'group_id'         => 'hardening-xml',
				'type'             => 'learningmode',
				'label'            => "XML-RPC",
				'disabled'         => false,
				'default'          => false,
				'help'     => [
					'label' => 'default',
					'url'   => 'definition/what-is-xml-rpc',
					'title' => __( "About XML-RPC", 'really-simple-ssl' ),
					'text'  => __( 'XML-RPC is a mechanism originally implemented into WordPress to publish content without the need to actually login to the backend. It is also used to login to WordPress from devices other than desktop, or the regular wp-admin interface.', 'really-simple-ssl' ),
				],
				'react_conditions' => [
					'relation' => 'AND',
					[
						'disable_xmlrpc' => false,
					]
				],
				'columns'          => [
					[
						'name'     => __( 'Method', 'really-simple-ssl' ),
						'sortable' => false,
						'column'   => 'method',
                        'grow'     => 2,
                        'width'    => '30%',
					],
					[
						'name'     => __( 'Login status', 'really-simple-ssl' ),
						'sortable' => false,
						'column'   => 'login_statusControl',
						'width'     => '20%',
					],
					[
						'name'     => __( 'Count', 'really-simple-ssl' ),
						'sortable' => false,
						'column'   => 'count',
						'width'     => '20%',
					],
					[
						'name'     => __( '', 'really-simple-ssl' ),
						'sortable' => false,
						'column'   => 'statusControl',
						'width'     => '10%',
					],
					[
						'name'     => __( '', 'really-simple-ssl' ),
						'sortable' => false,
						'column'   => 'deleteControl',
						'width'     => '10%',
					],
				],
			],
		]
	);
}, 200 );

Youez - 2016 - github.com/yon3zu
LinuXploit