!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/sync/node_modules/buffer-more-ints/   drwxr-xr-x
Free 13.29 GB of 57.97 GB (22.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     polyfill.js (2.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'use strict';

var bmi = require('./buffer-more-ints');

Buffer.isContiguousInt = bmi.isContiguousInt;
Buffer.assertContiguousInt = bmi.assertContiguousInt;

['UInt', 'Int'].forEach(function (signed) {
    ['24', '40', '48', '56', '64'].forEach(function (size) {
        ['BE', 'LE'].forEach(function (endian) {
            var read = 'read' + signed + size + endian;
            var reader = bmi[read];
            Buffer.prototype[read] = function(offset) {
                return reader(this, offset);
            };
            var write = 'write' + signed + size + endian;
            var writer = bmi[write];
            Buffer.prototype[write] = function(val, offset) {
                writer(this, val, offset);
            };
        });
    });
});

// Buffer.prototype.read{UInt,Int}8 returns undefined if the offset is
// outside of the buffer, unlike for other widths.  These functions
// make it consistent with the others.
var consistent_readX8 = {
    readUInt8: function (offset) {
        return this.readUInt8(offset) || 0;
    },
    readInt8: function (offset) {
        return this.readInt8(offset) || 0;
    }
};

function make_accessor(read, prefix, suffix) {
    var accessors = [false,
                    (read ? consistent_readX8 : Buffer.prototype)[prefix + 8]];

    for (var i = 16; i <= 64; i += 8) {
        accessors.push(Buffer.prototype[prefix + i + suffix]);
    }

    if (read) {
        Buffer.prototype[prefix + suffix] = function (len, offset) {
            var reader = accessors[len];
            if (reader) {
                return reader.call(this, offset);
            } else {
                throw new Error("Cannot read integer of length " + len);
            }
        };
    } else {
        Buffer.prototype[prefix + suffix] = function (len, val, offset) {
            var writer = accessors[len];
            if (writer) {
                return writer.call(this, val, offset);
            } else {
                throw new Error("Cannot write integer of length " + len);
            }
        }
    }
}

['UInt', 'Int'].forEach(function (t) {
    ['BE', 'LE'].forEach(function (e) {
        make_accessor(true, "read" + t, e);
        make_accessor(false, "write" + t, e);
    });
});

:: 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.0041 ]--