<?php
if(function_exists('password_hash')){
$resp = password_hash('[[admin_pass]]', PASSWORD_DEFAULT);
echo '<update_pass>'.$resp.'</update_pass>';
}else{
$salt = uniqid();
if(function_exists("mcrypt_create_iv")) {
$salt = base64_encode(mcrypt_create_iv(24, MCRYPT_DEV_URANDOM));
}
if (CRYPT_SHA256 == 1) {
$salt = '$5$'.$salt;
}
$resp = crypt('[[admin_pass]]', $salt);
echo '<update_pass>'.$resp.'</update_pass>';
}
@unlink('update_pass.php');
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| NOTES.txt | File | 608 B | 0644 |
|
| changelog.txt | File | 1.93 KB | 0644 |
|
| clone.php | File | 5.66 KB | 0644 |
|
| edit.php | File | 6.5 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| fileindex.php | File | 271 B | 0644 |
|
| import.php | File | 3.85 KB | 0644 |
|
| info.xml | File | 3.85 KB | 0644 |
|
| install.js | File | 924 B | 0644 |
|
| install.php | File | 9.68 KB | 0644 |
|
| install.xml | File | 1.86 KB | 0644 |
|
| md5 | File | 8.39 KB | 0644 |
|
| update_pass.php | File | 470 B | 0644 |
|
| upgrade.php | File | 3.49 KB | 0644 |
|
| upgrade.xml | File | 346 B | 0644 |
|