+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Senior Member carb0n's Avatar
    Join Date
    Jun 2008
    Location
    r00t
    Posts
    121

    Generate hardware ID

    Code:
    'code by Carb0n
    'http://somesite.org
    
    Option Explicit
    Dim reg As Object, Pid As Variant, GUID As Variant
    Dim LENGUID As Long, LENPID As Long, TempS As String
    Dim x As Long, SPID As String, SGUID As String, HWID As String
    Const regPID = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId"
    Const regGUID = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid"
    
    Public Function CreateID() As String
    On Error Resume Next
    
    Set reg = CreateObject("wscript.shell")
    Pid = Replace(reg.regread(regPID), "-", "")
    GUID = Replace(reg.regread(regGUID), "-", "")
    
    LENPID = Len(Pid)
    LENGUID = Len(GUID)
        
    For x = 1 To LENPID
    TempS = Hex((Asc(Mid$(Pid, x, 1)) Xor 23) Xor 14)
    SPID = SPID & TempS
    Next x
    SPID = StrReverse(SPID)
    
    For x = 1 To LENGUID
    TempS = Hex((Asc(Mid$(GUID, x, 1)) Xor 23) Xor 14)
    SGUID = SGUID & TempS
    Next x
    SGUID = StrReverse(SGUID)
    HWID = StrReverse(SGUID & SPID)
    CreateID = HWID
    End Function
    
    Private Sub Form_Load()
    Text1.Text = CreateID()
    End Sub
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    21

    weeeeeeeeeeeee!!

    weee!!! nice src!! thanks.

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    1
    thankz for the source but do you have any idea on how to make this in vb.net sir?

  4. #4
    Senior Member ┌∩┐(◣_◢)┌∩┐'s Avatar
    Join Date
    Sep 2009
    Location
    London | United Kingdom
    Posts
    592
    O_O i didnt know carb0n was registerd here
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░
    ░█▀▀░▀█▀░█▀▀░█▀█░█████░░░░░█░█░█▀█░█▀▀░█░█░█▀▀░░░█ ▀▀░█▀█░█████░
    ░▀▀█░░█░░█▀▀░█▀█░█▀█▀█░▀▀▀░█▀█░█▀█░█░░░██░░▀▀█░░░█ ░░░█░█░█▀█▀█░
    ░▀▀▀░░▀░░▀▀▀░▀░▀░▀░▀░▀░░░░░▀░▀░▀░▀░▀▀▀░▀░▀░▀▀▀░▀░▀ ▀▀░▀▀▀░▀░▀░▀░
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░
    ☻/
    /▌
    / \
    http://www.youtube.com/C0nw0nk
    http://www.steam-hacks.com/

  5. #5
    Senior Member ntaryl's Avatar
    Join Date
    Nov 2005
    Posts
    176
    nice source bro
    thanks

  6. #6
    l33t sk1l1s
    Guest
    sik... just code it in vb6 than open the files in vb.net... btw this was on another website. But it had more stuff in it. It had a lot of shit coming with it. I ripped it and repacked it. So im happy but thanks

  7. #7
    Unregistered
    Guest

    smokein crack eh?

    Quote Originally Posted by l33t sk1l1s View Post
    sik... just code it in vb6 than open the files in vb.net... btw this was on another website. But it had more stuff in it. It had a lot of shit coming with it. I ripped it and repacked it. So im happy but thanks
    wtf are you on about ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Generate Password Snippet
    By WEZ_2511 in forum General Programming Help
    Replies: 11
    Last Post: 17-05-2009, 16:27
  2. Hardware Information Library
    By WEZ_2511 in forum Snippets
    Replies: 0
    Last Post: 27-12-2007, 00:32
  3. Generate Random Activex-Key
    By ntaryl in forum Visual Basic Help
    Replies: 2
    Last Post: 02-08-2007, 22:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.