We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8d44e1 + d88f4cb commit c4222deCopy full SHA for c4222de
keyauth.py
@@ -457,7 +457,9 @@ class others:
457
@staticmethod
458
def get_hwid():
459
if platform.system() != "Windows":
460
- return subprocess.Popen('hal-get-property --udi /org/freedesktop/Hal/devices/computer --key system.hardware.uuid'.split())
+ with open("/etc/machine-id") as f:
461
+ hwid = f.read()
462
+ return hwid
463
464
cmd = subprocess.Popen(
465
"wmic useraccount where name='%username%' get sid", stdout=subprocess.PIPE, shell=True)
0 commit comments