Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
amatya /
quiz1 /
node_modules /
bfj /
test /
unit /
[ HOME SHELL ]
Name
Size
Permission
Action
datastream.js
2.11
KB
-rw-rw-rw-
error.js
1.76
KB
-rw-rw-rw-
eventify.js
61.83
KB
-rw-rw-rw-
jsonstream.js
2.11
KB
-rw-rw-rw-
match.js
39.34
KB
-rw-rw-rw-
parse.js
34.38
KB
-rw-rw-rw-
read.js
2.65
KB
-rw-rw-rw-
streamify.js
33.71
KB
-rw-rw-rw-
stringify.js
4.98
KB
-rw-rw-rw-
unpipe.js
3
KB
-rw-rw-rw-
walk.js
84.67
KB
-rw-rw-rw-
write.js
6.76
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : error.js
'use strict' const assert = require('chai').assert const modulePath = '../../src/error' suite('error:', () => { let log setup(() => { log = {} }) test('require does not throw', () => { assert.doesNotThrow(() => { require(modulePath) }) }) test('require returns object', () => { assert.isObject(require(modulePath)) }) suite('require:', () => { let error setup(() => { error = require(modulePath) }) test('error has create method', () => { assert.isFunction(error.create) }) test('error has no other methods', () => { assert.lengthOf(Object.keys(error), 1) }) test('create expects four arguments', () => { assert.lengthOf(error.create, 4) }) test('create does not throw', () => { assert.doesNotThrow(() => { error.create() }) }) test('create returns Error', () => { assert.instanceOf(error.create(), Error) }) suite('create:', () => { let created setup(() => { created = error.create('foo', 'bar', 'baz', 'qux') }) test('created has correct actual property', () => { assert.strictEqual(created.actual, 'foo') }) test('created has correct expected property', () => { assert.strictEqual(created.expected, 'bar') }) test('created has correct lineNumber property', () => { assert.strictEqual(created.lineNumber, 'baz') }) test('created has correct columnNumber property', () => { assert.strictEqual(created.columnNumber, 'qux') }) test('created has correct message property', () => { assert.strictEqual(created.message, 'JSON error: encountered `foo` at line baz, column qux where `bar` was expected.') }) }) }) })
Close