$20 GRAYBYTE WORDPRESS FILE MANAGER $59

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/var/softaculous/mahara/

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


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
8 Apr 2026 1.56 AM
root / root
0755
images
--
3 May 2024 1.12 AM
root / root
0755
php53
--
3 May 2024 1.12 AM
root / root
0755
php56
--
3 May 2024 1.12 AM
root / root
0755
php71
--
3 May 2024 1.12 AM
root / root
0755
php81
--
3 May 2024 1.12 AM
root / root
0755
php82
--
3 May 2024 1.12 AM
root / root
0755
changelog.txt
10.986 KB
7 Nov 2022 11.38 AM
root / root
0644
clone.php
6.521 KB
2 May 2024 11.43 AM
root / root
0644
config.php
3.001 KB
7 Nov 2022 11.38 AM
root / root
0644
edit.php
5.401 KB
2 May 2024 11.43 AM
root / root
0644
edit.xml
0.423 KB
23 Dec 2021 11.54 AM
root / root
0644
fileindex.php
0.497 KB
23 Dec 2021 11.54 AM
root / root
0644
import.php
3.312 KB
2 May 2024 11.43 AM
root / root
0644
info.xml
4.742 KB
2 May 2024 10.25 AM
root / root
0644
install.js
0.899 KB
23 Dec 2021 11.54 AM
root / root
0644
install.php
8.622 KB
2 May 2024 11.43 AM
root / root
0644
install.xml
1.429 KB
23 Dec 2021 11.54 AM
root / root
0644
md5
4.398 KB
2 May 2024 11.43 AM
root / root
0644
mod_upgrade.php
63.601 KB
7 Nov 2022 11.38 AM
root / root
0644
notes.txt
2.176 KB
2 May 2022 8.51 AM
root / root
0644
org_upgrade.php
63.57 KB
7 Nov 2022 11.38 AM
root / root
0644
update_pass.php
1.234 KB
23 Dec 2021 11.54 AM
root / root
0644
upgrade.php
6.366 KB
2 May 2024 11.43 AM
root / root
0644
upgrade.xml
0.326 KB
2 May 2022 8.51 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF