gamelly / gly-engine

A cross-platform embeddable lua game engine such as ginga, pc, mobile, browser and its own console like a Wii clone.
https://docs.gamely.com.br
Apache License 2.0
36 stars 7 forks source link

feat: create a hash.fingerprint module #35

Open RodrigoDornelles opened 3 months ago

RodrigoDornelles commented 3 months ago

an DJB2 about machine and system of user.

Ginga

lnpotter commented 1 month ago

In Windows, there is a command called wmic os which returns relevant information about the user's operating system. As required, I have listed here some information that can be used to compose the hash fingerprint module.

C:\Users\X>wmic os
BootDevice: \Device\HarddiskVolume1
BuildNumber: 19045
BuildType: Multiprocessor Free
Caption: Microsoft Windows 10 Home Single Language
CodeSet: 1252
CountryCode: 55
CreationClassName: Win32_OperatingSystem
CSDVersion: 
CSName: DESKTOP-XXXXXXX
CurrentTimeZone: -180
FreePhysicalMemory: 3124824
InstallDate: 20240826170518.000000-180
Manufacturer: Microsoft Corporation
MaxNumberOfProcesses: 4294967295
MaxProcessMemorySize: 137438953344
Name: Microsoft Windows 10 Home Single Language|C:\Windows|\Device\Harddisk0\Partition2
NumberOfProcesses: 2
OperatingSystemSKU: 195
OSArchitecture: 64 bits
OSProductSuite: 100
ProductType: 1
RegisteredUser: XXXXXXXXXXXXXXXXXXXXX
SerialNumber: XXXXXXXXXXXXXXXXXXXXXX
ServicePackMajorVersion: 0
ServicePackMinorVersion: 0
Status: OK
Version: 10.0.19045
WindowsDirectory: C:\Windows