Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.146.206.0
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
softaculous /
modx /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
php53
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
php56
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
php71
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
php81
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
php82
[ DIR ]
drwxr-xr-x
2025-04-03 14:15
changelog.txt
8.75
KB
-rw-r--r--
2025-04-03 09:04
clone.php
8.03
KB
-rw-r--r--
2025-04-03 11:47
config.core.php
287
B
-rw-r--r--
2021-12-23 11:54
config.inc.php
3.14
KB
-rw-r--r--
2024-12-19 09:08
edit.php
5.37
KB
-rw-r--r--
2025-04-03 11:47
edit.xml
433
B
-rw-r--r--
2021-12-23 11:54
extend.php
11.66
KB
-rw-r--r--
2025-04-03 11:47
fileindex.php
72
B
-rw-r--r--
2021-12-23 11:54
import.php
3.85
KB
-rw-r--r--
2025-04-03 11:47
info.xml
3.78
KB
-rw-r--r--
2025-04-03 09:04
install.js
921
B
-rw-r--r--
2021-12-23 11:54
install.php
6.45
KB
-rw-r--r--
2025-04-03 11:47
install.xml
1.05
KB
-rw-r--r--
2022-04-29 11:16
md5
3.22
KB
-rw-r--r--
2025-04-03 11:47
modhashing.class.php
6.16
KB
-rw-r--r--
2021-12-23 11:54
modpbkdf2.class.php
2.45
KB
-rw-r--r--
2021-12-23 11:54
modx.sql
162.97
KB
-rw-r--r--
2025-04-03 09:04
modx.zip
22.98
MB
-rw-r--r--
2025-04-03 09:04
notes.txt
1.52
KB
-rw-r--r--
2025-04-03 09:04
update_pass.php
672
B
-rw-r--r--
2021-12-23 11:54
upgrade.php
4
KB
-rw-r--r--
2025-04-03 11:47
upgrade.xml
436
B
-rw-r--r--
2024-12-19 09:08
xpdo.class.php
129.25
KB
-rw-r--r--
2021-12-23 11:54
Save
Rename
<?php /** * This file contains a modHash implementation of RSA PDKDF2. * @package modx * @subpackage hashing */ /** * A PBKDF2 implementation of modHash. * * {@inheritdoc} * * @package modx * @subpackage hashing */ class modPBKDF2 extends modHash { /** * Generate a hash of a string using the RSA PBKDFA2 specification. * * The following options are available: * - salt (required): a valid, non-empty string to salt the hashes * - iterations: the number of iterations per block, default is 1000 (< 1000 not recommended) * - derived_key_length: the size of the derived key to generate, default is 32 * - algorithm: the hash algorithm to use, default is sha256 * - raw_output: if true, returns binary output, otherwise derived key is base64_encode()'d; default is false * * @param string $string A string to generate a secure hash from. * @param array $options An array of options to be passed to the hash implementation. * @return mixed The hash result or false on failure. */ public function hash($string, array $options = array()) { $derivedKey = false; $salt = $this->getOption('salt', $options, false); if (is_string($salt) && strlen($salt) > 0) { $iterations = (integer) $this->getOption('iterations', $options, 1000); $derivedKeyLength = (integer) $this->getOption('derived_key_length', $options, 32); $algorithm = $this->getOption('algorithm', $options, 'sha256'); $hashLength = strlen(hash($algorithm, null, true)); $keyBlocks = ceil($derivedKeyLength / $hashLength); $derivedKey = ''; for ($block = 1; $block <= $keyBlocks; $block++) { $hashBlock = $hb = hash_hmac($algorithm, $salt . pack('N', $block), $string, true); for ($blockIteration = 1; $blockIteration < $iterations; $blockIteration++) { $hashBlock ^= ($hb = hash_hmac($algorithm, $hb, $string, true)); } $derivedKey .= $hashBlock; } $derivedKey = substr($derivedKey, 0, $derivedKeyLength); if (!$this->getOption('raw_output', $options, false)) { $derivedKey = base64_encode($derivedKey); } } else { $this->host->modx->log(modX::LOG_LEVEL_ERROR, "PBKDF2 requires a valid salt string.", '', __METHOD__, __FILE__, __LINE__); } return $derivedKey; } }