Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[TUT][VB.NET] Hardware ID Registration

Sorry, thanks guys Im an idiot.
Where in the source do we paste it?

kik: ray
donations: 1rayyy1A5g9Ku7Vti4JrjzW3r9uFnXccm
above everything in the sorce (above class form1)
paste imports system.management
(Dec 26, 2009 04:07 PM)ColdIce Wrote:  Public Class Form1
Public cpuInfo As String = String.Empty
Public hwid As String = cpuInfo
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim wr As New WebClient

Dim mc As New ManagementClass("win32_processor")
Dim moc As ManagementObjectCollection = mc.GetInstances()

For Each mo As ManagementObject In moc
If cpuInfo = "" Then
cpuInfo = mo.Properties("processorID").Value.ToString()
Exit For
End If
Next
hwid = cpuInfo
Dim url = wr.DownloadString("http://YOURWEBSITE.com/HID3.php?id=" & hwid)
Dim parts = Split(url, "|", , CompareMethod.Text)

If Not parts(0) = "OK" Then
MsgBox("Bad HWID verification, application will close")
Application.Exit()
End If
wr.Dispose()
End Sub
End Class

Code
Now you got a application to check if your hardware id is registered!

3:
Lets do some PHP programming.
[php]

<?php

if ($_GET['id'] != ''){
    $puntero = fopen('HID3.txt', 'r');
    while(!feof($puntero)){
        $base = explode('|', fgets($puntero));
        if($base[0] == $_GET['id']){
            fclose($puntero);
            $checksum = 0;
            for ($i=24; $i<35; $i++) {
                $checksum += $_GET['id']{$i} * $i;
            }
            echo 'OK|'.$base[1].'|'.$checksum;
            exit;
        }
    }
    fclose($puntero);
    echo "<error>ERROR</error>";
}else{
    echo "<error>ERROR</error>";
}

?>

Create a new php-file and paste this in and save it as: HID3.php

4:
Create a textfile and paste this in:
Code
HWID|Member| Comment.
Save it as: HID3.txt and upload to your website.



If you want to add more hardware id's to textfile do this:
Code
HWID|Member| Comment.
HWID|Member| Comment.
HWID|Member| Comment.
Just add more lines below each other!



Hey I'm new to VB, so I don't know where to put that code lol.
Any help please?
Nice sharing.
+rep.
Very nice, thanks for share. Let's me try!
Nice thread mate!
Thanks for that!
01
Wow. Great tut. I was going to use ID verification on my crypter and you just made my job a tun easier. Thanks +1.
NP, any questions? Just ask ;)
very nice tutorial and good work man just keep doing your work
Finally something more advanced .. me likey ✌
Very good .. I got this baby working nice, this is really good tutorial ..
This is a very good tut well done man for this
Very good, thanks a lot but i have an error:
this is my php webpage:
http://quick05.ifrance.com/HID3.php

But it's say ER and the application say me "Bad Hwid..."
Why i get an error in my php file ?

Sorry for my bad english
I followed every step of this and with SPAM but everytime I try to 'Check' the database it says 'Bad HWID' even if it's the good one?

Little help please o.o


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by +HazeAug 28, 2015 07:43 AM 52 5,851 Aug 28, 2015 07:43 AM
Last Post: Odus
[C#] by SIM-1947090Mar 28, 2015 10:01 AM 4 168 Mar 28, 2015 10:01 AM
Last Post: SIM-1947090
[.NET] by +HazeDec 30, 2014 11:59 AM 42 2,266 Dec 30, 2014 11:59 AM
Last Post: +Haze