<?php $salt_config = md5(mt_rand() . microtime(true)); echo $salt_db = '$2y$11$'.__randomBase64String(22); echo '<SOFTACULOUS>'; echo $pass = substr(crypt('[[admin_pass]]' . '[[salt_config]]', $salt_db), 29); function __randomBase64String($requiredLength = 22) { $buffer = ''; $rawLength = (int) ($requiredLength * 3 / 4 + 1); $valid = false; if(function_exists('mcrypt_create_iv')) { $buffer = mcrypt_create_iv($rawLength, MCRYPT_DEV_URANDOM); if($buffer) $valid = true; } if(!$valid && function_exists('openssl_random_pseudo_bytes')) { $buffer = openssl_random_pseudo_bytes($rawLength); if($buffer) $valid = true; } if(!$valid || strlen($buffer) < $rawLength) { $bl = strlen($buffer); for($i = 0; $i < $rawLength; $i++) { if($i < $bl) { $buffer[$i] = $buffer[$i] ^ chr(mt_rand(0, 255)); } else { $buffer .= chr(mt_rand(0, 255)); } } } $salt = str_replace('+', '.', base64_encode($buffer)); $salt = substr($salt, 0, $requiredLength); $salt .= $valid; return $salt; } @unlink('update_pass.php'); ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
images | Folder | 0755 |
|
|
php53 | Folder | 0755 |
|
|
php56 | Folder | 0755 |
|
|
php71 | Folder | 0755 |
|
|
php81 | Folder | 0755 |
|
|
php82 | Folder | 0755 |
|
|
.htaccess | File | 254 B | 0644 |
|
NOTES.txt | File | 1.09 KB | 0644 |
|
clone.php | File | 4.91 KB | 0644 |
|
config.php | File | 3.61 KB | 0644 |
|
edit.php | File | 6.12 KB | 0644 |
|
edit.xml | File | 433 B | 0644 |
|
fileindex.php | File | 132 B | 0644 |
|
import.php | File | 3.77 KB | 0644 |
|
info.xml | File | 7.16 KB | 0644 |
|
install.js | File | 924 B | 0644 |
|
install.php | File | 9.92 KB | 0644 |
|
install.xml | File | 1.04 KB | 0644 |
|
md5 | File | 6.74 KB | 0644 |
|
update_pass.php | File | 1.03 KB | 0644 |
|
upgrade.php | File | 4.35 KB | 0644 |
|
upgrade.xml | File | 1.48 KB | 0644 |
|