!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/sites/node_modules/@aws-sdk/util-stream-browser/dist-es/   drwxr-xr-x
Free 13.32 GB of 57.97 GB (22.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     getAwsChunkedEncodingStream.js (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { __awaiter, __generator } from "tslib";
export var getAwsChunkedEncodingStream = function (readableStream, options) {
    var base64Encoder = options.base64Encoder, bodyLengthChecker = options.bodyLengthChecker, checksumAlgorithmFn = options.checksumAlgorithmFn, checksumLocationName = options.checksumLocationName, streamHasher = options.streamHasher;
    var checksumRequired = base64Encoder !== undefined &&
        bodyLengthChecker !== undefined &&
        checksumAlgorithmFn !== undefined &&
        checksumLocationName !== undefined &&
        streamHasher !== undefined;
    var digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
    var reader = readableStream.getReader();
    return new ReadableStream({
        pull: function (controller) {
            return __awaiter(this, void 0, void 0, function () {
                var _a, value, done, checksum, _b;
                return __generator(this, function (_c) {
                    switch (_c.label) {
                        case 0: return [4, reader.read()];
                        case 1:
                            _a = _c.sent(), value = _a.value, done = _a.done;
                            if (!done) return [3, 4];
                            controller.enqueue("0\r\n");
                            if (!checksumRequired) return [3, 3];
                            _b = base64Encoder;
                            return [4, digest];
                        case 2:
                            checksum = _b.apply(void 0, [_c.sent()]);
                            controller.enqueue("".concat(checksumLocationName, ":").concat(checksum, "\r\n"));
                            controller.enqueue("\r\n");
                            _c.label = 3;
                        case 3:
                            controller.close();
                            return [3, 5];
                        case 4:
                            controller.enqueue("".concat((bodyLengthChecker(value) || 0).toString(16), "\r\n").concat(value, "\r\n"));
                            _c.label = 5;
                        case 5: return [2];
                    }
                });
            });
        },
    });
};

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0049 ]--