post separator

How to disassemble .Net assembly files

During my outstation early this week at Perlis, My task is to audit and analyze source code given by vendor to see whether it’s matched with the requirement required by the client. The code written in asp, vb for com+ component and asp .net. As an ISV myself, I’ll try my best to protect my IP from other people if the requirement to hand over the source code not stated in the agreement. In this case, the vendor is required to hand over the source code to the client and they did, partially. Mostly for presentation layer only. They did not give source code for the only class library for one big module in the system. Left me nothing much to do. Asking the source code from them will take longer time as they currently engaged a lawyer trying to stop the client from changing the source, although it was agreed upfront. I disassemble the file and Walla, 500++ files for me to work with.
Complete “how to” after the jump. Read on if you interested.

Here’s how you can disassemble .Net assembly files (.exe, .dll, .mcl).
  1. Download Lutz Roeder’s .Net Reflector here
  2. Download Denis Bauer File Disassembler Add-ins for .Net Reflector here
  3. Add the add-ins into the .Net Reflector
  4. Load the assembly files you want to disassemble
  5. Load all linked assembly files
  6. Click tools and then click File Disassembler
  7. Select the language of your preference (Yes you can do it)
  8. On the right pane, Select Project type, Select destination folder
  9. Click Generate. There you go. Now you have the source code ;-)

Reflector Disassembler in action

There’s no guarantee you will get working code but at least you have something to work with.
Have fun.

RSS feed | Trackback URI

1 Comment »

Gravatar Icon
Comment by Priyan Perera
2008-10-31 14:32:22

Thank you very much…for the help…I was looking for a tool that will disassemble and this is more than perfect…

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
Close
E-mail It