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.
1 parent d8d44e1 commit d7a45ccCopy full SHA for d7a45cc
keyauth.py
@@ -457,7 +457,10 @@ 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())
+ f = open("/etc/machine-id")
461
+ hwid = f.read()
462
+ f.close()
463
+ return hwid
464
465
cmd = subprocess.Popen(
466
"wmic useraccount where name='%username%' get sid", stdout=subprocess.PIPE, shell=True)
0 commit comments