Guest User

JS from: http://www.pages.drexel.edu/~sag47/adobe/adobe.js

a guest
Aug 9th, 2016
2,783
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function DecodeAdobeKey(sAdobeEncryptedKey)
  2. {
  3.     var regex=/[0-9]{24}/g;
  4.     if(!regex.test(sAdobeEncryptedKey))
  5.     {
  6.         return 'corrupted serial';
  7.     }
  8.     var AdobeCipher = new Array(),index=0,sAdobeDecryptedKey='';
  9.     AdobeCipher[index++] = '0000000001';
  10.     AdobeCipher[index++] = '5038647192';
  11.     AdobeCipher[index++] = '1456053789';
  12.     AdobeCipher[index++] = '2604371895';
  13.     AdobeCipher[index++] = '4753896210';
  14.     AdobeCipher[index++] = '8145962073';
  15.     AdobeCipher[index++] = '0319728564';
  16.     AdobeCipher[index++] = '7901235846';
  17.     AdobeCipher[index++] = '7901235846';
  18.     AdobeCipher[index++] = '0319728564';
  19.     AdobeCipher[index++] = '8145962073';
  20.     AdobeCipher[index++] = '4753896210';
  21.     AdobeCipher[index++] = '2604371895';
  22.     AdobeCipher[index++] = '1426053789';
  23.     AdobeCipher[index++] = '5038647192';
  24.     AdobeCipher[index++] = '3267408951';
  25.     AdobeCipher[index++] = '5038647192';
  26.     AdobeCipher[index++] = '2604371895';
  27.     AdobeCipher[index++] = '8145962073';
  28.     AdobeCipher[index++] = '7901235846';
  29.     AdobeCipher[index++] = '3267408951';
  30.     AdobeCipher[index++] = '1426053789';
  31.     AdobeCipher[index++] = '4753896210';
  32.     AdobeCipher[index++] = '0319728564';
  33.  
  34.     //decode the adobe key
  35.    for(var i=0;i<24;i++)
  36.    {
  37.        if (i%4 == 0 && i>0)
  38.            sAdobeDecryptedKey += '-';
  39.        sAdobeDecryptedKey += AdobeCipher[i].charAt( sAdobeEncryptedKey.charAt(i) );
  40.    }
  41.    return sAdobeDecryptedKey;
  42. }
RAW Paste Data