A recommandation for calculating fingerprint
JiaPai12138 opened this issue · 0 comments
JiaPai12138 commented
Well this is honestly not an issue
The problem i met is that one of my friends' desktop can get its mac address changed on a daily base automatically, i dont know why and how to stop it. So instead of using getnode from uuid module, i chose to use wmi module:
import wmi # pip install WMI
s = wmi.WMI()
motherboardid = s.Win32_BaseBoard()[0].SerialNumber.strip().strip('.')
# then hashlib.sha256(motherboardid.encode('utf-8')).hexdigest()
I am here to check if it is safe enough and feasible.