X7ROOT File Manager
Current Path:
/var/softaculous/userspice
var
/
softaculous
/
userspice
/
??
..
??
_clone.php
(2.94 KB)
??
_edit.php
(3.47 KB)
??
_edit.xml
(447 B)
??
extend.php
(8.34 KB)
??
fileindex.php
(95 B)
??
gen_totp_key.php
(1.21 KB)
??
images
??
import.php
(3.03 KB)
??
info.xml
(2.42 KB)
??
init.php
(2.36 KB)
??
install.js
(921 B)
??
install.php
(5.79 KB)
??
install.xml
(1.94 KB)
??
md5
(5.05 KB)
??
notes.txt
(1.13 KB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
totp_key.php
(1.47 KB)
??
totp_requirements.php
(2.33 KB)
??
update_pass.php
(517 B)
??
userspice.sql
(51.39 KB)
??
userspice.zip
(5.74 MB)
Editing: totp_key.php
<?php /** * TOTP Encryption Configuration * * SECURITY WARNING: DO NOT COMMIT THIS FILE. * Recommended permissions: 0400 * * PREFERRED APPROACH: Store these values in your .env file instead: * TOTP_ENC_KEY=XXXXXXXXXXXXXXXXXXXXXXXX * TOTP_CRYPTO_ENGINE=sodium * * This file is designed to be used when an env file is not possible. * If you have an env file, you should delete this file and load your * constants from your .env file instead. * We've automatically added this file to your .gitignore (if one exists). * * -------------------------------------------------------------------- * EXAMPLE: Loading constants from a .env file * -------------------------------------------------------------------- * If you are using a library like 'vlucas/phpdotenv', you can load * the constants in your application's bootstrap file like this: * * require_once '/path/to/vendor/autoload.php'; * $dotenv = Dotenv\Dotenv::createImmutable(__DIR__); * $dotenv->load(); * * // Define constants from environment variables * define('TOTP_ENC_KEY', $_ENV['TOTP_ENC_KEY']); * define('TOTP_CRYPTO_ENGINE', $_ENV['TOTP_CRYPTO_ENGINE']); * * // Then delete the constants from this file * -------------------------------------------------------------------- * * Generated: [[regtime_]] */ const TOTP_ENC_KEY = '[[b64Key]]'; const TOTP_CRYPTO_ENGINE = '[[cryptoEngine]]'; // To migrate servers, you may define TOTP_FORCE_CRYPTO_ENGINE // const TOTP_FORCE_CRYPTO_ENGINE = 'sodium'; // or 'openssl'
Upload File
Create Folder