!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/browser-sync/dist/cli/   drwxrwxr-x
Free 13.15 GB of 57.97 GB (22.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     command.recipe.js (1.89 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";
var logger = require("../logger").logger;
/**
 * $ browser-sync recipe <name> <options>
 *
 * This command will copy a recipe into either the current directory
 * or one given with the --output flag
 *
 * @param opts
 * @returns {Function}
 */
module.exports = function (opts) {
    var path = require("path");
    var fs = require("fs-extra");
    var input = opts.cli.input.slice(1);
    var resolved = require.resolve("bs-recipes");
    var dir = path.dirname(resolved);
    var logRecipes = function () {
        var dirs = fs.readdirSync(path.join(dir, "recipes"));
        logger.info("Install one of the following with {cyan:browser-sync recipe <name>\n");
        dirs.forEach(function (name) {
            console.log("    " + name);
        });
    };
    if (!input.length) {
        logger.info("No recipe name provided!");
        logRecipes();
        return opts.cb();
    }
    if (opts.cli.input[1] === "ls") {
        logRecipes();
        return opts.cb();
    }
    input = input[0];
    var flags = opts.cli.flags;
    var output = flags.output
        ? path.resolve(flags.output)
        : path.join(process.cwd(), input);
    var targetDir = path.join(dir, "recipes", input);
    if (fs.existsSync(output)) {
        return opts.cb(new Error("Target folder exists remove it first and then try again"));
    }
    if (fs.existsSync(targetDir)) {
        fs.copy(targetDir, output, function (err) {
            if (err) {
                opts.cb(err);
            }
            else {
                logger.info("Recipe copied into {cyan:%s}", output);
                logger.info("Next, inside that folder, run {cyan:npm i && npm start}");
                opts.cb(null);
            }
        });
    }
    else {
        logger.info("Recipe {cyan:%s} not found. The following are available though", input);
        logRecipes();
        opts.cb();
    }
};
//# sourceMappingURL=command.recipe.js.map

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0049 ]--