Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.28.86
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
glob-stream /
Delete
Unzip
Name
Size
Permission
Date
Action
node_modules
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
LICENSE
1.14
KB
-rwxrwxr-x
2022-08-30 11:49
README.md
4.38
KB
-rw-rw-r--
2022-08-30 11:49
index.js
2.31
KB
-rw-rw-r--
2022-08-30 11:49
package.json
1.42
KB
-rw-rw-r--
2022-08-30 11:49
readable.js
2.62
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
'use strict'; var Combine = require('ordered-read-streams'); var unique = require('unique-stream'); var pumpify = require('pumpify'); var isNegatedGlob = require('is-negated-glob'); var extend = require('extend'); var GlobStream = require('./readable'); function globStream(globs, opt) { if (!opt) { opt = {}; } var ourOpt = extend({}, opt); var ignore = ourOpt.ignore; ourOpt.cwd = typeof ourOpt.cwd === 'string' ? ourOpt.cwd : process.cwd(); ourOpt.dot = typeof ourOpt.dot === 'boolean' ? ourOpt.dot : false; ourOpt.silent = typeof ourOpt.silent === 'boolean' ? ourOpt.silent : true; ourOpt.cwdbase = typeof ourOpt.cwdbase === 'boolean' ? ourOpt.cwdbase : false; ourOpt.uniqueBy = typeof ourOpt.uniqueBy === 'string' || typeof ourOpt.uniqueBy === 'function' ? ourOpt.uniqueBy : 'path'; if (ourOpt.cwdbase) { ourOpt.base = ourOpt.cwd; } // Normalize string `ignore` to array if (typeof ignore === 'string') { ignore = [ignore]; } // Ensure `ignore` is an array if (!Array.isArray(ignore)) { ignore = []; } // Only one glob no need to aggregate if (!Array.isArray(globs)) { globs = [globs]; } var positives = []; var negatives = []; globs.forEach(sortGlobs); function sortGlobs(globString, index) { if (typeof globString !== 'string') { throw new Error('Invalid glob at index ' + index); } var glob = isNegatedGlob(globString); var globArray = glob.negated ? negatives : positives; globArray.push({ index: index, glob: glob.pattern, }); } if (positives.length === 0) { throw new Error('Missing positive glob'); } // Create all individual streams var streams = positives.map(streamFromPositive); // Then just pipe them to a single unique stream and return it var aggregate = new Combine(streams); var uniqueStream = unique(ourOpt.uniqueBy); return pumpify.obj(aggregate, uniqueStream); function streamFromPositive(positive) { var negativeGlobs = negatives .filter(indexGreaterThan(positive.index)) .map(toGlob) .concat(ignore); return new GlobStream(positive.glob, negativeGlobs, ourOpt); } } function indexGreaterThan(index) { return function(obj) { return obj.index > index; }; } function toGlob(obj) { return obj.glob; } module.exports = globStream;