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 | : 52.15.70.136
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
/
lib /
node_modules /
npm /
node_modules /
npm-audit-report /
reporters /
[ HOME SHELL ]
Name
Size
Permission
Action
detail.js
6.38
KB
-rw-r--r--
install.js
1.61
KB
-rw-r--r--
json.js
284
B
-rw-r--r--
parseable.js
2.95
KB
-rw-r--r--
quiet.js
265
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : parseable.js
'use strict' const report = function (data, options) { const defaults = { severityThreshold: 'info' } const config = Object.assign({}, defaults, options) let exit = 0 const actions = function (data, config) { let accumulator = { critical: '', high: '', moderate: '', low: '' } if (Object.keys(data.advisories).length !== 0) { data.actions.forEach((action) => { let l = {} // Start with install/update actions if (action.action === 'update' || action.action === 'install') { const recommendation = getRecommendation(action, config) l.recommendation = recommendation.cmd l.breaking = recommendation.isBreaking ? 'Y' : 'N' action.resolves.forEach((resolution) => { const advisory = data.advisories[resolution.id] l.sevLevel = advisory.severity l.severity = advisory.title l.package = advisory.module_name l.moreInfo = advisory.url || `https://www.npmjs.com/advisories/${advisory.id}` l.path = resolution.path accumulator[advisory.severity] += [action.action, l.package, l.sevLevel, l.recommendation, l.severity, l.moreInfo, l.path, l.breaking] .join('\t') + '\n' }) // forEach resolves } if (action.action === 'review') { action.resolves.forEach((resolution) => { const advisory = data.advisories[resolution.id] l.sevLevel = advisory.severity l.severity = advisory.title l.package = advisory.module_name l.moreInfo = advisory.url || `https://www.npmjs.com/advisories/${advisory.id}` l.patchedIn = advisory.patched_versions.replace(' ', '') === '<0.0.0' ? 'No patch available' : advisory.patched_versions l.path = resolution.path accumulator[advisory.severity] += [action.action, l.package, l.sevLevel, l.patchedIn, l.severity, l.moreInfo, l.path].join('\t') + '\n' }) // forEach resolves } // is review }) // forEach actions } return accumulator['critical'] + accumulator['high'] + accumulator['moderate'] + accumulator['low'] } const exitCode = function (metadata) { let total = 0 const keys = Object.keys(metadata.vulnerabilities) for (let key of keys) { const value = metadata.vulnerabilities[key] total = total + value } if (total > 0) { exit = 1 } } exitCode(data.metadata) return { report: actions(data, config), exitCode: exit } } const getRecommendation = function (action, config) { if (action.action === 'install') { const isDev = action.resolves[0].dev return { cmd: `npm install ${isDev ? '--save-dev ' : ''}${action.module}@${action.target}`, isBreaking: action.isMajor } } else { return { cmd: `npm update ${action.module} --depth ${action.depth}`, isBreaking: false } } } module.exports = report
Close