Python Wing IDE5.1.8-1 KeyGen

源码来源于PYG老大的博客: http://www.dllhook.com/post/36.html

测试官网最新版可以注册成功:

源码是Python写的,所以需要先安装Python2.7, 3.x的不能运行,飘大已经在博客说了。

注册机源码:

# -*- coding: cp936 -*-
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:]

#Fixed By PiaoYun  改为EN开头,可以支持升级
print("Wing IDE 5.0.8 KeyGen\n请在软件界面输入:EN123-12345-12345-12345 并继续\n");
LicenseID =‘EN223-57414-34329-41119‘
#Copy the Request Code from the dialog
#RequestCode =‘RW519-2FW42-1TDRK-VGMW7‘
RequestCode = input("请输入Request Code字符串:\n")

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

安装完Wing IDE,运行,查看源码94行,复制那里的EN开头的Key(key里面的数字可以任意换,符合key的格式就可以),如图:

然后continue,不想输入,直接在源码中吧查询的code改一下就可以了,把输入的语句注释掉,如图:

运行Python代码即可:

时间: 2024-08-25 10:26:09

Python Wing IDE5.1.8-1 KeyGen的相关文章

python Wing IDE编辑器的中文显示解决方法

在安装好Wing IDE编辑器之后,输入中文的时候会出现小方格,也就是默认不能显示中文.这个时候我们需要修改编辑器默认的字体. 解决方法如下: 解决的办法是找到 pango.aliases 文件. 如:C:\Program Files\Wing IDE 4.1\bin\gtk-bin\etc\pango目录下 编辑pango.aliases可以用记事本打开,也可以选择你熟悉的任何代码编辑器 修改为如下: courier = "microsoft yahei" sans = "

linux-find查找

导语:whichwhereislocatefind 查找which 只能查询命令#which rpm whereis 可以查询命令和配置文件的位置#whereis rpm#whereis passwd whatis#whatis rpm 和下面命令一样的效果,查询rpm命令都在哪章man有解释#man -f rpm locate 维护着一个查询数据库 #vim /etc/updatedb.conf 1)文件系统类型 2)目录 如果被更改之后,需要更新数据库 #updatedb 手动更新数据库 #

Wing IDE 5 for Python 安装及破解方法

安装Wing IDE 官网下载deb安装文件 开始安装程序 dpkg -i 文件名.deb 安装完成后打开注册界面,输入下面的License ID 后得到RequestCode,将RequestCode替换掉源文件Key.py中的RequestCode 运行代码(前提已经安装了python),得到激活码 输入激活码,即可破解 源代码Key.py如下 1 import sha 2 import string 3 BASE2 = '01' 4 BASE10 = '0123456789' 5 BASE

Wing IDE 如何设置 python版本

机器上同时装了Python3和Python2,使用Wing IDE, 因为Python2和3是有很大的区别的,所以时不时的需要更改IDE使用的Python版本,下面介绍方法: 1.打开Edit标签下的Configure Python...,如下图设置所用的,Python版本安装的目录即可 (Python Executable 和 Python Path 这个两个) 2.若使用默认的版本,再改回Use default 模式即可 版权声明:本文为博主原创文章,未经博主允许不得转载.

Wing IDE 怎样设置 python版本号

机器上同一时候装了Python3和Python2,使用Wing IDE, 由于Python2和3是有非常大的差别的,所以时不时的须要更改IDE使用的Python版本号.以下介绍方法: 1.打开Edit标签下的Configure Python...,例如以下图设置所用的,Python版本号安装的文件夹就可以 (Python Executable 和 Python Path 这个两个) 2.若使用默认的版本号,再改回Use default 模式就可以

Python 代码性能优化技巧

10 个 Python IDE 和代码编辑器 1. Vim 2. Eclipse with PyDev 3. Sublime Text 4. Emacs 5. Komodo Edit 6. PyCharm 7. Wing 8. PyScripter 9. The Eric Python IDE 10. Interactive Editor for Python 获取帮助 你可以很容易的通过Python解释器获取帮助.如果你想知道一个对象(object)是如何工作的,那么你所需要做的就是调用hel

python 学习总结1 线程与进程

第一次写博客 进程的定义: 程序并不能单独运行,只有将程序装载到内存中,系统为它分配资源才能运行,而这种执行的程序就称之为进程.程序和进程的区别就在于:程序是指令的集合,它是进程运行的静态描述文本:进程是程序的一次执行活动,属于动态概念. 在多道编程中,我们允许多个程序同时加载到内存中,在操作系统的调度下,可以实现并发地执行.这是这样的设计,大大提高了CPU的利用率.进程的出现让每个用户感觉到自己独享CPU,因此,进程就是为了在CPU上实现多道编程而提出的 有了进程为什么还要线程? 进程有很多优

转载八个最佳Python IDE

八个最佳Python IDE 作者:chszs,转载需注明.博客主页:http://blog.csdn.net/chszs Python是一种功能强大.语言简洁的编程语言.本文向大家推荐8个适合Python开发的IDE. 1. Eclipse with PyDev http://pydev.org/ Eclipse+PyDev插件,很适合开发Python Web应用,其特征包括自动代码完成.语法高亮.代码分析.调试器.以及内置的交互浏览器. 2. Komodo Edit http://komod

python IDE

最终未在纠缠pyhton自由IDE该. 一旦开放源码python IDE真不容易使用. 比较著名的商业软件最早是是Komodo IDE和Wing IDE.他们也有免费版,但最重要的Debug功能阉割了,全鸡. 这两年JetBrains的各种IDE后来者居上.出了商业版的pyCharm. 最重要的还公布了一个开源版的pyCharm Community Edition.全部Python须要的基础功能都有.调试.自己主动完毕等等.仅仅是把专业版支持的Web开发,多种脚本语言支持去掉了. 对于不用pyh