<?php
/**
* A Compatibility library with PHP 5.5's simplified password hashing API.
*
* @author Anthony Ferrara <ircmaxell@php.net>
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2012 The Authors
*/
@unlink('update_pass.php');
if(!defined('PASSWORD_BCRYPT')){
define('PASSWORD_BCRYPT', 1);
}
define('PASSWORD_DEFAULT', PASSWORD_BCRYPT);
define('SALT_LENGTH', 9);
$salt = substr(md5(uniqid(rand(), true)), 0, SALT_LENGTH);
$resp = 'bcrypt:' . $salt . password_hash(sha1($salt . '[[admin_pass]]'), PASSWORD_DEFAULT);
$resp1 = str_replace("\$", "\\\$", $resp);
echo '<update_pass>'.$resp1.'</update_pass>';
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| approvedips.log | File | 13 B | 0644 |
|
| clone.php | File | 6.56 KB | 0644 |
|
| dbconnect.php | File | 246 B | 0644 |
|
| edit.php | File | 4.54 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| extend.php | File | 9.47 KB | 0644 |
|
| fileindex.php | File | 1.07 KB | 0644 |
|
| import.php | File | 3.45 KB | 0644 |
|
| info.xml | File | 2.71 KB | 0644 |
|
| install.js | File | 921 B | 0644 |
|
| install.php | File | 5.48 KB | 0644 |
|
| install.xml | File | 1.77 KB | 0644 |
|
| lang_english.conf | File | 48.67 KB | 0644 |
|
| md5 | File | 1.17 KB | 0644 |
|
| notes.txt | File | 948 B | 0644 |
|
| settings.php | File | 222 B | 0644 |
|
| update_pass.php | File | 660 B | 0644 |
|