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 /
providers /
filters /
[ HOME SHELL ]
Name
Size
Permission
Action
deep.d.ts
660
B
-rw-r--r--
deep.js
2.41
KB
-rw-r--r--
deep.spec.d.ts
11
B
-rw-r--r--
deep.spec.js
6.4
KB
-rw-r--r--
entry.d.ts
656
B
-rw-r--r--
entry.js
2.19
KB
-rw-r--r--
entry.spec.d.ts
11
B
-rw-r--r--
entry.spec.js
7.54
KB
-rw-r--r--
error.d.ts
265
B
-rw-r--r--
error.js
441
B
-rw-r--r--
error.spec.d.ts
11
B
-rw-r--r--
error.spec.js
1.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : error.spec.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const assert = require("assert"); const settings_1 = require("../../settings"); const tests = require("../../tests"); const error_1 = require("./error"); function getErrorFilterInstance(options) { const settings = new settings_1.default(options); return new error_1.default(settings); } function getFilter(options) { return getErrorFilterInstance(options).getFilter(); } describe('Providers → Filters → Error', () => { describe('Constructor', () => { it('should create instance of class', () => { const filter = getErrorFilterInstance(); assert.ok(filter instanceof error_1.default); }); }); describe('.getFilter', () => { it('should return true for ENOENT error', () => { const filter = getFilter(); const actual = filter(tests.errno.getEnoent()); assert.ok(actual); }); it('should return true for EPERM error when the `suppressErrors` options is enabled', () => { const filter = getFilter({ suppressErrors: true }); const actual = filter(tests.errno.getEperm()); assert.ok(actual); }); it('should return false for EPERM error', () => { const filter = getFilter(); const actual = filter(tests.errno.getEperm()); assert.ok(!actual); }); }); });
Close