Ugrás a tartalomhoz

Szerkesztő:Jack-spaero

A Wikipédiából, a szabad enciklopédiából

Keygen - Source:

I. Utils:

EasyJack - Mobil Bluetooch hack

[szerkesztés]
<html>
  <head>
  <script type="text/javascript">
  function key(form)
  {
    var email = form.email.value; //def. local var(email) = html.form.var.email
    var regcode = 0;  //def. local var(regcode) = registration key in decimal
    var i; //def local var(i) = for ... var
    email=email.split(""); //string to array[char]
    for(i=0;i<email.length;i++) //for 0 --> email.length-1 step 1 
    {
      switch (email [i]) //
      {
        case "a":
          regcode = regcode +  107;
	  break;
        case "b":
          regcode = regcode +  206; 
	  break;
        case "c":
          regcode = regcode +  305; 
	  break;
        case "d":
          regcode = regcode +  404; 
	  break;
        case "e":
          regcode = regcode +  503; 
	  break;
        case "f":
          regcode = regcode +  602; 
	  break;
        case "g":
          regcode = regcode +  701; 
	  break;
        case "h":
          regcode = regcode +  800; 
	  break;
        case "i":
          regcode = regcode +  909; 
	  break;
        case "j":
          regcode = regcode +  1008; 
	  break;
        case "k":
          regcode = regcode +  1107; 
	  break;
        case "l":
          regcode = regcode +  1206; 
	  break;
        case "m":
          regcode = regcode +  1305; 
	  break;
        case "n":
          regcode = regcode +  1404; 
	  break;
        case "o":
          regcode = regcode +  1503; 
	  break;
        case "p":
          regcode = regcode +  1602; 
          break;
        case "r":
          regcode = regcode +  1800; 
	  break;
        case "s":
          regcode = regcode +  1909; 
	  break;
        case "t":
          regcode = regcode +  2008; 
	  break;
        case "u":
          regcode = regcode +  2107; 
	  break;
        case "v":
          regcode = regcode +  2206; 
	  break;
        case "w":
          regcode = regcode +  2305; 
	  break;
        case "x":
          regcode = regcode +  2404; 
	  break;
        case "y":
          regcode = regcode +  2503; 
	  break;
        case "z":
          regcode = regcode +  2602; 
	  break;
        case "@":
          regcode = regcode +  9419; 
	  break;
        case "-":
          regcode = regcode +  2801; 
	  break;
        case "1":
          regcode = regcode +  2900; 
	  break;
        case "2":
          regcode = regcode +  3009; 
	  break;
        case "3":
          regcode = regcode +  3108; 
	  break;
        case "4":
          regcode = regcode +  3207; 
	  break;
        case "5":
          regcode = regcode +  3306; 
    	  break;
        case "6":
          regcode = regcode +  3405; 
          break;
        case "7":
          regcode = regcode +  3504;
	  break;
        case "8":
          regcode = regcode +  3603; 
   	  break;
        case "9":
          regcode = regcode +  3702; 
	  break;
        case "0":
          regcode = regcode +  3801; 
    	  break;
        case ".":
          regcode = regcode +  1731;
	  break;
        case "_":
          regcode = regcode +  3231; 
	  break;
      }
    }
    regcode = Math.floor(( regcode * 9999 ) / 7);
    alert(Number(regcode).toString(16));
  }
</script>
</head>
<body>
<form method="post" name="myform" action="">
Enter your email (min 6 char, a-z, 0-9, @, ., -):<br /><br />
<input type="text" name="email" value="" />
<input type="submit" value="Keygen" onclick="key(this.form)"" />
</form>
</body>
</html>

Jack-spaero vita 2009. november 22., 14:00 (CET)