!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/lib/node_modules/npm/lib/search/   drwxr-xr-x
Free 295.66 GB of 429.69 GB (68.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     all-package-search.js (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var ms = require('mississippi')
var allPackageMetadata = require('./all-package-metadata')
var packageFilter = require('./package-filter.js')

module.exports = allPackageSearch
function allPackageSearch (opts) {
  var searchSection = (opts.unicode ? '🤔 ' : '') + 'search'

  // Get a stream with *all* the packages. This takes care of dealing
  // with the local cache as well, but that's an internal detail.
  var allEntriesStream = allPackageMetadata(opts)

  // Grab a stream that filters those packages according to given params.
  var filterStream = streamFilter(function (pkg) {
    opts.log.gauge.pulse('search')
    opts.log.gauge.show({section: searchSection, logline: 'scanning ' + pkg.name})
    // Simply 'true' if the package matches search parameters.
    var match = packageFilter(pkg, opts.include, opts.exclude, {
      description: opts.description
    })
    return match
  })
  return ms.pipeline.obj(allEntriesStream, filterStream)
}

function streamFilter (filter) {
  return ms.through.obj(function (data, enc, cb) {
    if (filter(data)) {
      this.push(standardizePkg(data))
    }
    cb()
  })
}

function standardizePkg (data) {
  return {
    name: data.name,
    description: data.description,
    maintainers: (data.maintainers || []).map(function (m) {
      return { username: m.name, email: m.email }
    }),
    keywords: data.keywords || [],
    version: Object.keys(data.versions || {})[0] || [],
    date: (
      data.time &&
      data.time.modified &&
      new Date(data.time.modified)
    ) || null
  }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0054 ]--