Make hardware-id random in scripts #65

This commit is contained in:
simonmicro 2023-05-06 17:31:22 +02:00
parent 858fb14cab
commit 92ec80b698
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
2 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,7 @@ You may want to select the locale ID of your country instead.
See [here](https://msdn.microsoft.com/en-us/library/cc233982.aspx) for a list of valid _LCIDs_. See [here](https://msdn.microsoft.com/en-us/library/cc233982.aspx) for a list of valid _LCIDs_.
-w or --hwid <HWID> -w or --hwid <HWID>
> Use specified _HWID_ for all products. Use `-w RANDOM` to generate a random HWID. Default is _364F463A8863D35F_. > Use specified _HWID_ for all products. Use `-w RANDOM` to generate a random HWID. Default is random.
Hardware Identification is a security measure used by Microsoft upon the activation of Hardware Identification is a security measure used by Microsoft upon the activation of
the Windows operating system. As part of the Product Activation system, a unique the Windows operating system. As part of the Product Activation system, a unique
HWID number is generated when the operating system is first installed. The _HWID_ identifies the hardware components that the system HWID number is generated when the operating system is first installed. The _HWID_ identifies the hardware components that the system
@ -232,8 +232,8 @@ ENV RENEWAL_INTERVAL 10080
# hwid # hwid
# Use this flag to specify a HWID. # Use this flag to specify a HWID.
# The HWID must be an 16-character string of hex characters. # The HWID must be an 16-character string of hex characters.
# The default is "364F463A8863D35F" or type "RANDOM" to auto generate the HWID. # The default is "RANDOM" to auto-generate the HWID or type a specific value.
ENV HWID 364F463A8863D35F ENV HWID RANDOM
# log level ("CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG") # log level ("CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG")
# Use this flag to set a Loglevel. The default is "ERROR". # Use this flag to set a Loglevel. The default is "ERROR".

View file

@ -192,8 +192,8 @@ for server OSes and Office >=5', 'def' : None, 'des' : "clientcount"},
'sql' : {'help' : 'Use this option to store request information from unique clients in an SQLite database. Deactivated by default.', 'def' : False, 'sql' : {'help' : 'Use this option to store request information from unique clients in an SQLite database. Deactivated by default.', 'def' : False,
'file': os.path.join('.', 'pykms_database.db'), 'des' : "sqlite"}, 'file': os.path.join('.', 'pykms_database.db'), 'des' : "sqlite"},
'hwid' : {'help' : 'Use this option to specify a HWID. The HWID must be an 16-character string of hex characters. \ 'hwid' : {'help' : 'Use this option to specify a HWID. The HWID must be an 16-character string of hex characters. \
The default is \"364F463A8863D35F\" or type \"RANDOM\" to auto generate the HWID.', Type \"RANDOM\" to auto-generate the HWID.',
'def' : "364F463A8863D35F", 'des' : "hwid"}, 'def' : "RANDOM", 'des' : "hwid"},
'time0' : {'help' : 'Maximum inactivity time (in seconds) after which the connection with the client is closed. If \"None\" (default) serve forever.', 'time0' : {'help' : 'Maximum inactivity time (in seconds) after which the connection with the client is closed. If \"None\" (default) serve forever.',
'def' : None, 'des' : "timeoutidle"}, 'def' : None, 'des' : "timeoutidle"},
'time1' : {'help' : 'Set the maximum time to wait for sending / receiving a request / response. Default is no timeout.', 'time1' : {'help' : 'Set the maximum time to wait for sending / receiving a request / response. Default is no timeout.',