This commit is contained in:
Rileran 2026-01-22 14:54:10 +00:00 committed by GitHub
commit b77d542dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,9 @@ def epidGenerator(kmsId, version, lcid):
except IndexError:
# fallback to Windows Server 2019 parameters.
pkeys.append( ('206', '551000000', '570999999', '[0,1,2]') )
except KeyError:
# ignore malformed/incomplete entries
pass
pkey = random.choice(pkeys)
GroupId, MinKeyId, MaxKeyId, Invalid = int(pkey[0]), int(pkey[1]), int(pkey[2]), literal_eval(pkey[3])