<?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
*/
$plain_pass = '[[admin_pass]]';
if(!defined('PASSWORD_BCRYPT')){
define(PASSWORD_BCRYPT, 1);
}
$default = PASSWORD_BCRYPT;
$password = __processPlainPassword($plain_pass);
if(defined('PASSWORD_ARGON2I')){
$default = PASSWORD_ARGON2I;
$password = $plain_pass;
}
$resp = password_hash($password, $default, array('cost' => 12));
echo '<update_pass>'.$resp.'</update_pass>';
function __processPlainPassword($password)
{
return base64_encode(hash('sha384', $password, true));
}
@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 | 312 B | 0644 |
|
| Pbkdf2Salt.php | File | 781 B | 0644 |
|
| _.htaccess | File | 14 KB | 0644 |
|
| _clone.php | File | 3.36 KB | 0644 |
|
| _upgrade.php | File | 4.08 KB | 0644 |
|
| _upgrade.xml | File | 452 B | 0644 |
|
| edit.php | File | 6.71 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| file_.htaccess | File | 348 B | 0644 |
|
| file_index.html | File | 116 B | 0644 |
|
| fileadmin.htaccess | File | 1.89 KB | 0644 |
|
| fileindex.php | File | 100 B | 0644 |
|
| import.php | File | 5.77 KB | 0644 |
|
| info.xml | File | 3.5 KB | 0644 |
|
| install.js | File | 924 B | 0644 |
|
| install.php | File | 19 KB | 0644 |
|
| install.xml | File | 733 B | 0644 |
|
| md5 | File | 2.08 KB | 0644 |
|
| notes.txt | File | 1.94 KB | 0644 |
|
| settings.php | File | 3.43 KB | 0644 |
|
| typo8.sql | File | 60.27 KB | 0644 |
|
| typo8.zip | File | 37.78 MB | 0644 |
|
| update_pass.php | File | 767 B | 0644 |
|