Server IP : 149.255.58.128 / Your IP : 216.73.216.35
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/cpg//update_pass.php
<?php
@unlink('update_pass.php');
function __pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output = false){
if (function_exists("hash_pbkdf2")) {
// The output length is in NIBBLES (4-bits) if $raw_output is false!
if (!$raw_output) {
$key_length = $key_length * 2;
}
return hash_pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output);
}
$hash_length = strlen(hash($algorithm, "", true));
$block_count = ceil($key_length / $hash_length);
$output = "";
for($i = 1; $i <= $block_count; $i++) {
// $i encoded as 4 bytes, big endian.
$last = $salt . pack("N", $i);
// first iteration
$last = $xorsum = hash_hmac($algorithm, $last, $password, true);
// perform the other $count - 1 iterations
for ($j = 1; $j < $count; $j++) {
$xorsum ^= ($last = hash_hmac($algorithm, $last, $password, true));
}
$output .= $xorsum;
}
if($raw_output)
return substr($output, 0, $key_length);
else
return bin2hex(substr($output, 0, $key_length));
}
$thumb_method = '';
if (function_exists("imagecreate") && function_exists("imagejpeg")) {
$thumb_method = 'gd2';
$im = imagecreate(1, 1);
$tst_image = "[[softpath]]/albums/userpics/gd1.jpg";
imagejpeg($im, $tst_image);
$size = @getimagesize($tst_image);
unlink($tst_image);
$gd1_installed = ($size[2] == 2);
$im = imagecreatetruecolor(1, 1);
$tst_image = "[[softpath]]/albums/userpics/gd2.jpg";
imagejpeg($im, $tst_image);
$size = @getimagesize($tst_image);
unlink($tst_image);
$gd2_installed = ($size[2] == 2);
if(!$gd2_installed && $gd1_installed){
$thumb_method = 'gd1';
}
}
if (function_exists('random_bytes')) {
$vect = random_bytes(24);
} else {
$vect = mcrypt_create_iv(24, MCRYPT_DEV_URANDOM);
}
$salt = base64_encode($vect);
$resp = base64_encode(__pbkdf2("sha256", '[[admin_pass]]', $salt, 1000, 24, true));
echo $salt.'SOFTACULOUS'.$resp.'SOFTACULOUS'.$thumb_method;
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
php53 | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
php56 | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
php71 | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
php81 | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
php82 | -- | June 27 2024 15:47:23 | 0 / root | 0755 | |
| | | | | |
_update.php | 32.324 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
changelog.txt | 19.285 KB | February 05 2024 01:57:52 | 0 / root | 0644 | |
clone.php | 5.061 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
config.inc.php | 0.451 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
cpg.sql | 29.153 KB | February 05 2024 01:57:52 | 0 / root | 0644 | |
cpg.zip | 4.01 MB | February 05 2024 01:57:52 | 0 / root | 0644 | |
edit.php | 5.928 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
edit.xml | 0.423 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
extend.php | 1.835 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
fileindex.php | 0.978 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 3.165 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
info.xml | 4.328 KB | May 02 2024 05:25:50 | 0 / root | 0644 | |
install.js | 1.067 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 5.313 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
install.xml | 1.063 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 4.84 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
notes.txt | 0.42 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
update.php | 32.327 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
update_pass.php | 2.044 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
upgrade.php | 4.305 KB | May 02 2024 05:56:36 | 0 / root | 0644 | |
upgrade.xml | 0.61 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |