forked from dabear/kms-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
randomPID.py
31 lines (25 loc) · 1022 Bytes
/
randomPID.py
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
import kmsPidGenerator
#Variables
lcid = 1033
# 1033 (english) is en-us
# 1034 (spanish) is es-es
# 1041 (japanese) is ja
applicationId = "55C92734-D682-4D71-983E-D6EC3F16059F" #Windows
applicationId2 = "0FF1CE15-A989-479D-AF46-F275C6370663" #Office 15 (2013)
applicationId3 = "59A52881-A989-479D-AF46-F275C6370663" #Office 14 (2010)
versionMajor = 6 # KMS Version
# 6 for date starting October 17, 2013
# 5 for date starting September 4, 2012
# 4 for date starting February 16, 2011
#Responses
response = kmsPidGenerator.epidGenerator('applicationId', versionMajor, lcid)
response2 = kmsPidGenerator.epidGenerator('applicationId2', versionMajor, lcid)
response3 = kmsPidGenerator.epidGenerator('applicationId3', versionMajor, lcid)
print "\nFor Windows: ", response
print "\nFor Office 2013: ", response2
print "\nFor Office 2010: ", response3
#-----------------------------------------------------------------------------
#HWID Section
import uuid
key = uuid.uuid4().hex
print "\nRandom hwid: ", key[:16]