Jump to content

Recommended Posts

Posted

set Domain and date expire Unix

 

<?php
			$dominio = "127.0.0.1";
			$fecha_unix = "1649305434";
			
			$key[1] = crearKey($dominio, $fecha_unix, "d828ef0cdcaffba468e21aa1f64f0621");
			$key[2] = crearKey($dominio, $fecha_unix, "ed07dd89f84f1a2e5991847e13fde8d0");
			$key[3] = crearKey($dominio, $fecha_unix, "be5bf830d02eba8b6501dd523d04c0ca");
			$key[4] = crearKey($dominio, $fecha_unix, "2c62c938b72c80fe6f7a6fcc62629ade");
			$key[5] = crearKey($dominio, $fecha_unix, "85ff5e23c4566cfb1f58b262c920651f");
							
			$key_final = $key[1] . $key[1] . $key[4] . $key[1] . $key[2] . $key[1] . $key[3] . $key[3] . $key[5] . $key[5];
			
			echo $key_final; 
			
			function crearKey($dominio, $fecha_unix, $md5)
			{
				$md5_key = md5( $dominio . $fecha_unix . $md5);
				$key_real = $dominio. "|" . $fecha_unix . "|" . $md5_key;
				$enc1 = base64_encode($key_real);
				$enc2 = strrev( $enc1);
				$enc3 = str_replace( '-', '', $enc2 );
				$enc4 = strtr($enc3,'+Rc0OYVnNdD62qQ','=cRO0VYNnDd26Qq');
				$enc5 = str_replace( '=', '@+', $enc4 );				
				return $enc5;
			}			
?>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...