破解Python开发工具wingide-5

简介: WingIDE是一款强大的Python集成开发工具,但是需要license,这里参考大牛的博客:http://lovesoo.org/wingide-zhu-ce-po-jie-fang-fa.html使用Python文件生成key的方式激活WingIDE。

WingIDE是一款强大的Python集成开发工具,但是需要license,这里参考大牛的博客:http://lovesoo.org/wingide-zhu-ce-po-jie-fang-fa.html

使用Python文件生成key的方式激活WingIDE。


首先需要在你的windows上安装好python环境,我用的是python-2.7.13版本

然后下载安装wingide-5.1.8-1.exe

下载链接:http://wingware.com/downloads/wing-pro/5.1.8.1/binaries


安装破解步骤如下:

1)安装WingIDE成功后,点击bin/wing.exe启动,激活时输入license id :CN123-12345-12345-12345

2)点击Continue后弹框,拷贝框中的request code:RW528-XAHEL-1K8NL-M92D3

3)打开提供的activate.py脚本, 需要修改两个地方:

RequestCode='RW528-XAHEL-1K8NL-M92D3'  

LicenseID='CN123-12345-12345-12345'


activate.py内容如下:

#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 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 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 = 1
    else:
        neg = 0
    x = 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] + res
        x /= len(todigits)

    if neg:
        res = '-' + res
    return res

def SHAToBase30(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([ c for i, c in enumerate(digest) if i / 2 * 2 == i ])
    result = BaseConvert(tdigest, BASE16, BASE30)
    while len(result) < 17:
        result = '1' + result

    return result
def AddHyphens(code):
    """Insert hyphens into given license id or activation request to
    make 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='RW528-XAHEL-1K8NL-M92D3'
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))&0xFFFFF
    realcode+=format(tmp,'=05X')
    tmp=0

act30=BaseConvert(realcode,BASE16,BASE30)
while len(act30) < 17:
    act30 = '1' + act30
act30='AXX'+act30
act30=AddHyphens(act30)
print "The Activation Code is: "+act30


4)然后执行这个activate.py脚本,把输出的结果放到对话框active key里面;

D:\Software\Wing IDE 5.1>python activate.py

The Activation Code is: AXX1K-T6YXC-2BMC2-4N7WK


目录
相关文章
|
5月前
|
开发工具 Python
Python 开发工具 Pycharm —— 使用技巧Lv.2
例子2:方法内使用#号注释,pydoc不会显示注释内容(class同理)
43 0
|
2月前
|
JavaScript 前端开发 开发工具
Python之JavaScript逆向系列——3、浏览器的开发工具——源代码的使用
Python之JavaScript逆向系列——3、浏览器的开发工具——源代码的使用
17 0
|
9月前
|
安全 搜索推荐 数据安全/隐私保护
Python基础之破解加密压缩包
Python基础之破解加密压缩包
171 0
|
4月前
|
IDE Ubuntu 开发工具
Python(五)IDE集成开发工具pycharm安装及配置
工欲善其事,必先利其器。好的开发工具能让我们的开发速度事半功倍。 Python比较好的集成开发工具IDE,大概就是pycharm,以及万物皆可的VScode VScode具体用什么插件比较好还在研究中,今天大概先看下pycharm的安装及配置。 这里分两个系统,ubuntu及windows 一:windows安装及汉化 1 :安装 首先,去官方网站下载安装包,专业版是要花钱购买的,我这里选择的是社区版,功能没有专业版那么强大,但是基本上够用。 网址:www.jetbrains.com/pycharm/dow… 下载完成之后,一路下一步安装即可。
60 1
|
5月前
|
开发工具 Python
Python 开发工具 Pycharm —— 使用技巧Lv.3
: 单步运行图标,点击让程序运行一行 4: 步入步出,可以进入当前代码行函数内 5:重新运行,修改之后或者运行完成后想要再次运行 点此再次运行
28 0
|
5月前
|
开发工具 Python
Python 开发工具 Pycharm —— 使用技巧Lv.1
Basic code completion Ctrl+空格 is available in the search field when you search for text in the current file Ctrl+F, so there is no need to type the entire string
22 0
|
5月前
|
测试技术 Linux 开发工具
python开发工具pycharm使用简介
python开发工具pycharm使用简介
|
8月前
|
IDE 编译器 测试技术
【从零学习python 】02. 开发工具介绍
【从零学习python 】02. 开发工具介绍
47 1
|
10月前
|
数据安全/隐私保护 Python
【excel】python破解excel加密视图
【excel】python破解excel加密视图
114 0

热门文章

最新文章