Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 20783

HOW TO GET HWID WITH PYTHON

by Grayzcale - 13 September, 2019 - 09:50 AM
This post is by a banned member (Grayzcale) - Unhide
This post is by a banned member (K1NG9IN) - Unhide
K1NG9IN  
Supreme
184
Posts
98
Threads
5 Years of service
#2
(13 September, 2019 - 09:50 AM)AIphaZ Wrote: Show More
read title....

Code:
import subprocess
def GetUUID():
   cmd = 'wmic csproduct get uuid'
   uuid = str(subprocess.check_output(cmd))
   pos1 = uuid.find("\\n")+2
   uuid = uuid[pos1:-15]
   return uuid
print(GetUUID())
 
 
This post is by a banned member (Grayzcale) - Unhide
This post is by a banned member (Grayzcale) - Unhide
This post is by a banned member (LeFrenchFrog) - Unhide
21
Posts
2
Threads
5 Years of service
#5
(14 September, 2019 - 05:10 PM)AIphaZ Wrote: Show More
This is a bump

(13 September, 2019 - 09:58 AM)K1NGPIN Wrote: Show More
(13 September, 2019 - 09:50 AM)AIphaZ Wrote: Show More
read title....

Code:
import subprocess
def GetUUID():
   cmd = 'wmic csproduct get uuid'
   uuid = str(subprocess.check_output(cmd))
   pos1 = uuid.find("\\n")+2
   uuid = uuid[pos1:-15]
   return uuid
print(GetUUID())
Can you solve the problem?
Use the code he gave you, for his answer you get the UUID more info :
https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystemproduct?redirectedfrom=MSDN
This post is by a banned member (Grayzcale) - Unhide
This post is by a banned member (LeFrenchFrog) - Unhide
21
Posts
2
Threads
5 Years of service
#7
(22 September, 2019 - 01:11 AM)AIphaZ Wrote: Show More
(19 September, 2019 - 05:39 PM)LeFrenchFrog Wrote: Show More
(14 September, 2019 - 05:10 PM)AIphaZ Wrote: Show More
This is a bump

Can you solve the problem?
Use the code he gave you, for his answer you get the UUID more info :
https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystemproduct?redirectedfrom=MSDN

But how would I get the HWID of the user with Python to add auth to my projects?

I think you don't get how HWID works, there isn't a "general HWID". It's a term you use to get something that identifies the persons computer. Think of the machine ID or CPU ID , GPU serial , Motherboard Serial etc
This post is by a banned member (Grayzcale) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 6 Guest(s)