!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)

/usr/local/lib/node_modules/strapi/node_modules/strapi-generate-new/lib/utils/   drwxr-xr-x
Free 13.16 GB of 57.97 GB (22.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     db-questions.js (1.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
const database = ({ scope }) => ({
  type: 'input',
  name: 'database',
  message: 'Database name:',
  default: scope.name,
  validate: value => {
    if (value.includes('.')) {
      return `The database name can't contain a "."`;
    }

    return true;
  },
});

const host = () => ({
  type: 'input',
  name: 'host',
  message: 'Host:',
  default: '127.0.0.1',
});

const srv = () => ({
  type: 'boolean',
  name: 'srv',
  message: '+srv connection:',
  default: false,
});

const port = ({ client }) => ({
  type: 'input',
  name: 'port',
  message: `Port${
    client === 'mongo' ? ' (It will be ignored if you enable +srv)' : ''
  }:`,
  default: () => {
    const ports = {
      mongo: 27017,
      postgres: 5432,
      mysql: 3306,
    };

    return ports[client];
  },
});

const username = () => ({
  type: 'input',
  name: 'username',
  message: 'Username:',
});

const password = () => ({
  type: 'password',
  name: 'password',
  message: 'Password:',
  mask: '*',
});

const authenticationDatabase = () => ({
  type: 'input',
  name: 'authenticationDatabase',
  message: 'Authentication database (Maybe "admin" or blank):',
});

const ssl = () => ({
  type: 'confirm',
  name: 'ssl',
  message: 'Enable SSL connection:',
  default: false,
});

const filename = () => ({
  type: 'input',
  name: 'filename',
  message: 'Filename:',
  default: '.tmp/data.db',
});

module.exports = {
  sqlite: [filename],
  postgres: [database, host, port, username, password, ssl],
  mysql: [database, host, port, username, password, ssl],
  mongo: [
    database,
    host,
    srv,
    port,
    username,
    password,
    authenticationDatabase,
    ssl,
  ],
};

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