Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Very Scary! 1

Status
Not open for further replies.

Oppenhiemer

Programmer
Jun 28, 2001
315
GB
Hi -

While recently having problems with a corrupt .dfm file (problems solved now) I started searching for utilities to help repair dfm files. In my search I came across a very interesting/scarey utility that can actually Deconstruct/De-compile an exe file created with delphi back to its source files.

In effect - anyone can decompile a program you have written using delphi and extract the source code, forms - you name it! Which effectively means that none of our applications are secure!!

Here is the link :


I was in 2 minds about posting the link, but would like some comments as to what to make of it. O well.. maybe go back to developing MDE files in Access - least that seemed more secure :(.

Opp.
 
Mate!
If anyone can make any sense of my spider-web coding they are welcome!! LOL :)
 
hehe.. you use that technique too! Thought it was just me.

Still shocked [shocked] at how freakishly good that program was (and Im sure there are many others out there.) Maybe throw a few supporting DLL's (boo hiss I know)in with my code.

Opp.


 
hi,

Downloaded the program and started it to decompile one of mine major projects. There is not much to worry about. The program is a form extracter. It extracts the forms, all the coding isn't decompiled. So when you decompile you will see the form and every thing om it. But the code behind the form, by example the code in a button click isn't decompiled. There is another issue when you open a decompiled form and you donn't have the components installed, the form will open with an error. So you will need the components the programmer uses. When the program creates the components in the creation of the form there is nothing to see and nothing to compile. All units without a form aren't decompiled, so nothing to see, nothing to use.

Conclusion: A nice tool if you want to decompile your own projects because you lost some forms. If you use al lot of code it doesn't give you a clue.

Steph [Bigglasses]


 
Hi guys...

Really interesting... I had just download the program.

cheers,
mha
 
Your right Steph...Phew! Dont know what I was looking at before . I could have swore it extracted all code as well. Was about to invest in some protection software too

Thanks for your feedback all.. my mistake(guess paranoia got the better of me .)

Cheers..

Opp.
 

Read a long time back ,that all Delphi programs that have been built fully optimized, cannot be decompiled to the original source. If you have, however, a debug version of the program (with profile info and the like), then most debugger applications will let you view the source code of the application
 
Shrinker, from Blinkinc., will take a 16- or 32-bits Windows executable (that means .EXE, .DLL, .DRV or .OCX, but also Delphi 3 .DPL packages) or a real-mode DOS executable, and transparently compresses it.

Shrinking an executable will compress and thereby encrypt the contents, so any string value will be unreadable. And since there's no "unshrink" option, we'd give hackers a real hard time here...


Aaron Taylor
John Mutch Electronics
 
Hi Aaron,

A question for you: How can the program be executed if there's no unshrink option? The program has to unencrypt and unshrink it's contents at some point.
 
hi,

I have the shrink program but not all the shrinked programs will run after they have been shrinked. Due to so components we use it is not always possible to use this program.

Steph [Bigglasses]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top