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 /
@nodelib /
fs.walk /
src /
readers /
[ HOME SHELL ]
Name
Size
Permission
Action
async.spec.ts
6.62
KB
-rw-r--r--
async.ts
3.13
KB
-rw-r--r--
common.spec.ts
3.3
KB
-rw-r--r--
common.ts
852
B
-rw-r--r--
reader.spec.ts
762
B
-rw-r--r--
reader.ts
287
B
-rw-r--r--
sync.spec.ts
3.97
KB
-rw-r--r--
sync.ts
1.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reader.spec.ts
import * as assert from 'assert'; import * as path from 'path'; import Settings, { Options } from '../settings'; import Reader from './reader'; class TestReader extends Reader { public get root(): string { return this._root; } } function getReader(root: string, options: Options = {}): TestReader { return new TestReader(root, new Settings(options)); } describe('Readers → Reader', () => { describe('Constructor', () => { it('should return root path with replaced path segment separators', () => { const root = path.join('directory', 'file.txt'); const reader = getReader(root, { pathSegmentSeparator: '_' }); const expected = 'directory_file.txt'; const actual = reader.root; assert.strictEqual(actual, expected); }); }); });
Close