!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/npm-registry-client/   drwxr-xr-x
Free 978.8 GB of 1859.98 GB (52.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.js (2.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// utilities for working with the js-registry site.

module.exports = RegClient

var join = require('path').join
var fs = require('graceful-fs')

var npmlog
try {
  npmlog = require('npmlog')
} catch (er) {
  npmlog = {
    error: noop,
    warn: noop,
    info: noop,
    verbose: noop,
    silly: noop,
    http: noop,
    pause: noop,
    resume: noop
  }
}

function noop () {}

function RegClient (config) {
  this.config = Object.create(config || {})

  this.config.proxy = this.config.proxy || {}
  if (!this.config.proxy.https && this.config.proxy.http) {
    this.config.proxy.https = this.config.proxy.http
  }

  this.config.ssl = this.config.ssl || {}
  if (this.config.ssl.strict === undefined) this.config.ssl.strict = true

  this.config.retry = this.config.retry || {}
  if (typeof this.config.retry.retries !== 'number') this.config.retry.retries = 2
  if (typeof this.config.retry.factor !== 'number') this.config.retry.factor = 10
  if (typeof this.config.retry.minTimeout !== 'number') this.config.retry.minTimeout = 10000
  if (typeof this.config.retry.maxTimeout !== 'number') this.config.retry.maxTimeout = 60000
  if (typeof this.config.maxSockets !== 'number') this.config.maxSockets = 50

  this.config.userAgent = this.config.userAgent || 'node/' + process.version
  this.config.defaultTag = this.config.defaultTag || 'latest'

  this.log = this.config.log || npmlog
  delete this.config.log

  var client = this
  fs.readdirSync(join(__dirname, 'lib')).forEach(function (f) {
    var entry = join(__dirname, 'lib', f)

    // lib/group-name/operation.js -> client.groupName.operation
    var stat = fs.statSync(entry)
    if (stat.isDirectory()) {
      var groupName = f.replace(/-([a-z])/, dashToCamel)
      fs.readdirSync(entry).forEach(function (f) {
        if (!f.match(/\.js$/)) return

        if (!client[groupName]) {
          // keep client.groupName.operation from stomping client.operation
          client[groupName] = Object.create(client)
        }
        var name = f.replace(/\.js$/, '').replace(/-([a-z])/, dashToCamel)
        client[groupName][name] = require(join(entry, f))
      })
      return
    }

    if (!f.match(/\.js$/)) return
    var name = f.replace(/\.js$/, '').replace(/-([a-z])/, dashToCamel)
    client[name] = require(entry)
  })
}

function dashToCamel (_, l) {
  return l.toUpperCase()
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.1108 ]--