ACIL FM
Dark
Refresh
Current DIR:
/var/softaculous/modx
/
var
softaculous
modx
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
images
-
chmod
Open
Rename
Delete
php53
-
chmod
Open
Rename
Delete
php56
-
chmod
Open
Rename
Delete
php71
-
chmod
Open
Rename
Delete
php81
-
chmod
Open
Rename
Delete
php82
-
chmod
Open
Rename
Delete
changelog.txt
10.61 MB
chmod
View
DL
Edit
Rename
Delete
clone.php
8.02 MB
chmod
View
DL
Edit
Rename
Delete
config.core.php
287 B
chmod
View
DL
Edit
Rename
Delete
config.inc.php
3.14 MB
chmod
View
DL
Edit
Rename
Delete
edit.php
5.4 MB
chmod
View
DL
Edit
Rename
Delete
edit.xml
433 B
chmod
View
DL
Edit
Rename
Delete
extend.php
11.66 MB
chmod
View
DL
Edit
Rename
Delete
fileindex.php
72 B
chmod
View
DL
Edit
Rename
Delete
import.php
3.85 MB
chmod
View
DL
Edit
Rename
Delete
info.xml
3.78 MB
chmod
View
DL
Edit
Rename
Delete
install.js
921 B
chmod
View
DL
Edit
Rename
Delete
install.php
6.47 MB
chmod
View
DL
Edit
Rename
Delete
install.xml
1.05 MB
chmod
View
DL
Edit
Rename
Delete
md5
11.76 MB
chmod
View
DL
Edit
Rename
Delete
modhashing.class.php
6.16 MB
chmod
View
DL
Edit
Rename
Delete
modpbkdf2.class.php
2.45 MB
chmod
View
DL
Edit
Rename
Delete
notes.txt
1.52 MB
chmod
View
DL
Edit
Rename
Delete
update_pass.php
672 B
chmod
View
DL
Edit
Rename
Delete
upgrade.php
4 MB
chmod
View
DL
Edit
Rename
Delete
upgrade.xml
436 B
chmod
View
DL
Edit
Rename
Delete
xpdo.class.php
129.25 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /var/softaculous/modx/modpbkdf2.class.php
<?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; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply