Wingide Registration Hack Method calcactivationcode.py

Source: Internet
Author: User
Tags binary to decimal decimal to binary

1) install wingide After successful start, enter license ID when activating cn123-12345-12345-12345

2) Click on the Continue box and copy the request code in the box.

3) Modify the request code in the Python script to the request code value you just received, run the script and get the activation code, fill in to register successfully

ImportshaImportstringBASE2=' on'BASE10='0123456789'BASE16='0123456789ABCDEF'BASE30='123456789ABCDEFGHJKLMNPQRTVWXY'BASE36='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'BASE62='abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz'Basemax=string.printabledefBaseconvert (number, fromdigits, todigits, ignore_negative =True):""" Converts a "number" between-bases of arbitrary digits the input number is assumed-be a string of digits fro M the Fromdigits string (which is in order of smallest to largest digit). The return value is a string of elements from Todigits (ordered in the same). The input and output bases is determined from the lengths of the digit strings.        Negative signs is passed through. Decimal to Binary >>> baseconvert (555,base10,base2) ' 1000101011 ' binary to decimal >>> b    Aseconvert (' 1000101011 ', base2,base10) ' 555 ' integer interpreted as binary and converted to decimal (!) >>> Baseconvert (1000101011,base2,base10) ' 555 ' base10 to Base4 >>> Baseconvert (99,base10, "0        123 ") ' 1203 ' Base4 to BASE5 (with alphabetic digits) >>> Baseconvert (1203," 0123 "," ABCDE ") ' Dee '  BASE5, alpha digits back to base >>> Baseconvert (' Dee ', "ABCDE", BASE10) ' 99 '      Decimal to a base, uses a-z0-9a-z for it digits >>> Baseconvert (257938572394l,base10,base62) ' E7 8Lxik '..  Convert back >>> baseconvert (' E78lxik ', base62,base10) ' 257938572394 ' binary to a base with words for Digits (The function cannot convert this back) >>> Baseconvert (' 1101 ', BASE2, (' Zero ', ' One ')) ' Oneonezeroone         ‘"""    if  notIgnore_negative andSTR (number) [0] = ='-': number= str (number) [1:] Neg= 1Else: Neg=0 x=Long (0) forDigitinchStr (number): X= x * Len (fromdigits) +fromdigits.index (digit) Res="'     whileX >0:digit= x%Len (todigits) Res= Todigits[digit] +Res x/=Len (todigits)ifNeg:res='-'+ResreturnResdefSHAToBase30 (Digest):"""Convert from a hexdigest form SHA hash to a more compact and ergonomic BASE30 representation. This results in a ' digit ' number."""tdigest="'. join ([C forI, CinchEnumerate (Digest)ifI/2 * 2 = =i]) result=Baseconvert (Tdigest, BASE16, BASE30) whileLen (Result) < 17: Result='1'+resultreturnresultdefAddhyphens (code):"""Insert hyphens into given license ID or activation request to make it easier to read"""    returnCode[:5] +'-'+ Code[5:10] +'-'+ code[10:15] +'-'+ code[15:] Licenseid='cn123-12345-12345-12345'#Copy the Request Code from the dialogRequestcode='Rw51d-h2h9h-c1565-6ey29'Hasher=sha.new () hasher.update (Requestcode) hasher.update (Licenseid) Digest=hasher.hexdigest (). Upper () Lichash= Requestcode[:3] +SHAToBase30 (Digest) Lichash=Addhyphens (Lichash)#Calculate the Activation Codedata=[7,123,23,87]tmp=0realcode="' forIinchData: forJinchlichash:tmp= (Tmp*i+ord (j)) &0xfffffRealcode+=format (TMP,'=05x') TMP=0act30=Baseconvert (realcode,base16,base30) whileLen (ACT30) < 17: Act30='1'+Act30act30='AXX'+Act30act30=Addhyphens (ACT30)Print "The Activation Code is:"+act30

Return

Wingide Registration Hack Method calcactivationcode.py

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.