!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/node-red/node_modules/args/lib/   drwxr-xr-x
Free 13.23 GB of 57.97 GB (22.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     parse.js (1.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'use strict'

const path = require('path')
const parser = require('mri')

module.exports = function(argv, options) {
  // Override default option values
  Object.assign(this.config, options)

  if (Array.isArray(this.config.mainColor)) {
    for (const item in this.config.mainColor) {
      if (!{}.hasOwnProperty.call(this.config.mainColor, item)) {
        continue
      }

      // Chain all colors to our print method
      this.printMainColor = this.printMainColor[this.config.mainColor[item]]
    }
  } else {
    this.printMainColor = this.printMainColor[this.config.mainColor]
  }

  if (Array.isArray(this.config.subColor)) {
    for (const item in this.config.subColor) {
      if (!{}.hasOwnProperty.call(this.config.subColor, item)) {
        continue
      }

      // Chain all colors to our print method
      this.printSubColor = this.printSubColor[this.config.subColor[item]]
    }
  } else {
    this.printSubColor = this.printSubColor[this.config.subColor]
  }

  // Parse arguments using mri
  this.raw = parser(argv.slice(1), this.config.mri || this.config.minimist)
  this.binary = path.basename(this.raw._[0])

  // If default version is allowed, check for it
  if (this.config.version) {
    this.checkVersion()
  }

  // If default help is allowed, check for it
  if (this.config.help) {
    this.checkHelp()
  }

  const subCommand = this.raw._[1]
  const args = {}
  const defined = this.isDefined(subCommand, 'commands')
  const optionList = this.getOptions(defined)

  Object.assign(args, this.raw)
  args._.shift()

  // Export sub arguments of command
  this.sub = args._

  // If sub command is defined, run it
  if (defined) {
    this.runCommand(defined, optionList)
    return {}
  }

  // Hand back list of options
  return optionList
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0066 ]--