Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
includes /
libs /
Delete
Unzip
Name
Size
Permission
Date
Action
composer
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
eventrelayer
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
filebackend
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
iterators
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
lockmanager
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
mime
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
objectcache
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
rdbms
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
redis
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
replacers
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
stats
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
time
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
virtualrest
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
xmp
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
APACHE-LICENSE-2.0.txt
11.09
KB
-rw-r--r--
2016-11-28 20:20
ArrayUtils.php
5.44
KB
-rw-r--r--
2016-11-28 20:20
CSSJanus.php
12.62
KB
-rw-r--r--
2010-09-21 22:11
CSSMin.php
15.02
KB
-rw-r--r--
2016-11-28 20:20
Cookie.php
5.41
KB
-rw-r--r--
2016-11-28 20:20
CookieJar.php
2.74
KB
-rw-r--r--
2016-11-28 20:20
CryptHKDF.php
8.78
KB
-rw-r--r--
2016-11-28 20:20
CryptRand.php
14.37
KB
-rw-r--r--
2016-11-28 20:20
DeferredStringifier.php
1.59
KB
-rw-r--r--
2016-11-28 20:20
ExplodeIterator.php
2.78
KB
-rw-r--r--
2016-11-28 20:20
GenericArrayObject.php
5.57
KB
-rw-r--r--
2016-11-28 20:20
HashRing.php
6.94
KB
-rw-r--r--
2016-11-28 20:20
HtmlArmor.php
1.39
KB
-rw-r--r--
2016-11-28 20:20
HttpStatus.php
3.14
KB
-rw-r--r--
2016-11-28 20:20
IEContentAnalyzer.php
25.06
KB
-rw-r--r--
2010-08-27 01:22
IEUrlExtension.php
9.02
KB
-rw-r--r--
2016-11-28 20:20
IP.php
22.32
KB
-rw-r--r--
2016-11-28 20:20
JavaScriptMinifier.php
22.24
KB
-rw-r--r--
2016-11-28 20:20
MWCryptHash.php
3.58
KB
-rw-r--r--
2016-11-28 20:20
MWMessagePack.php
5.63
KB
-rw-r--r--
2016-11-28 20:20
MapCacheLRU.php
3.88
KB
-rw-r--r--
2016-11-28 20:20
MappedIterator.php
3.3
KB
-rw-r--r--
2016-11-28 20:20
MemoizedCallable.php
4.68
KB
-rw-r--r--
2016-11-28 20:20
MessageSpecifier.php
1.21
KB
-rw-r--r--
2016-11-28 20:20
MultiHttpClient.php
15.25
KB
-rw-r--r--
2016-11-28 20:20
ObjectFactory.php
6.52
KB
-rw-r--r--
2016-11-28 20:20
ProcessCacheLRU.php
4.14
KB
-rw-r--r--
2016-11-28 20:20
README
237
B
-rw-r--r--
2016-11-28 20:20
ReplacementArray.php
2.22
KB
-rw-r--r--
2016-11-28 20:20
ReverseArrayIterator.php
2.01
KB
-rw-r--r--
2016-11-28 20:20
RiffExtractor.php
2.62
KB
-rw-r--r--
2016-11-28 20:20
StatusValue.php
8.84
KB
-rw-r--r--
2016-11-28 20:20
StringUtils.php
9.55
KB
-rw-r--r--
2016-11-28 20:20
Timing.php
5.91
KB
-rw-r--r--
2016-11-28 20:20
UDPTransport.php
3.07
KB
-rw-r--r--
2016-11-28 20:20
Xhprof.php
1.69
KB
-rw-r--r--
2016-11-28 20:20
XhprofData.php
10.68
KB
-rw-r--r--
2016-11-28 20:20
jsminplus.php
53.57
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * MessagePack serializer * * MessagePack is a space-efficient binary data interchange format. This * class provides a pack() method that encodes native PHP values as MessagePack * binary strings. The implementation is derived from msgpack-php. * * Copyright (c) 2013 Ori Livneh <ori@wikimedia.org> * Copyright (c) 2011 OnlineCity <https://github.com/onlinecity/msgpack-php>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * * @see <http://msgpack.org/> * @see <http://wiki.msgpack.org/display/MSGPACK/Format+specification> * * @since 1.23 * @file */ class MWMessagePack { /** @var bool|null Whether current system is bigendian. **/ public static $bigendian = null; /** * Encode a value using MessagePack * * This method supports null, boolean, integer, float, string and array * (both indexed and associative) types. Object serialization is not * supported. * * @param mixed $value * @return string * @throws InvalidArgumentException if $value is an unsupported type or too long a string */ public static function pack( $value ) { if ( self::$bigendian === null ) { self::$bigendian = pack( 'S', 1 ) === pack( 'n', 1 ); } switch ( gettype( $value ) ) { case 'NULL': return "\xC0"; case 'boolean': return $value ? "\xC3" : "\xC2"; case 'double': case 'float': return self::$bigendian ? "\xCB" . pack( 'd', $value ) : "\xCB" . strrev( pack( 'd', $value ) ); case 'string': $length = strlen( $value ); if ( $length < 32 ) { return pack( 'Ca*', 0xA0 | $length, $value ); } elseif ( $length <= 0xFFFF ) { return pack( 'Cna*', 0xDA, $length, $value ); } elseif ( $length <= 0xFFFFFFFF ) { return pack( 'CNa*', 0xDB, $length, $value ); } throw new InvalidArgumentException( __METHOD__ . ": string too long (length: $length; max: 4294967295)" ); case 'integer': if ( $value >= 0 ) { if ( $value <= 0x7F ) { // positive fixnum return chr( $value ); } if ( $value <= 0xFF ) { // uint8 return pack( 'CC', 0xCC, $value ); } if ( $value <= 0xFFFF ) { // uint16 return pack( 'Cn', 0xCD, $value ); } if ( $value <= 0xFFFFFFFF ) { // uint32 return pack( 'CN', 0xCE, $value ); } if ( $value <= 0xFFFFFFFFFFFFFFFF ) { // uint64 $hi = ( $value & 0xFFFFFFFF00000000 ) >> 32; $lo = $value & 0xFFFFFFFF; return self::$bigendian ? pack( 'CNN', 0xCF, $lo, $hi ) : pack( 'CNN', 0xCF, $hi, $lo ); } } else { if ( $value >= -32 ) { // negative fixnum return pack( 'c', $value ); } if ( $value >= -0x80 ) { // int8 return pack( 'Cc', 0xD0, $value ); } if ( $value >= -0x8000 ) { // int16 $p = pack( 's', $value ); return self::$bigendian ? pack( 'Ca2', 0xD1, $p ) : pack( 'Ca2', 0xD1, strrev( $p ) ); } if ( $value >= -0x80000000 ) { // int32 $p = pack( 'l', $value ); return self::$bigendian ? pack( 'Ca4', 0xD2, $p ) : pack( 'Ca4', 0xD2, strrev( $p ) ); } if ( $value >= -0x8000000000000000 ) { // int64 // pack() does not support 64-bit ints either so pack into two 32-bits $p1 = pack( 'l', $value & 0xFFFFFFFF ); $p2 = pack( 'l', ( $value >> 32 ) & 0xFFFFFFFF ); return self::$bigendian ? pack( 'Ca4a4', 0xD3, $p1, $p2 ) : pack( 'Ca4a4', 0xD3, strrev( $p2 ), strrev( $p1 ) ); } } throw new InvalidArgumentException( __METHOD__ . ": invalid integer '$value'" ); case 'array': $buffer = ''; $length = count( $value ); if ( $length > 0xFFFFFFFF ) { throw new InvalidArgumentException( __METHOD__ . ": array too long (length: $length, max: 4294967295)" ); } $index = 0; foreach ( $value as $k => $v ) { if ( $index !== $k || $index === $length ) { break; } else { $index++; } } $associative = $index !== $length; if ( $associative ) { if ( $length < 16 ) { $buffer .= pack( 'C', 0x80 | $length ); } elseif ( $length <= 0xFFFF ) { $buffer .= pack( 'Cn', 0xDE, $length ); } else { $buffer .= pack( 'CN', 0xDF, $length ); } foreach ( $value as $k => $v ) { $buffer .= self::pack( $k ); $buffer .= self::pack( $v ); } } else { if ( $length < 16 ) { $buffer .= pack( 'C', 0x90 | $length ); } elseif ( $length <= 0xFFFF ) { $buffer .= pack( 'Cn', 0xDC, $length ); } else { $buffer .= pack( 'CN', 0xDD, $length ); } foreach ( $value as $v ) { $buffer .= self::pack( $v ); } } return $buffer; default: throw new InvalidArgumentException( __METHOD__ . ': unsupported type ' . gettype( $value ) ); } } }