Server IP : 149.255.58.128 / Your IP : 216.73.216.14
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/nextcloud//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
*/
if(!defined('PASSWORD_BCRYPT')){
define(PASSWORD_BCRYPT, 1);
}
$default = PASSWORD_BCRYPT;
if(defined('PASSWORD_ARGON2I')){
$default = PASSWORD_ARGON2I;
}
$resp = password_hash('[[admin_pass]]', $default);
echo '<update_pass>'.$resp.'</update_pass>';
for($i = 1 ; $i <=10 ; $i++){
$sync_token[$i] = __generateSyncToken();
}
$values = json_encode($sync_token);
echo '<sync_tokens>'.$values.'</sync_tokens>';
function __generateSyncToken(){
global $error;
$chars = 'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890';
$str = '';
$max = strlen($chars);
for ($i = 0; $i < 7; $i++) {
try {
$str .= $chars[random_int(0, $max - 2)];
} catch (Exception $e) {
$error[] = 'exception during generateSyncToken';
}
}
return $str;
}
@unlink('update_pass.php');
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
php53 | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
php56 | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
php71 | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
php81 | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
php82 | -- | May 17 2025 09:37:08 | 0 / root | 0755 | |
| | | | | |
.htaccess | 4.614 KB | February 27 2025 03:42:18 | 0 / root | 0644 | |
_.htaccess | 0.521 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
changelog.txt | 9.346 KB | May 16 2025 06:02:48 | 0 / root | 0644 | |
check_suphp.php | 0.099 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 5.718 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
config.php | 0.528 KB | May 16 2025 06:02:48 | 0 / root | 0644 | |
edit.php | 5.781 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
edit.xml | 0.423 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
extend.php | 6.913 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
fileindex.php | 0.282 KB | September 18 2024 04:18:16 | 0 / root | 0644 | |
import.php | 3.525 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
info.xml | 4.665 KB | May 16 2025 06:02:48 | 0 / root | 0644 | |
install.js | 0.902 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 16.035 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
install.xml | 1.587 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 1.974 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
notes.txt | 2.207 KB | October 21 2024 04:51:36 | 0 / root | 0644 | |
update_pass.php | 1.022 KB | August 16 2024 06:09:42 | 0 / root | 0644 | |
upgrade.php | 5.021 KB | May 16 2025 06:17:16 | 0 / root | 0644 | |
upgrade.xml | 0.292 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |