WingIDE 5的安装与破解方法
生活随笔
收集整理的這篇文章主要介紹了
WingIDE 5的安装与破解方法
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
http://blog.csdn.net/liumaolincycle/article/details/47756351
網(wǎng)上大多是替換pyo文件的方法,試了一次不知道為什么出錯了,以前用過這種破解腳本的方法,但是很難找,寫在這里以后方便自己查詢。前提是已經(jīng)安裝好Python。
1.WingIDE 5下載
可以從官方網(wǎng)站下載最新版本,也可以直接用這個5.0.0-1版本。
2.破解腳本
腳本是已經(jīng)寫好的,感謝偉大的原作者。貼出來是怕以后找不到,涉及侵權(quán)問題請告知,馬上刪除。
#CalcActivationCode.py import sha import string BASE2 = '01' BASE10 = '0123456789' BASE16 = '0123456789ABCDEF' BASE30 = '123456789ABCDEFGHJKLMNPQRTVWXY' BASE36 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' BASE62 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz' BASEMAX = string.printable def BaseConvert(number, fromdigits, todigits, ignore_negative = True):""" converts a "number" between two bases of arbitrary digitsThe input number is assumed to be a string of digits from thefromdigits string (which is in order of smallest to largestdigit). The return value is a string of elements from todigits(ordered in the same way). The input and output bases aredetermined 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 with words for digits (the function cannot convert this back)>>> baseconvert('1101',BASE2,('Zero','One'))'OneOneZeroOne'"""if not ignore_negative and str(number)[0] == '-':number = str(number)[1:]neg = 1else:neg = 0x = long(0)for digit in str(number):x = x * len(fromdigits) + fromdigits.index(digit)res = ''while x > 0:digit = x % len(todigits)res = todigits[digit] + resx /= len(todigits)if neg:res = '-' + resreturn resdef SHAToBase30(digest):"""Convert from a hexdigest form SHA hash into a more compact andergonomic BASE30 representation. This results in a 17 'digit' number."""tdigest = ''.join([ c for i, c in enumerate(digest) if i / 2 * 2 == i ])result = BaseConvert(tdigest, BASE16, BASE30)while len(result) < 17:result = '1' + resultreturn result def AddHyphens(code):"""Insert hyphens into given license id or activation request tomake it easier to read"""return code[:5] + '-' + code[5:10] + '-' + code[10:15] + '-' + code[15:]LicenseID='CN123-12345-12345-12345' #Copy the Request Code from the dialog RequestCode='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 Code data=[7,123,23,87] tmp=0 realcode='' for i in data:for j in lichash:tmp=(tmp*i+ord(j))&0xFFFFFrealcode+=format(tmp,'=05X')tmp=0act30=BaseConvert(realcode,BASE16,BASE30) while len(act30) < 17:act30 = '1' + act30 act30='AXX'+act30 act30=AddHyphens(act30) print "The Activation Code is: "+act30- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
3.具體破解
1)先安裝WingIDE,安裝好后打開,激活時選擇第三項,輸入license id CN123-12345-12345-12345(這個license是隨便亂填的)。
2)點擊Continue后彈框,拷貝框中的request code。
3)修改Python腳本中的RequestCode為剛才得到的Request Code值,然后運行腳本,得到一個激活碼。
4)把這個激活碼填入上面的Activate License框中,點擊Continue即可成功注冊。
5)再次打開WingIDE即可正常使用。
總結(jié)
以上是生活随笔為你收集整理的WingIDE 5的安装与破解方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 无法安装.msi文件
- 下一篇: 最新wingide6破解方法(支持Lin