Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
@nodelib /
fs.scandir /
out /
[ HOME SHELL ]
Name
Size
Permission
Action
adapters
[ DIR ]
drwxr-xr-x
providers
[ DIR ]
drwxr-xr-x
types
[ DIR ]
drwxr-xr-x
utils
[ DIR ]
drwxr-xr-x
constants.d.ts
161
B
-rw-r--r--
constants.d.ts.map
155
B
-rw-r--r--
constants.js
764
B
-rw-r--r--
index.d.ts
786
B
-rw-r--r--
index.d.ts.map
839
B
-rw-r--r--
index.js
1
KB
-rw-r--r--
index.spec.d.ts
52
B
-rw-r--r--
index.spec.d.ts.map
114
B
-rw-r--r--
index.spec.js
2.64
KB
-rw-r--r--
settings.d.ts
730
B
-rw-r--r--
settings.d.ts.map
739
B
-rw-r--r--
settings.js
1.07
KB
-rw-r--r--
settings.spec.d.ts
55
B
-rw-r--r--
settings.spec.d.ts.map
120
B
-rw-r--r--
settings.spec.js
1.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.spec.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const assert = require("assert"); const fs = require("fs"); const rimraf = require("rimraf"); const _1 = require("."); describe('Package', () => { before(() => { rimraf.sync('fixtures'); fs.mkdirSync('fixtures'); fs.writeFileSync('fixtures/file.txt', ''); }); after(() => { rimraf.sync('fixtures'); }); describe('.scandir', () => { it('should work without options or settings', (done) => { _1.scandir('fixtures', (error, entries) => { assert.strictEqual(error, null); assert.ok(entries[0].name); assert.ok(entries[0].path); assert.ok(entries[0].dirent); done(); }); }); it('should work with options', (done) => { _1.scandir('fixtures', { stats: true }, (error, entries) => { assert.strictEqual(error, null); assert.ok(entries[0].name); assert.ok(entries[0].path); assert.ok(entries[0].dirent); assert.ok(entries[0].stats); done(); }); }); it('should work with settings', (done) => { const settings = new _1.Settings({ stats: true }); _1.scandir('fixtures', settings, (error, entries) => { assert.strictEqual(error, null); assert.ok(entries[0].name); assert.ok(entries[0].path); assert.ok(entries[0].dirent); assert.ok(entries[0].stats); done(); }); }); }); describe('.scandirSync', () => { it('should work without options or settings', () => { const actual = _1.scandirSync('fixtures'); assert.ok(actual[0].name); assert.ok(actual[0].path); assert.ok(actual[0].dirent); }); it('should work with options', () => { const actual = _1.scandirSync('fixtures', { stats: true }); assert.ok(actual[0].name); assert.ok(actual[0].path); assert.ok(actual[0].dirent); assert.ok(actual[0].stats); }); it('should work with settings', () => { const settings = new _1.Settings({ stats: true }); const actual = _1.scandirSync('fixtures', settings); assert.ok(actual[0].name); assert.ok(actual[0].path); assert.ok(actual[0].dirent); assert.ok(actual[0].stats); }); }); });
Close