WingIDE5的破解

王朝学院·作者佚名  2016-08-27
窄屏简体版  字體: 小  |  中  |  大  |  超大  

Wing IDE百度百科

1、安装好Python,已测的是Python 2.7.10;

2、新建一个py文件CalcActivationCode.py(名字自己随便取);

3、CalcActivationCode.py的代码如下:

#从本文件中 LicenseID 后的引号内把ID复制到粘贴板,安装完后第一次运行的时候,在第二个选项输入此LicenseID,输入后,会给出一个Request Code,复制后粘贴到本文件的RequestCode后的引号内,再用python运行本程序即可得到激活码,把激活码复制粘贴到程序注册界面即可。对于已经成功安装过以前的5.x版的系统,卸载后再安装,默认就已经激活。importshaimportstring

BASE2='01'BASE10='0123456789'BASE16='0123456789ABCDEF'BASE30='123456789ABCDEFGHJKLMNPQRTVWXY'BASE36='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'BASE62='ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz'BASEMAX=string.PRintabledefBaseConvert(number, fromdigits, todigits, ignore_negative =True):"""converts a "number" between two bases of arbitrary digits

The input number is assumed to be a string of digits from 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 way). The input and output bases are

determined from the lengths of the digit strings. Negative

signs are passed through.

decimal to binary

>>> baseconvert(555,BASE10,BASE2)

'1000101011'

binary to decimal

>>> baseconvert('1000101011',BASE2,BASE10)

'555'

integer interpreted as binary and converted to decimal (!)

>>> baseconvert(1000101011,BASE2,BASE10)

'555'

base10 to base4

>>> baseconvert(99,BASE10,"0123")

'1203'

base4 to base5 (with alphabetic digits)

>>> baseconvert(1203,"0123","abcde")

'dee'

base5, alpha digits back to base 10

>>> baseconvert('dee',"abcde",BASE10)

'99'

decimal to a base that uses A-Z0-9a-z for its digits

>>> baseconvert(257938572394L,BASE10,BASE62)

'E78Lxik'

..convert back

>>> baseconvert('E78Lxik',BASE62,BASE10)

'257938572394'

binary to a base withWords for digits (the function cannot convert this back)

>>> baseconvert('1101',BASE2,('Zero','One'))

'OneOneZeroOne'"""ifnotignore_negativeandstr(number)[0] =='-':

number= str(number)[1:]

neg= 1else:

neg=0

x=long(0)fordigitinstr(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 into a more compact and

ergonomic BASE30 representation. This results in a 17 'digit'

number."""tdigest=''.join([ cfori, cinenumerate(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='ENX27-HWM6G-XYVFA-165VM'#Copy the Request Code from the dialog#RequestCode='RW53C-AMJRB-4384T-FEW65'#从本文件中 LicenseID 后的引号内把ID复制到粘贴板,安装完后第一次运行的时候,在第二个选项输入此LicenseID,输入后,会给出一个Request Code,复制后粘贴到本文件的RequestCode后的引号内,再用python运行本程序即可得到激活码,把激活码复制粘贴到程序注册界面即可。RequestCode='RW51D-Q4RHJ-482H4-3T98C'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=0

realcode=''foriindata:forjinlichash:

tmp=(tmp*i+ord(j))&0xFFFFFrealcode+=format(tmp,'=05X')

tmp=0

act30=BaseConvert(realcode,BASE16,BASE30)whilelen(act30) < 17:

act30='1'+act30

act30='AXX'+act30

act30=AddHyphens(act30)print"The Activation Code is:"+act30

4、运行CalcActivationCode.py,获得激活码Activation Code,输入及可激活,目前亲测5.1.8

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航