PHP 8.2.30
Preview: update_pass.php Size: 605 B
//var/softaculous/layerbb/update_pass.php

<?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>';


?>

Directory Contents

Dirs: 6 × Files: 14

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
php53 DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
php56 DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
php71 DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
php81 DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
php82 DIR
- drwxr-xr-x 2024-05-04 23:39:25
Edit Download
4.39 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
1.12 KB lrw-r--r-- 2023-07-12 09:32:48
Edit Download
4.47 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
433 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
10.07 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
276 B lrw-r--r-- 2023-07-12 09:32:48
Edit Download
3.16 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
1.96 KB lrw-r--r-- 2024-05-02 10:25:50
Edit Download
924 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.15 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
1.59 KB lrw-r--r-- 2023-07-12 09:32:48
Edit Download
12.00 KB lrw-r--r-- 2024-05-02 11:23:22
Edit Download
126 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
605 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).