⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.94
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
softaculous
/
userspice
/
View File Name :
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'