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.

DarkBASIC Professional Discussion / DarkBasic Pro Addition

Author
Message
dbellis
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 2nd May 2003 02:22
How about having the option for a DBPro version of a lib File i.e. put all your functions in the lib file have the main structure for your engine in the normal exe but call the functions strait from the lib nice way for ppl wanting to show of code but who might want to keep other parts of the code secret you could use it like a dll but for DarckBasic Commands i may also e-mail mike about this se wot they say.


Damian
http://www.eclipsedevelopment.co.uk/
Succession The Betrayal Developer
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 04:07
Technically speaking, you do when using external DLL files. It's an interesting idea though. People would facilitate the option by providing addon functionality but protecting their source code.

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
dbellis
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 2nd May 2003 04:13
my thought exactly you can say have a demo of the lib with a splash screen for users to try but not release code and it cant be modifid
then if they bye it give them the proper lib or code in the lib.

Damian

http://www.eclipsedevelopment.co.uk/
Succession The Betrayal Developer
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 04:15
Maybe in later versions of DBPro, this will be an option when compiling executables, like a Password Protected Lib file which you just throw into the user plugins directory.

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd May 2003 06:29 Edited at: 2nd May 2003 06:29
This is already possible... I believe Hubdule released a tool that does that exact thing. Not sure who actually, but it was pretty recent.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 15:46
I'm not aware of it but keep the gang informed if you do find it

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
Hubdule
23
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 2nd May 2003 16:05
Yes, it's allready been done. You can get it here.

http://www.colorarts.de/prepro/

With this tool you can create code librarys which keep protected code. ... see page for more details.



APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 16:18
Thats incredibly useful, thanks for the link

dbellis, that is most likely exactly what you're looking for

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
n3t3r453r
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Russia
Posted: 2nd May 2003 18:30
Too easy code for protecting libs I've cracked it.

I'd like to change the world, but God doesn't want to give me sources!
Hubdule
23
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 2nd May 2003 18:33
Then help to improve it! Send suggestions to [email protected]

dbellis
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 2nd May 2003 18:48
thx hub great minds think alike

Damian

http://www.eclipsedevelopment.co.uk/
Succession The Betrayal Developer
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd May 2003 21:23
"Too easy code for protecting libs I've cracked it."

So did I, but I believe that it IS secure enough for code libs assuming that it is nothing of major importance.

Current Project: TANK MELÉE [Artwork]

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_101.zip
APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd May 2003 21:25
Doesn't that defeat the whole idea of protected Libs anyway lol.

"Man who looses key to woman's appartment...... He get no nookie" - A wise chinese man.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 3rd May 2003 01:58 Edited at: 3rd May 2003 01:59
Put it this way, I reckon that 9/10 users here couldn't crack it. (Unless I missed a really easy way of doing it)

Mr N is Russian, which explains things Just to proove it though, can you post some of the source from the protected sample?

At the end of the day though, I cracked the compiler, not the DBL pre-processor, so there is little that Hubdule could have done about that.

Current Project: TANK MELÉE [Artwork]

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_101.zip
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd May 2003 04:25
i have a mate who cracked them too, but he's also cracked .lib dll's and has said that the protection is about the same - so i'm not bothered ... i thinks it safe enough

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
n3t3r453r
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Russia
Posted: 3rd May 2003 11:48
It is better to say that 99 from 100 can't crack such things.

@Hubdule
Sorry, I can't help you because of specual methods I used. Simply I worked for FBI in Russia then I was young (..and I was clewer enought to deside not to continue this work )

@Rob
Simply

@Doesn't that defeat the whole idea of protected Libs ...
Every soft can be cracked not only Libs protector. It had been proved.

I think Lib Protector is bad idea util there is person, who has power to uncode such libs without a permission. But may be I'm wrong.

I'd like to change the world, but God doesn't want to give me sources!
n3t3r453r
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Russia
Posted: 3rd May 2003 11:55
> Mr N is Russian, which explains things
You use "Russian" as an adjective I'm offended.

I'd like to change the world, but God doesn't want to give me sources!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd May 2003 12:34
how so... if he called me a Briton i wouldn't be offended - unless you're not actuall Russian, or would you prefer Soviet

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Hubdule
23
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 5th May 2003 14:43
So I should contact Lee to add some changes to the compiler Thx @ all for testing.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 5th May 2003 17:34
@Hubdule

You COULD do a CRC check on the compiler to verify that it has not been altered in any way, but in this case you would need to release a new pre-processor for every version.

Any software can ultimately be cracked though, and considering the limits which you had, you did well

Current Project: TANK MELÉE [Artwork]

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_101.zip
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 5th May 2003 17:36
Why are you offended if I use Russian as an adjective, it simply means the country that you come from, you could say I'm english, and I wouldn't mind.

Current Project: TANK MELÉE [Artwork]

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_101.zip
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 6th May 2003 23:09
The biggest problem with protecting source code is that you are trying to protect it from programmers - the very people who put the hex in hexadecimal...

If you're writting protection to lock out the 'computer wizard' three doors down - that's a piece of cake - but to actually protect a piece of code from somebody who knows what their doing... you must remember that even PGP encoded documents can be read by the person whome it is meant for...

Therefor your only meens of distributing source code securely is in compiled form, and even then if your program reaches enough people and/or is good enough it will get hacked, edited, have it's protection removed and possibly even find somebody writes a 'mod' for it...

If you really really really want to be secure then close your bedroom door and turn the computer off...

Pneumatic Dryll

Login to post a reply

Server time is: 2026-07-11 12:01:25
Your offset time is: 2026-07-11 12:01:25