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.22.202
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 /
.bin /
Delete
Unzip
Name
Size
Permission
Date
Action
acorn
62
B
-rwxrwxr-x
2022-08-30 11:49
atob
122
B
-rwxrwxr-x
2022-08-30 11:49
autoprefixer
554
B
-rwxrwxr-x
2022-08-30 11:49
babylon
341
B
-rwxrwxr-x
2022-08-30 11:49
browser-sync
7.19
KB
-rwxrwxr-x
2022-08-30 11:49
browserslist
4.06
KB
-rwxrwxr-x
2022-08-30 11:49
color-support
127
B
-rwxrwxr-x
2022-08-30 11:49
cssbeautify
2.47
KB
-rwxrwxr-x
2022-08-30 11:49
csso
292
B
-rwxrwxr-x
2022-08-30 11:49
dev-ip
896
B
-rwxrwxr-x
2022-08-30 11:49
errno
440
B
-rwxrwxr-x
2022-08-30 11:49
esparse
4.83
KB
-rwxrwxr-x
2022-08-30 11:49
esvalidate
7.56
KB
-rwxrwxr-x
2022-08-30 11:49
gulp
44
B
-rwxrwxr-x
2022-08-30 11:49
handlebars
4.14
KB
-rwxrwxr-x
2022-08-30 11:49
is-docker
105
B
-rwxrwxr-x
2022-08-30 11:49
js-yaml
2.66
KB
-rwxrwxr-x
2022-08-30 11:49
jsesc
3.74
KB
-rwxrwxr-x
2022-08-30 11:49
json5
3.51
KB
-rwxrwxr-x
2022-08-30 11:49
loose-envify
356
B
-rwxrwxr-x
2022-08-30 11:49
lt
2.73
KB
-rwxrwxr-x
2022-08-30 11:49
marked
4.16
KB
-rwxrwxr-x
2022-08-30 11:49
mime
149
B
-rwxrwxr-x
2022-08-30 11:49
mkdirp
731
B
-rwxrwxr-x
2022-08-30 11:49
nanoid
1.1
KB
-rwxrwxr-x
2022-08-30 11:49
node-which
985
B
-rwxrwxr-x
2022-08-30 11:49
nopt
1.51
KB
-rwxrwxr-x
2022-08-30 11:49
panini
1.26
KB
-rwxrwxr-x
2022-08-30 11:49
parser
328
B
-rwxrwxr-x
2022-08-30 11:49
regjsparser
1.74
KB
-rwxrwxr-x
2022-08-30 11:49
resolve
1.44
KB
-rwxrwxr-x
2022-08-30 11:49
rimraf
1.83
KB
-rwxrwxr-x
2022-08-30 11:49
sass
196
B
-rwxrwxr-x
2022-08-30 11:49
semver
4.61
KB
-rwxrwxr-x
2022-08-30 11:49
svgo
55
B
-rwxrwxr-x
2022-08-30 11:49
terser
444
B
-rwxrwxr-x
2022-08-30 11:49
throttleproxy
2.16
KB
-rwxrwxr-x
2022-08-30 11:49
uglifyjs
22.92
KB
-rwxrwxr-x
2022-08-30 11:49
uuid
44
B
-rwxrwxr-x
2022-08-30 11:49
webpack
3.81
KB
-rwxrwxr-x
2022-08-30 11:49
Save
Rename
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BsErrorTypes = exports.BsErrorLevels = void 0; const startOpts = require("../cli-options/opts.start.json"); const reloadOpts = require("../cli-options/opts.reload.json"); const recipeOpts = require("../cli-options/opts.recipe.json"); const pkg = require("../package.json"); const utils = require("./utils"); const path_1 = require("path"); const fs_1 = require("fs"); const logger_1 = require("./logger"); const eazy_logger_1 = require("eazy-logger"); const cli_options_1 = require("./cli/cli-options"); var BsErrorLevels; (function (BsErrorLevels) { BsErrorLevels["Fatal"] = "Fatal"; })(BsErrorLevels = exports.BsErrorLevels || (exports.BsErrorLevels = {})); var BsErrorTypes; (function (BsErrorTypes) { BsErrorTypes["PathNotFound"] = "PathNotFound"; BsErrorTypes["HostAndListenIncompatible"] = "HostAndListenIncompatible"; })(BsErrorTypes = exports.BsErrorTypes || (exports.BsErrorTypes = {})); /** * Handle cli input */ if (!module.parent) { runFromCli(); } function freshYargs() { return require("yargs")(process.argv.slice(2)); } function runFromCli() { const yargs = freshYargs() .command("start", "Start the server") .command("init", "Create a configuration file") .command("reload", "Send a reload event over HTTP protocol") .command("recipe", "Generate the files for a recipe") .version(pkg.version) .help(false) .epilogue([ "For help running a certain command, type <command> --help", " $0 start --help", "", "You can run a static server by providing a path(s) directly", " $0 app/src app/tmp", "", "If the directory contains a 'index.html' file, you can omit any input", " $0", "", "You can run the proxy in this manner too", " $0 https://example.com", "", "To run a proxy, whilst also serving static files", (0, eazy_logger_1.compile)(" $0 https://example.com htdocs/themes/example") ].join("\n")); const argv = yargs.argv; const input = argv._; const command = input[0]; const valid = ["start", "init", "reload", "recipe"]; if (valid.indexOf(command) > -1) { return handleIncoming(command, freshYargs()); } if (input.length) { return handleNoCommand(argv, input, freshYargs()); } if ((0, fs_1.existsSync)("index.html")) { return handleNoCommand(argv, ["."], freshYargs()); } yargs.showHelp(); } /** * Feature: If no command was specified, try to do the 'right thing' * * If paths were given, start the server * eg: browser-sync app/code app/design * is equal to: browser-sync start --server app/code app/design * * eg: browser-sync http://example.com * is equal to: browser-sync start --proxy http://example.com * * eg: browser-sync http://example.com themes/example * is equal to: browser-sync start --proxy http://example.com --ss themes/example * * @param argv * @param input * @returns {any} */ function handleNoCommand(argv, input, yargs) { const processed = processStart(yargs); const paths = input.map(path => { const resolved = (0, path_1.resolve)(path); const isUrl = /^https?:\/\//.test(path); return { isUrl, userInput: path, resolved, errors: isUrl ? [] : pathErrors(path, resolved) }; }); const withErrors = paths.filter(item => item.errors.length); const withoutErrors = paths.filter(item => item.errors.length === 0); if (withErrors.length) { withErrors.forEach(item => { logger_1.logger.unprefixed("error", (0, cli_options_1.printErrors)(item.errors)); }); return process.exit(1); } const serveStaticPaths = withoutErrors .filter(item => item.isUrl === false) .map(item => item.resolved); const urls = withoutErrors .filter(item => item.isUrl === true) .map(item => item.userInput); /** * If a URL was given, switch to proxy mode and use * any other paths as serveStatic options */ if (urls.length) { const proxy = urls[0]; const config = Object.assign(Object.assign({}, processed), { proxy, serveStatic: serveStaticPaths }); return handleCli({ cli: { flags: config, input: ["start"] } }); } /** * if NO urls were given switch directly to server mode * @type {{server: {baseDir: any}}} */ const config = Object.assign(Object.assign({}, processed), { server: { baseDir: serveStaticPaths } }); return handleCli({ cli: { flags: config, input: ["start"] } }); } /** * @param {{cli: object, [whitelist]: array, [cb]: function}} opts * @returns {*} */ function handleCli(opts) { opts.cb = opts.cb || utils.defaultCallback; const m = require(`./cli/command.${opts.cli.input[0]}`); if (m.default) { return m.default(opts); } return m(opts); } exports.default = handleCli; function processStart(yargs) { return yargs .usage("Usage: $0 start [options]") .options(startOpts) .example("$0 start -s app", "- Use the App directory to serve files") .example("$0 start -p www.bbc.co.uk", "- Proxy an existing website") .default("cwd", () => process.cwd()) .argv; } /** * @param {string} command * @param {object} yargs * @param cwd */ function handleIncoming(command, yargs) { let out; if (command === "start") { out = processStart(yargs); } if (command === "init") { out = yargs .usage("Usage: $0 init") .example("$0 init") .default("cwd", () => process.cwd()) .help().argv; } if (command === "reload") { out = yargs .usage("Usage: $0 reload") .options(reloadOpts) .example("$0 reload") .example("$0 reload --port 4000") .default("cwd", () => process.cwd()) .argv; } if (command === "recipe") { out = yargs .usage("Usage: $0 recipe <recipe-name>") .option(recipeOpts) .example("$0 recipe ls", "list the recipes") .example("$0 recipe gulp.sass", "use the gulp.sass recipe") .default("cwd", () => process.cwd()) .argv; } if (out.help) { return yargs.showHelp(); } handleCli({ cli: { flags: out, input: out._ } }); } function pathErrors(input, resolved) { if (!(0, fs_1.existsSync)(resolved)) { return [ { type: BsErrorTypes.PathNotFound, level: BsErrorLevels.Fatal, errors: [ { error: new Error(`Path not found: ${input}`), meta() { return [ `Your Input: {yellow:${input}}`, `CWD: {yellow:${process.cwd()}}`, `Resolved to: {yellow:${resolved}}` ]; } } ] } ]; } return []; } //# sourceMappingURL=bin.js.map