.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old July 19th, 2007, 04:01 AM

Baron Grazic Baron Grazic is offline
Captain
 
Join Date: Oct 2001
Location: Australia
Posts: 809
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Grazic is on a distinguished road
Default OT - Reverse engineer a .dll & .exe

Question that I thought some of the members here might know about.
A programmer here created an application and has since left, deleting all his data and code for creating the application, and conveniently not leaving a backup.
We now need to modify 1 thing in the code?
Does anyone know how to reverse engineer a .dll & .exe file that was created using a VB developer tool?
Thanks.
Baron Grazic
Reply With Quote
  #2  
Old July 19th, 2007, 06:56 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

I think that's illegal.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #3  
Old July 19th, 2007, 07:58 AM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

I doubt that it's illegal for a company to decompile code that its employees/contractors custom wrote for it.

Still, it's an argument in favor of using Open Source applications whenever possible.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #4  
Old July 19th, 2007, 10:21 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

I remember when one of my former companies top programmers became so dissolutioned with the company that he simply walked in the middle of a high priority project and since he was senior programmer on the project he was the only one who knew the details of the program. Since the company had already invested several million into the project and didn't want to start over so they had to make arrangements to have him come back to work for them to finish the project. They paid him six times his wage as a consultant for his expertise. His contract gave him total control and he had more authority than his former boss and that alone made his day.

Good luck with the reverse engineering thing. It didn't work out well for my former company but I do hope it works out for yours.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #5  
Old July 19th, 2007, 11:01 AM

aegisx aegisx is offline
Second Lieutenant
 
Join Date: Sep 2006
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
aegisx is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

It is not illegal is the company owns it.

Reverse Engineering take some time to get good at, but check out IDA Pro. They have a free demo, but if your company is serious about it, they should buy it.

You should know what your getting into though...

There are not really any good tools to reverse it to source code that can compile. You may be able to make a binary change to the dll/exe depending on the change (i.e. byte for byte). IDA pro will not convert it to source code, it will just show you the assembly,objects etc.
Reply With Quote
  #6  
Old July 23rd, 2007, 02:57 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

Disassembler is a little help when you're REing VB p-code.
Good decompiler might help a bit more: VBD.
Reply With Quote
  #7  
Old July 23rd, 2007, 06:03 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

VB? If it's VB.NET (not VB6 or earlier), then the code is only compiled into "MSIL" which is not really machine language, and it's actually possible (IIRC) to get meaningful source code out of it, unless it's been run through an obfuscator. You won't get the comments, of course, and you probably won't get the right names for the variables and such, but you will get real honest-to-God source code that you can mess with. Just Google ".net decompiler" for options. I've never actually used any of these tools before so I'm not sure how well they work, but I'm pretty sure there are even free tools to do this at a very basic level.
Of course if it's not .NET then none of what I said applies, but it's worth a try... worst you can do is get some error saying "this is not a .NET executable" or something!
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #8  
Old August 17th, 2007, 10:44 AM

Dan_ Dan_ is offline
Private
 
Join Date: Jan 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Dan_ is on a distinguished road
Default Re: OT - Reverse engineer a .dll & .exe

You can use Reflector to decompile .net assemblies.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.