CasperSecurity

Current Path : /var/www/mvc360.ucnms.co.in/v.2.0/web/connection/
Upload File :
Current File : /var/www/mvc360.ucnms.co.in/v.2.0/web/connection/encryption.php

<?php
	function amebi_crypt( $string, $action) {
		// you may change these values to your own
		$secret_key = 'bHNhZ2FyaWth';
		$secret_iv = 'YWNoaW50eWFu';
	 
		$output = false;
		$encrypt_method = "AES-256-CBC";
		$key = hash( 'sha256', $secret_key );
		$iv = substr( hash( 'sha256', $secret_iv ), 0, 16 );
	 
		if( $action == 'e' ) {
			$output = base64_encode( openssl_encrypt( $string, $encrypt_method, $key, 0, $iv ) );
		}
		else if( $action == 'd' ){
			$output = openssl_decrypt( base64_decode( $string ), $encrypt_method, $key, 0, $iv );
		}
	 
		return $output;
	}
?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY