Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Programming Tutorials › [TUT][VB.NET] Hardware ID Registration

Cool[TUT][VB.NET] Hardware ID Registration

Posts 1–15 of 24 · Page 1 of 2
ST
steph777
[TUT][VB.NET] Hardware ID Registration
1:
First get a website you can host two files on, like 000webhos*****m.
2:
This is a VB.net code, make sure you have add reference to System.Management.dll
Code:
Imports System.Management
Imports System.Net

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
Now you got a application to check if your hardware id is registered!

3:
Lets do some PHP programming.
<?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!

To get your hardware id, use this vb.net code
Code:
Imports System.Management


        Dim cpuInfo As String = String.Empty
        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

        TextBox1.Text = cpuInfo
Credits:
ColdIce
Me

Have Fun!
#1 · 15y ago
Julma Henri
Julma Henri
What this actually does ?
#2 · 15y ago
ST
steph777
Quote Originally Posted by iSuckX View Post
What this actually does ?
Read the whole thing and you'll find out.
#3 · 15y ago
Julma Henri
Julma Henri
Quote Originally Posted by steph777 View Post
Read the whole thing and you'll find out.
Okay .
#4 · 15y ago
Melodia
Melodia
Yay, VBCrap and PHP useless Leeching in the Coders Lounge.

And I said I had faith in this section.
At least post it in VBThing or just don't post useless leeched thingies that aren't constructive at all for development oe anything, just basic knowledge on fugly .Net ; My Opinion.
#5 · 15y ago
freedompeace
freedompeace
Shoo, wrong section you !
#6 · 15y ago
Hassan
Hassan
Quote Originally Posted by Melodia View Post
Yay, VBCrap and PHP useless Leeching in the Coders Lounge.

And I said I had faith in this section.
At least post it in VBThing or just don't post useless leeched thingies that aren't constructive at all for development oe anything, just basic knowledge on fugly .Net ; My Opinion.
Lol, hates .NET to the max !!
#7 · 15y ago
Melodia
Melodia
Quote Originally Posted by Xscapism View Post


Lol, hates .NET to the max !!
Some controls, methods, crap and stuff are useful, Whole thing is Micrapsoft renaming things and making a thing dependant of more crap and Virtualization, Dunnlike.
#8 · edited 15y ago · 15y ago
Hassan
Hassan
Quote Originally Posted by Melodia View Post
Some controls, methods, crap and stuff are useful, Whole thing is Micrapsoft renaming things and making a thing dependant of more crap and Virtualization, Dunnlike.
Useful is useful, but agree with the dependency thing tho !!
#9 · 15y ago
ST
steph777
Quote Originally Posted by Xscapism View Post


Useful is useful, but agree with the dependency thing tho !!
Yay i'm useful for something
#10 · 15y ago
Hassan
Hassan
Quote Originally Posted by steph777 View Post
Yay i'm useful for something
I was talking to mel. You should just GTFO with your useless tutorials. Post them in appropriate sections FFS !!!
#11 · 15y ago
ST
steph777
Quote Originally Posted by Xscapism View Post

I was talking to mel. You should just GTFO with your useless tutorials. Post them in appropriate sections FFS !!!
Now i'm not useful for nothin
#12 · 15y ago
Hassan
Hassan
Quote Originally Posted by steph777 View Post
Now i'm not useful for nothin
We just requesting that post your leeched tutorials to tutorials section !!! You can be useful if you post there !!
#13 · 15y ago
Void
Void
Daaaum, wrong section. Didn't you see a section called 'Visual Basic' or 'Tutorials' while scrolling down here?
#14 · 15y ago
why06
why06
Quote Originally Posted by steph777 View Post
Now i'm not useful for nothin
It's not a big deal since you prbly weren't useful for much anyway. Look at it this way. Now you went from being not useful to a slight nuisance.
#15 · 15y ago
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Similar Threads

  • [TUT] VB.net DirectX [TUT]By XGelite in Visual Basic Programming
    19Last post 16y ago
  • *Updated* Nexon Registration Tut 2/10/08By Hispiforce in WarRock Korea Hacks
    265Last post 17y ago
  • [TUT]Unban Hardware ban!!!By xxpagxx in WarRock - International Hacks
    76Last post 19y ago
  • Tut How To Set Up Mpgh.Net PublicsBy Cheesesong in CrossFire Hacks & Cheats
    10Last post 17y ago
  • [Tut] unban hardware, second methodBy bagpiperdude90 in WarRock - International Hacks
    7Last post 19y ago

Tags for this Thread

None