Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / A freeware plugin from me

Author
Message
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Dec 2005 01:46
I thought I would post in Geek Culture as most of the people who use the forum come in geek culture. If it needs to be moved then I dont mind


ANNOUNCING EZ-SERIAL

This plugin offers a couple of features, but the primary feature is the ability to add serial code protection to your games easily using just 2 simple commands. There is a full manual in the archive that tells you each command and how to use it. Here is an example of the codes it can generate:-



This was going to be part of a larger release which offered many security features, but im going to have to put it on hold for a time. It was also going to be shareware, but considering how much I have gotten from this community, and that its Christmas, its only fair to give a little something back, so this is it!. Have at it guys.


Btw. If you use it a lot, then feel free to donate

http://logicstudios.net/donate.html

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Dec 2005 01:47
In the excitement of releasing a new plugin, I forgot to actually upload it. Apologies and all that stuff.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !

Attachments

Login to view attachments
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 23rd Dec 2005 02:22
Wow, this could come in handy. Thanks

Kangaroo2 BETA2
21
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: Somerset / UK
Posted: 23rd Dec 2005 02:42
Thats very generous of you Mnemonix, thank you I may well use this at a later date


Preorder EA here:http://forum.thegamecreators.com/?m=forum_view&t=67575&b=8&p=0
+ Model Pro out now in Program Announcements!
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Dec 2005 13:41
Also, upon request, I will provide a user with a personalised compile of the dll file, which allows the codes generated to be completely unique, even if the data keys used are the same as somebody elses!.

If you need this then email me at mnemonixNO-SPAM@logicstudios.net

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 23rd Dec 2005 18:10
I still think sticking all the code into a single dll makes it way too easy to crack. Especially with the way dbpro just attaches plugins to the exe making it easy to swap the dll with a replacement.

All you need to do is write a replacment dll with a validate function that ignores the strings passed to it and always returns 1. Then just swap the dll appended to the exe with the replacement. The format dbpro uses to attach files is known and pretty simple so this isn't too hard to do.

By way of demonstration, he emitted a batlike squeak that was indeed bothersome.
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 23rd Dec 2005 18:23
Perhaps if Mnem released the source we could incorporate it into the actual DBP or PB EXEs ourself? Then it would be harder to crack (I'd imagine).

Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 23rd Dec 2005 18:32
This sounds cool. But is it completely impossible to generate the same code twice? Also, can't you just generate you own serials with this plugin, and then use the generated code to 'hack' another product that's using this plugin?


I can't be fired... Slaves are SOLD!
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 23rd Dec 2005 20:36
Quote: " But is it completely impossible to generate the same code twice?"


No, just very unlikely.

Quote: "Also, can't you just generate you own serials with this plugin"


You need to know all the data keys that that software is using, and also they need to be using the same compile of the dll as you are.

If anybody has suggestions for improving it then email them to me directly please. Im not sure if I will work any more on it though.

The plugin should be adequate to add at leastsome protection to your applications.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 26th Dec 2005 16:46
Has anybody used this yet? Would be interesting to see what people are doing with it.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 26th Dec 2005 17:18
I just made a small project to test it. When you open the program for the first time, it asks you to register, you only type in your name, then the program close. Now you will find a txt file in your folder with a unique serial number in it. Open the program again and it will ask you to enter the serial number. If you write it corrent it will print "YOU HAVE REGISTERED!!!" if you typed it wrong, it will pring "The serial number is not valid".

I don't know what it should help, I just wanted to test the dll And it works as it should!

Good job!

-The Nerd

Free Particle Engine For dbpro :
here
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 26th Dec 2005 17:51
But of course it does!.

I might make a sample project and post it here.
Its also VERY easy to use, as all DBP plugins should be

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
geecee3
20
Years of Service
User Offline
Joined: 25th Feb 2004
Location: edinburgh.scotland.
Posted: 1st Jan 2006 18:05
this is a little gem of a program and should be embraced by those with a bit of commercial aspiration or those who want to protect the use of their programs, it's a groovy idea and very well executed.

Thanks for this mnem.

Grant.

Ohd Chinese Ploverb say : Wise Eskimo, not eat yerrow snow.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 2nd Jan 2006 01:20 Edited at: 2nd Jan 2006 01:23
Quote: "You need to know all the data keys that that software is using, and also they need to be using the same compile of the dll as you are."


Both of which are not too difficult to get. The dll is easy, just run the program and snatch it from the windows TEMP dir. Since the serial generation and checking functions are in the same dll you can use the dll as a keygen once you get the data keys.

The data keys are harder but still not difficult. Easy with a debugger since they are just passed to the dll.
Or another way would be to write your own dll with a validation funtion that just used a messagebox to show the values of the data keys. Swap the dll in the exe with this new one and run the exe and the data keys will be shown when you enter a serial number.

I really wounldn't use this to protect commercial products, it's just too weak. You average cracker will have it beaten in well under 10 minutes, probably even under 5 minutes.

If you just want a little protection with no messing about then it is great. For stuff like closed betas where you just want to stop people sharing the file it would probably be more than enough.

If the license of the protector allows it protect an exe and ask people to try and crack it. Should at least weed out the protectors that are not worth bothering with.

By way of demonstration, he emitted a batlike squeak that was indeed bothersome.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 2nd Jan 2006 02:02
Mnem, just an idea, upon loading, the DLL could check it's own code and compare to a pre-made signature to make sure no-one has messed with it. If it could check the DBP's _virtual.dat file would also be interesting, but I don't see any way of doing so.
Still crackable (as uncrackable is impossible), but it'll now take them 10 minutes rather than 5.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 2nd Jan 2006 03:12
Thanks for posting methods on how to crack it the_winch, except it wont be as usable as a keygen as you say, because (for people who request it) they get a individualized version of the plugin, which has a different lookup table in it, so it generates completely different codes.

I dont recommend using it for anything really sensitive, just for that extra bit of protection

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 2nd Jan 2006 11:16
But when you compile a DBP project, all dependable DLL's are copied into the EXE. When the EXE is run, the DLL's are then extracted to a temporary folder (along with several other files) in the Windows Temp directory. It's not hard to obtain the DLL, so making individual versions of this plugin is next to useless. It's hardly a fault with your plugin though, more with the insecurity of DBP.


"Computers are useless, they can only give you answers."

Login to post a reply

Server time is: 2024-11-16 07:52:06
Your offset time is: 2024-11-16 07:52:06