GRAYBYTE WORDPRESS FILE MANAGER7943

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/softaculous/mahara/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/mahara//update_pass.php
<?php

$resp = __encrypt_password('[[admin_pass]]', '[[salt]]', '$2a$' . '12' . '$', '[[passwordsaltmain]]');
echo '<update_pass>'.$resp.'</update_pass>';

function __encrypt_password($password, $salt='', $alg='$6$', $sitesalt='') {
	if ($salt == '') {
		$salt = substr(md5(rand(1000000, 9999999)), 2, 8);
	}
	if ($alg == '$6$') { // $6$ is the identifier for the SHA512 algorithm
		// Return a hash which is sha512(originalHash, salt), where original is sha1(salt + password)
		$password = sha1($salt . $password);
		// Generate a salt based on a supplied salt and the passwordsaltmain
		$fullsalt = substr(md5($sitesalt . $salt), 0, 16); // SHA512 expects 16 chars of salt
	}
	else { // This is most likely bcrypt $2a$, but any other algorithm can take up to 22 chars of salt
		// Generate a salt based on a supplied salt and the passwordsaltmain
		$fullsalt = substr(md5($sitesalt . $salt), 0, 22); // bcrypt expects 22 chars of salt
	}
	$hash = crypt($password, $alg . $fullsalt);
	// Strip out the computed salt
	// We strip out the salt hide the computed salt (in case the sitesalt was used which isn't in the database)
	$hash = substr($hash, 0, strlen($alg)) . substr($hash, strlen($alg)+strlen($fullsalt));
	return $hash;
}

@unlink('update_pass.php');
?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 13 2025 08:30:22
root / root
0755
images
--
May 03 2024 05:29:31
root / root
0755
php53
--
May 03 2024 05:29:31
root / root
0755
php56
--
May 03 2024 05:29:31
root / root
0755
php71
--
May 03 2024 05:29:31
root / root
0755
php81
--
May 03 2024 05:29:31
root / root
0755
php82
--
May 03 2024 05:29:31
root / root
0755
changelog.txt
10.986 KB
November 07 2022 11:38:44
root / root
0644
clone.php
6.521 KB
May 02 2024 11:43:08
root / root
0644
config.php
3.001 KB
November 07 2022 11:38:44
root / root
0644
edit.php
5.401 KB
May 02 2024 11:43:08
root / root
0644
edit.xml
0.423 KB
December 23 2021 11:54:36
root / root
0644
fileindex.php
0.497 KB
December 23 2021 11:54:36
root / root
0644
import.php
3.312 KB
May 02 2024 11:43:08
root / root
0644
info.xml
4.742 KB
May 02 2024 10:25:50
root / root
0644
install.js
0.899 KB
December 23 2021 11:54:36
root / root
0644
install.php
8.622 KB
May 02 2024 11:43:08
root / root
0644
install.xml
1.429 KB
December 23 2021 11:54:36
root / root
0644
md5
4.398 KB
May 02 2024 11:43:06
root / root
0644
mod_upgrade.php
63.601 KB
November 07 2022 11:38:44
root / root
0644
notes.txt
2.176 KB
May 02 2022 08:51:34
root / root
0644
org_upgrade.php
63.57 KB
November 07 2022 11:38:44
root / root
0644
update_pass.php
1.234 KB
December 23 2021 11:54:36
root / root
0644
upgrade.php
6.366 KB
May 02 2024 11:43:08
root / root
0644
upgrade.xml
0.326 KB
May 02 2022 08:51:34
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF