#!/usr/bin/python
def keygen(os,requestHash,version):
_os,v29,v28,v27,v26 = os,0,0,0,0
if(os != 'windows'):
if(os != 'macosx'):
if(os != 'linux'):
if(version == '2'):
v6,v5,v24,v25 = 123,202,97,211
elif(version == '3'):
v6,v5,v24,v25 = 127,45,209,198
else:#linux
if(version == '2'):
v6,v5,v24,v25 = 48,104,234,247
elif(version == '3'):
v6,v5,v24,v25 = 254,52,98,235
else:#macosx
if(version == '2'):
v6,v5,v24,v25 = 41,207,104,77
elif(version == '3'):
v6,v5,v24,v25 = 128,178,104,95
else:#windows
if(version == '2'):
v6,v5,v24,v25 = 142,43,201,38
elif(version == '3'):
v6,v5,v24,v25 = 23,163,2,115
v8=0
if(len(requestHash)):
while True:
v10=v29 * v6 + ord(requestHash[v8])
v29= v10 & 0xFFFFF
v8+=1
if not(v8 < len(requestHash)):break
v12=0
if(len(requestHash)):
while True:
v14= v28*v5+ord(requestHash[v12])
v28=v14 & 0xFFFFF
v12+=1
if not (v12 < len(requestHash)):break
v16 = 0
if( len(requestHash) ):
while True:
v18=v27*v24+ord(requestHash[v16])
v27=v18&0xFFFFF
v16+=1
if not (v16 < len(requestHash)):break
v20=0
if(len(requestHash)):
while True:
v22=v26*v25+ord(requestHash[v20])
v26=v22&0xFFFFF
v20+=1
if not (v20<len(requestHash)):break
pDest= "%.5X%.5X%.5X%.5X" % (v29,v28,v27,v26)
return pDest
def BaseConvert(number,fromdigits='0123456789ABCDEF',todigits='123456789ABCDEFGHJKLMNPQRTVWXY'):
x=long(0)
for digit in str(number):
x=x*len(fromdigits) + fromdigits.index(digit)
res=''
while True:
if not(x>0):break
digit= x % len(todigits)
res=todigits[digit]+res
x= x / len(todigits)
return res
if( __name__ == "__main__" ):
"""
Generates 'unlimited non-commercial open source use only' license for WingIDE
You can use it without any restrictions
"""
import random
dict='123456789ABCDEF'
lic='NN'
for x in range(18):
lic+=random.choice(dict)
print
print "WingIDE Key Generator by akdeniz"
print
print "Enter this licence id : ",lic
hashReq= raw_input("Enter request code ['XXXXX-XXXXX-XXXXX-XXXXX']: ")
if(len(hashReq)!=23):
exit(0)
version= raw_input('Enter version code [2 , 3] : ')
if not(version in ['2','3']):
exit(0)
os= raw_input("Enter os type [windows , linux , macosx] :")
if not(os in ['windows','linux','macosx']):
exit(0)
key=keygen(os,hashReq,version)
key=BaseConvert(key)
key='AXX'+key
print "Activation key : ",key
27 Temmuz 2010 Salı
Wing IDE keygen
I have quite reverse engineering background but I have never tried to disassemble python bytecode. But i found it not so hard. Anyway i disassembled some files of Wing IDE to prepare this keygen. Here it is..
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder