<?php /** * Hash the password using the specified algorithm * * @param string $password The password to hash * @param int $algo The algorithm to use (Defined by PASSWORD_* constants) * @param array $options The options for the algorithm to use * * @return string|false The hashed password, or false on error. */ @unlink('update_pass.php'); if (!defined('PASSWORD_BCRYPT')) { define('PASSWORD_BCRYPT', 1); define('PASSWORD_DEFAULT', PASSWORD_BCRYPT); } $resp = password_hash('[[admin_pass]]' , PASSWORD_BCRYPT, array('cost' => 10)); echo '<update_pass>'.$resp.'</update_pass>'; ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
images | Folder | 0755 |
|
|
php53 | Folder | 0755 |
|
|
php56 | Folder | 0755 |
|
|
php71 | Folder | 0755 |
|
|
php81 | Folder | 0755 |
|
|
php82 | Folder | 0755 |
|
|
clone.php | File | 4.39 KB | 0644 |
|
config.php | File | 1.12 KB | 0644 |
|
edit.php | File | 4.47 KB | 0644 |
|
edit.xml | File | 433 B | 0644 |
|
extend.php | File | 10.07 KB | 0644 |
|
fileindex.php | File | 276 B | 0644 |
|
import.php | File | 3.16 KB | 0644 |
|
info.xml | File | 1.96 KB | 0644 |
|
install.js | File | 924 B | 0644 |
|
install.php | File | 4.15 KB | 0644 |
|
install.xml | File | 1.59 KB | 0644 |
|
md5 | File | 12 KB | 0644 |
|
notes.txt | File | 126 B | 0644 |
|
update_pass.php | File | 605 B | 0644 |
|