Hola amigos hoy no vengo con un generador de claves sino con un reto en javascript es del reto de cronux yo encontre el serial para mi nick que es flamer que es este:
nombre= flamer
serial=999999:
y si se preguntan por que no le hice un keygen, es por que se me hiso dificil ya que no soy tan bueno lo reconosco en fin....pero tambien se me hizo entretenido que ustedes miren el funcionamiento del codigo y a ver si encuentran un serial para su nombre o nick no solamente entregar todo yo y sin participar ustedes aqui les dejo una foto del reto
aqui el codigo solo copean y pegan en el bloc de notas y aguardan con el nombre "reto cronux.html"
<html>
<head>
<title>Reto En JavaScript CTCrackMe_CronuX</title>
</head>
<body bgcolor="black">
<center>
<marquee style="font-size:30;color:yellow;">Reto En JavaScript Del CTCrackMe_CronuX</marquee><br><br>
<label style="color:white;">Nombre:   </label>
<input type="text" id="nick" size='50' style="background-color:Gray;color:white;text-align:center;"><br><br>
<label style="color:white;">Serial:       </label>
<input type="text" id="pass" size='50' style="background-color:Gray;color:white;text-align:center;"><br><br>
<input type="button" id="102" value="Vericar" onclick="Verificar()">
<input type="button" id="104" value="Limpiar" onclick="limpia()"><br><br>
<div id="log" style="font-size:40;color:red;">No Registrado</div>
</center>
<script>
function limpia()
{
document.getElementById("nick").value="";
document.getElementById("pass").value="";
}
function Verificar()
{
let nom=document.getElementById("nick").value.toString();
let serial=document.getElementById("pass").value.toString();
let suma1=0,suma2=0,s0=0,ps="";
nom=cifrado(nom);
serial=cifrado(serial);
suma1=suma(nom);
suma2=suma(serial);
s0=suma1 + suma2;
s1=suma1 * nom.length;
s2=s0 * serial.length;
ps=(s1 ^ s2).toString(16);
if(ps.substr(-2)=="9f")
{
document.getElementById("log").innerHTML="REGISTRADO";
document.getElementById("log").style.color="Lime";
}
else
{
alert("Sigue Intentandolo");
document.getElementById("log").innerHTML="No Registrado";
document.getElementById("log").style.color="red";
}
}
function suma(s)
{
let x,digi="",d=0,ss=0;
for(x=0;x<s.length;x++)
{
digi=s.substr(x,1);
d=digi.charCodeAt(0);
ss+=d;
}
return ss;
}
function cifrado(cadena)
{
let x,digi="",d=0,clave="";
for(x=0;x<cadena.length;x++)
{
digi=cadena.substr(x,1);
d=digi.charCodeAt(0);
if(d>=65)
{
if(d<=90)
{
d+=13;
if(d>=90)
{
d-=26
}
}
else if(d>=97)
{
if(d<=122)
{
d-=13;
if(d<97)
{
d+=26;
}
}
}
}
clave+=String.fromCharCode(d);
}
return clave;
}
</script>
</body>
</html>
bueno espero y se diviertan felices fiestas saludos Flamer y aqui una foto de mi solucion