Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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
/
var /
www /
html /
events /
node_modules /
cliff /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
cliff-test.js
2.17
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cliff-test.js
/* * log-test.js: Tests for cliff. * * (C) 2010, Charlie Robbins & the Contributors * */ var assert = require('assert'), vows = require('vows'), eyes = require('eyes'), cliff = require('../lib/cliff'); vows.describe('cliff').addBatch({ "When using cliff module": { "the columnMajor() method": { "should respond with rows in column major form": function () { var columns, rows = [ ["1a", "2a", "3a", "4a"], ["1b", "2b", "3b", "4b"], ["1c", "2c", "3c", "4c"] ]; columns = cliff.columnMajor(rows); for (var i = 0; i < columns.length; i++) { columns[i].forEach(function (val) { assert.isTrue(val.indexOf(i + 1) !== -1); }); } } }, "the arrayLengths() method": { "with a set of strings": { "should respond with a list of the longest elements": function () { var lengths, rows = [ ["1a", "2a", "3a", "4a"], ["1b", "2bb", "3b", "4b"], ["1c", "2c", "3ccc", "4c"], ["1d", "2d", "3dd", "4dddd"] ]; lengths = cliff.arrayLengths(rows); assert.equal(lengths[0], 2); assert.equal(lengths[1], 3); assert.equal(lengths[2], 4); assert.equal(lengths[3], 5); } }, "with a set of numbers and strings": { "should respond with a list of the longest elements": function () { var lengths, rows = [ [11, "2a", "3a", "4a"], ["1b", 222, "3b", "4b"], ["1c", "2c", 3333, "4c"], ["1d", "2d", "3dd", 44444] ]; lengths = cliff.arrayLengths(rows); assert.equal(lengths[0], 2); assert.equal(lengths[1], 3); assert.equal(lengths[2], 4); assert.equal(lengths[3], 5); } } }, "the stringifyRows() method": { "should calculate padding correctly for numbers": function() { var rows = [ ['a', 'b'], [12345, 1] ]; assert.equal( cliff.stringifyRows(rows), 'a b \n12345 1 ' ); } } } }).export(module);
Close