Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /var/softaculous/x2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/softaculous/x2/getkey.php
<?php

if(function_exists('openssl_random_pseudo_bytes')){
	$EncryptionIV = __genIV();
	$EncryptionKEY = __genKey();
}
	
echo '<Encryptioniv>'.$EncryptionIV.'</Encryptioniv>';
echo '<Encryptionkey>'.$EncryptionKEY.'</Encryptionkey>';

function __genKey($length = 32){
	$key = openssl_random_pseudo_bytes($length, $strong);
	return ($strong ? $key : false);
}

function __genIV() {
	$nonceSize = openssl_cipher_iv_length('aes-256-ctr');
	return openssl_random_pseudo_bytes($nonceSize);
}

?>

ZeroDay Forums Mini