403Webshell
Server IP : 172.67.158.161  /  Your IP : 18.191.93.122
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/www/wp-content/plugins/duplicator-pro/lib/onedrive/src/Krizalys/Onedrive/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/www/wp-content/plugins/duplicator-pro/lib/onedrive/src/Krizalys/Onedrive/StreamOpener.php
<?php

namespace DuplicatorPro\Krizalys\Onedrive;
defined("ABSPATH") or die("");
class StreamOpener
{
    private static $uris = [
        StreamBackEnd::MEMORY => 'php://memory',
        StreamBackEnd::TEMP   => 'php://temp',
    ];

    /**
     * Opens a stream given a stream back end.
     *
     * @param int $streamBackEnd The stream back end.
     *
     * @return bool|resource The open stream.
     *
     * @throws \Exception Thrown if the stream back end given is not supported.
     */
    public function open($streamBackEnd)
    {
        if (!array_key_exists($streamBackEnd, self::$uris)) {
            throw new \Exception("Unsupported stream back end: $streamBackEnd");
        }

        $uri = self::$uris[$streamBackEnd];
        return fopen($uri, 'rw+b');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit