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.13
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 /
fast-glob /
out /
readers /
[ HOME SHELL ]
Name
Size
Permission
Action
reader.d.ts
714
B
-rw-r--r--
reader.js
1.04
KB
-rw-r--r--
reader.spec.d.ts
11
B
-rw-r--r--
reader.spec.js
1.98
KB
-rw-r--r--
stream.d.ts
566
B
-rw-r--r--
stream.js
1.83
KB
-rw-r--r--
stream.spec.d.ts
11
B
-rw-r--r--
stream.spec.js
4.14
KB
-rw-r--r--
sync.d.ts
506
B
-rw-r--r--
sync.js
1.3
KB
-rw-r--r--
sync.spec.d.ts
11
B
-rw-r--r--
sync.spec.js
3.47
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reader.spec.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const assert = require("assert"); const path = require("path"); const fs_macchiato_1 = require("@nodelib/fs.macchiato"); const settings_1 = require("../settings"); const reader_1 = require("./reader"); class TestReader extends reader_1.default { constructor(options) { super(new settings_1.default(options)); } dynamic() { return []; } static() { return []; } getFullEntryPath(filepath) { return this._getFullEntryPath(filepath); } makeEntry(stats, pattern) { return this._makeEntry(stats, pattern); } } function getReader(options) { return new TestReader(options); } describe('Readers → Reader', () => { describe('Constructor', () => { it('should create instance of class', () => { const reader = getReader(); assert.ok(reader instanceof TestReader); }); }); describe('.getFullEntryPath', () => { it('should return path to entry', () => { const reader = getReader(); const expected = path.join(process.cwd(), 'config.json'); const actual = reader.getFullEntryPath('config.json'); assert.strictEqual(actual, expected); }); }); describe('.makeEntry', () => { it('should return created entry', () => { const reader = getReader(); const pattern = 'config.json'; const actual = reader.makeEntry(new fs_macchiato_1.Stats(), pattern); assert.strictEqual(actual.name, pattern); assert.strictEqual(actual.path, pattern); assert.ok(actual.dirent.isFile()); }); it('should return created entry with fs.Stats', () => { const reader = getReader({ stats: true }); const pattern = 'config.json'; const actual = reader.makeEntry(new fs_macchiato_1.Stats(), pattern); assert.ok(actual.stats); }); }); });
Close