Jump to content

HWID Protection


Recommended Posts

Hi,

I have an another problem ... i'm using this script for getting HWID : 

#include <Crypt.au3>

MsgBox(4096, '', _GetHWID())

Func _GetHWID()
    Local $aDrives = DriveGetDrive('FIXED'), $sOutput = ''
    If @error = 0 Then
        For $i = 1 To $aDrives[0]
            $sOutput &= DriveGetSerial($aDrives[$i])
        Next
    EndIf
    $aDrives = DriveGetDrive('CDROM')
    If @error = 0 Then
        For $i = 1 To $aDrives[0]
            $sOutput &= DriveGetSerial($aDrives[$i])
        Next
    EndIf
    Local $aMemory = MemGetStats()
    $sOutput &= @OSVersion & @OSBuild & @OSArch & @CPUArch & @KBLayout & $aMemory[1]
    $aMemory = 0
    $sOutput = StringStripWS($sOutput, 8)
    Local $sHash = StringTrimLeft(_Crypt_HashData($sOutput, $CALG_MD5), 2)
    Return '{' & StringMid($sHash, 1, 8) & '-' & StringMid($sHash, 9, 4) & '-' & StringMid($sHash, 13, 4) & '-' & StringMid($sHash, 17, 4) & '-' & StringMid($sHash, 21, 12) & '}'
EndFunc ;==>_GetHWID

I got my HWID and i wanna add that to my script. and i will release it on other forums. for example ; if user has 300 replies on forum , user can use my script. if not he can't. Sorry for bad english >.>

i wanna do that. how can i do that ? o.O

Edited by BlackBerryx3
Link to comment
Share on other sites

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!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...