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 /
js-git /
mixins /
[ HOME SHELL ]
Name
Size
Permission
Action
add-cache.js
1.59
KB
-rw-rw-r--
create-tree.js
3.84
KB
-rw-rw-r--
delay.js
1.43
KB
-rw-rw-r--
fall-through.js
811
B
-rw-rw-r--
formats.js
3.55
KB
-rw-rw-r--
fs-db.js
10.3
KB
-rw-rw-r--
indexed-db.js
3.84
KB
-rw-rw-r--
mem-cache.js
1.54
KB
-rw-rw-r--
mem-db.js
2.24
KB
-rw-rw-r--
pack-ops.js
5.8
KB
-rw-rw-r--
path-to-entry.js
1.23
KB
-rw-rw-r--
read-combiner.js
761
B
-rw-rw-r--
sync.js
4.11
KB
-rw-rw-r--
walkers.js
3.82
KB
-rw-rw-r--
websql-db.js
4.38
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create-tree.js
"use strict"; var modes = require('../lib/modes.js'); module.exports = function (repo) { repo.createTree = createTree; function createTree(entries, callback) { if (!callback) return createTree.bind(null, entries); callback = singleCall(callback); if (!Array.isArray(entries)) { entries = Object.keys(entries).map(function (path) { var entry = entries[path]; entry.path = path; return entry; }); } // Tree paths that we need loaded var toLoad = {}; function markTree(path) { while(true) { if (toLoad[path]) return; toLoad[path] = true; trees[path] = { add: [], del: [], tree: {} }; if (!path) break; path = path.substring(0, path.lastIndexOf("/")); } } // Commands to run organized by tree path var trees = {}; // Counter for parallel I/O operations var left = 1; // One extra counter to protect again zalgo cache callbacks. // First pass, stubs out the trees structure, sorts adds from deletes, // and saves any inline content blobs. entries.forEach(function (entry) { var index = entry.path.lastIndexOf("/"); var parentPath = entry.path.substr(0, index); var name = entry.path.substr(index + 1); markTree(parentPath); var tree = trees[parentPath]; var adds = tree.add; var dels = tree.del; if (!entry.mode) { dels.push(name); return; } var add = { name: name, mode: entry.mode, hash: entry.hash }; adds.push(add); if (entry.hash) return; left++; repo.saveAs("blob", entry.content, function (err, hash) { if (err) return callback(err); add.hash = hash; check(); }); }); // Preload the base trees if (entries.base) loadTree("", entries.base); // Check just in case there was no IO to perform check(); function loadTree(path, hash) { left++; delete toLoad[path]; repo.loadAs("tree", hash, function (err, tree) { if (err) return callback(err); trees[path].tree = tree; Object.keys(tree).forEach(function (name) { var childPath = path ? path + "/" + name : name; if (toLoad[childPath]) loadTree(childPath, tree[name].hash); }); check(); }); } function check() { if (--left) return; findLeaves().forEach(processLeaf); } function processLeaf(path) { var entry = trees[path]; delete trees[path]; var tree = entry.tree; entry.del.forEach(function (name) { delete tree[name]; }); entry.add.forEach(function (item) { tree[item.name] = { mode: item.mode, hash: item.hash }; }); left++; repo.saveAs("tree", tree, function (err, hash, tree) { if (err) return callback(err); if (!path) return callback(null, hash, tree); var index = path.lastIndexOf("/"); var parentPath = path.substring(0, index); var name = path.substring(index + 1); trees[parentPath].add.push({ name: name, mode: modes.tree, hash: hash }); if (--left) return; findLeaves().forEach(processLeaf); }); } function findLeaves() { var paths = Object.keys(trees); var parents = {}; paths.forEach(function (path) { if (!path) return; var parent = path.substring(0, path.lastIndexOf("/")); parents[parent] = true; }); return paths.filter(function (path) { return !parents[path]; }); } } }; function singleCall(callback) { var done = false; return function () { if (done) return console.warn("Discarding extra callback"); done = true; return callback.apply(this, arguments); }; }
Close