View previous topic :: View next topic |
Author |
Message |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Fri Nov 02, 2007 11:55 am Post subject: [Delphi] Getting hardware specific key? |
|
|
I've been searching in google for: how to find my specific hardware serial key in Delphi but i've failed. Does anybody of you know how to do it?
Even some anticheats use hardware bans ... they are on that way:
they read your key. I want to learn reading it too.
By the way it doesn't matter for which part of the computer you will tell me a method, the video card, the hard drive, the lan card or anything else is good for me.
Thank you for your time reading that.
I hope anybody knows how to do it and could help me. Thanks.
_________________
|
|
Back to top |
|
 |
mapleh4ckz Master Cheater
Reputation: 0
Joined: 20 Sep 2006 Posts: 386 Location: Maplestory
|
Posted: Fri Nov 02, 2007 9:42 pm Post subject: |
|
|
You can use a command prompt command to export the Phisical address (mac address) into a txt file then have your delphi program export the information from the txt.
Have it run this command.
Ipconfig /all >> whatever.txt
make sure you do it in a directory that you want etc... this is how I would do it
Code: |
Echo off
cd %temp%
ipconfig /all >> info.txt
exit |
If it were I, I would have your program export that mac address into the registry and have your program search for it whenever it starts up, If it doesn't exist then it runs those commands and adds it. Tho you can only ban it from that computer if you have your program connect to the internet and check that address to see if it is a valid entry.
But if this is going to be for hackers then I'd think of something else because someone could just go into memory and make the program go to the code that is only suppose to happen if the server says that the address is not banned.[/code]
_________________
|
|
Back to top |
|
 |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Sat Nov 03, 2007 10:34 am Post subject: |
|
|
And is there a way that i can skip the usage of cmd.exe
and make my program to do that?
_________________
|
|
Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
|
Back to top |
|
 |
slippppppppp Grandmaster Cheater
Reputation: 0
Joined: 08 Aug 2006 Posts: 929
|
Posted: Sat Nov 03, 2007 10:59 am Post subject: |
|
|
Ill post a working example of hardware lock for you soon and explain how it works.
|
|
Back to top |
|
 |
linden Master Cheater
Reputation: 0
Joined: 10 Mar 2006 Posts: 319
|
Posted: Sat Nov 03, 2007 11:55 am Post subject: |
|
|
Take a look at Diskid32 source code. It shows how to retreive MAC address and hard drive serial numbers from your PC.
http://www.winsim.com/diskid32/diskid32.html
Although the source is in C, but all you need to know is how to call the proper API's.
|
|
Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
Back to top |
|
 |
|