!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-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/promise-call-limit/   drwxr-xr-x
Free 979.31 GB of 1859.98 GB (52.65%)
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 (768 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
const defLimit = require('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 ::
 
[ 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.0291 ]--