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 /
[ HOME SHELL ]
Name
Size
Permission
Action
adapters
[ DIR ]
drwxr-xr-x
providers
[ DIR ]
drwxr-xr-x
types
[ DIR ]
drwxr-xr-x
index.spec.ts
1.63
KB
-rw-r--r--
index.ts
1.54
KB
-rw-r--r--
settings.spec.ts
943
B
-rw-r--r--
settings.ts
809
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.spec.ts
import * as assert from 'assert'; import * as fs from 'fs'; import * as rimraf from 'rimraf'; import { stat, statSync, Settings } from '.'; describe('Package', () => { before(() => { rimraf.sync('fixtures'); fs.mkdirSync('fixtures'); fs.mkdirSync('fixtures/a'); fs.symlinkSync('a', 'fixtures/b', 'junction'); }); after(() => { rimraf.sync('fixtures'); }); describe('.stat', () => { it('should work without options or settings', (done) => { stat('fixtures/b', (error, stats) => { assert.strictEqual(error, null); assert.ok(stats); done(); }); }); it('should work with options', (done) => { stat('fixtures/b', { markSymbolicLink: true }, (error, stats) => { assert.strictEqual(error, null); assert.strictEqual(stats.isSymbolicLink(), true); done(); }); }); it('should work with settings', (done) => { const settings = new Settings({ markSymbolicLink: true }); stat('fixtures/b', settings, (error, stats) => { assert.strictEqual(error, null); assert.strictEqual(stats.isSymbolicLink(), true); done(); }); }); }); describe('.statSync', () => { it('should work without options or settings', () => { const actual = statSync('fixtures/b'); assert.ok(actual); }); it('should work with options', () => { const actual = statSync('fixtures/b', { markSymbolicLink: true }); assert.strictEqual(actual.isSymbolicLink(), true); }); it('should work with settings', () => { const settings = new Settings({ markSymbolicLink: true }); const actual = statSync('fixtures/b', settings); assert.strictEqual(actual.isSymbolicLink(), true); }); }); });
Close