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 Discussion / How secure is DBC?!

Author
Message
DARKHALO2K
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: UK
Posted: 8th Feb 2006 23:36
Hi there. I recently asked someone if they'd mind me taking the source of their game so that I could attempt to make a more polished version, or at least a new take, on it. They replied with a yes, but said that I would need to use a Hex Editor to obtain the code.
Call me dumb, but this had some alarm bells ringing in my head. If this is possible, then surely anyone could take the source code you may have spent years on putting together?
So, basically, I was wondering if anybody knew for sure, and possibly had any evidence to back their sides up, how secure compiled programs created in DBC are from source stealers?!
Any reply would be appreciated. Thanks.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Feb 2006 05:00
Nothing is truly secure in the digital world.

He basically said "No" not "Yes". If somebody is wiling to give you code they give it to you... they don't force you to spend time to convert hex to the code.


Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 9th Feb 2006 09:21
If you could actually use a hex editor to look at their code, and change it personally you would also be able to get access to any game you want in any language. If they gave you their DB Source code you wouldn't need a Hex editor.... notepad would do.

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Feb 2006 20:20
i think it is unpossible to obtain db source code from hex , becouse when db compiles , it compiles all to the machine language , witch is definatly not db language.

--Dodic--
Don`t try to SEE the future , try to MAKE the future the way you like it.
---------
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Feb 2006 22:31
It could be converted to Assembly pretty quick though.


empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 10th Feb 2006 02:45 Edited at: 10th Feb 2006 02:45
DBC doesn't compile to machine code and (even if it did) it is indeed possible to reconvert it to (something that is close to) a readable source code. In the case of DBC there was a tool that did it for you. It worked quite well but the thing is that names of variables, arrays, labels and functions are not stored in the p-code. That makes the results of such tools somewhat difficult to follow.

re faze
20
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 10th Feb 2006 16:06
dbc is definitely decompilable,because there was some technique the maker of dark realm did where they put db code in a .txt file and ran it as a script from there.
however dbp is a different story and it would be fairly difficult to decompile to readable source code but not impossible. additionally for one reason it retains line numbers which may cause some lag.

The ARRAYinator
19
Years of Service
User Offline
Joined: 13th Aug 2005
Location:
Posted: 13th Feb 2006 16:18
DBC is interpreted.So it is possible to open the exe appended data at the end of the exe and decompile it.Meaning retranslate it back to dbc source code.I don't think it will be easy but it has been done(I think).

Login to post a reply

Server time is: 2025-05-23 16:48:57
Your offset time is: 2025-05-23 16:48:57