__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

[email protected]: ~ $
<?php

namespace FG\ASN1;

use FG\Utility\BigInteger;
use InvalidArgumentException;

/**
 * A base-128 decoder.
 */
class Base128
{
    /**
     * @param int $value
     *
     * @return string
     */
    public static function encode($value)
    {
        $value = BigInteger::create($value);
        $octets = chr($value->modulus(0x80)->toInteger());

        $value = $value->shiftRight(7);
        while ($value->compare(0) > 0) {
            $octets .= chr(0x80 | $value->modulus(0x80)->toInteger());
            $value = $value->shiftRight(7);
        }

        return strrev($octets);
    }

    /**
     * @param string $octets
     *
     * @throws InvalidArgumentException if the given octets represent a malformed base-128 value or the decoded value would exceed the the maximum integer length
     *
     * @return int
     */
    public static function decode($octets)
    {
        $bitsPerOctet = 7;
        $value = BigInteger::create(0);
        $i = 0;

        while (true) {
            if (!isset($octets[$i])) {
                throw new InvalidArgumentException(sprintf('Malformed base-128 encoded value (0x%s).', strtoupper(bin2hex($octets)) ?: '0'));
            }

            $octet = ord($octets[$i++]);

            $l1 = $value->shiftLeft($bitsPerOctet);
            $r1 = $octet & 0x7f;
            $value = $l1->add($r1);

            if (0 === ($octet & 0x80)) {
                break;
            }
        }

        return (string)$value;
    }
}

Filemanager

Name Type Size Permission Actions
Composite Folder 0775
Exception Folder 0775
Universal Folder 0775
ASNObject.php File 12.84 KB 0664
AbstractString.php File 3.32 KB 0664
AbstractTime.php File 2.29 KB 0664
Base128.php File 1.45 KB 0664
Construct.php File 4.62 KB 0664
ExplicitlyTaggedObject.php File 4.21 KB 0664
Identifier.php File 10.57 KB 0664
OID.php File 53.26 KB 0664
Parsable.php File 1017 B 0664
TemplateParser.php File 1.87 KB 0664
UnknownConstructedObject.php File 1.39 KB 0664
UnknownObject.php File 1.27 KB 0664
Filemanager