X7ROOT File Manager
Current Path:
/var/softaculous/procwire
var
/
softaculous
/
procwire
/
??
..
??
.htaccess
(254 B)
??
NOTES.txt
(1.58 KB)
??
clone.php
(4.91 KB)
??
config.php
(3.67 KB)
??
edit.php
(6.15 KB)
??
edit.xml
(433 B)
??
fileindex.php
(132 B)
??
images
??
import.php
(3.76 KB)
??
info.xml
(7.21 KB)
??
install.js
(924 B)
??
install.php
(9.92 KB)
??
install.xml
(1.04 KB)
??
md5
(5.08 KB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
procwire.sql
(67.85 KB)
??
procwire.zip
(8.67 MB)
??
update_pass.php
(1.03 KB)
??
upgrade.php
(4.38 KB)
??
upgrade.xml
(1.48 KB)
Editing: update_pass.php
<?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'); ?>
Upload File
Create Folder