Server IP : 149.255.58.128 / Your IP : 216.73.216.33
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/thbees//update_pass.php
<?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);
$resp = password_hash('[[admin_pass]]', PASSWORD_DEFAULT);
echo '<update_pass>'.$resp.'</update_pass>';
function __calculateSignature($employeeId, $profileId, $email, $password){
$cookie_key = '[[cookie_key]]';
$data = $employeeId . $email . $profileId . $password;
return hash_hmac('sha256', (string)$data, $cookie_key);
}
$password = $resp;
//We use this signature for install. We pass default $employeeId and $profileId params i.e 1, since these are defaults for admin user
$resp1 = __calculateSignature(1, 1, '[[admin_email]]' , $password);
echo '<update_signature>'.$resp1.'</update_signature>';
//We use this signature for edit. Don't remove
$resp2 = __calculateSignature('[[emp_id]]', '[[profile_id]]', '[[admin_email]]' , $password);
echo '<update_signature_edit>'.$resp2.'</update_signature_edit>';
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
php53 | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
php56 | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
php71 | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
php81 | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
php82 | -- | November 06 2024 10:37:17 | 0 / root | 0755 | |
| | | | | |
.htaccess | 1.313 KB | November 05 2024 04:56:00 | 0 / root | 0644 | |
clone.php | 13.843 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
edit.php | 6.485 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
edit.xml | 0.437 KB | November 28 2023 05:17:18 | 0 / root | 0644 | |
extend.php | 1.989 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
fileindex.php | 0.377 KB | November 05 2024 04:56:00 | 0 / root | 0644 | |
import.php | 3.937 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
info.xml | 3.242 KB | November 05 2024 04:56:00 | 0 / root | 0644 | |
install.js | 1.123 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 10.661 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
install.xml | 1.395 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 1.104 KB | November 05 2024 07:28:56 | 0 / root | 0644 | |
notes.txt | 1.474 KB | November 05 2024 04:56:00 | 0 / root | 0644 | |
settings.inc.php | 0.596 KB | November 05 2024 04:56:00 | 0 / root | 0644 | |
update_pass.php | 1.185 KB | November 28 2023 04:15:56 | 0 / root | 0644 | |
update_rijndael.php | 1.179 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |