Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i reverse engineer my own dll?

We've got a .NET project at work, which we lost (human error). The person who wrote the code said she had three projects in the solution => one webform, one winform and one class library.

Now, we have the final DLLs and website. Is there anything we can do with this?

For the class library, I was thinking about using Reflector to copy/paste the code and, with time, rename MethodNames and variables, etc.. to some nice english stuff.

For the website, not sure.

Does anyone have any ideas or options?

She said she doesn't have the pdb files either :( (Release builds).

Cheers :)

like image 422
Pure.Krome Avatar asked Aug 25 '09 04:08

Pure.Krome


People also ask

Is it possible to reverse engineer a DLL?

As per my understanding, we can reverse engineer any compiled dll whose source language is a . net language like c#,vb.net. There are many tools availablein the market for obfuscation and prevent reverse engineering of the dll.

Is it possible to decompile DLL?

Typically, though, a DLL is going to be machine executable code. There is no fully automated algorithm for complete decompilation of executable code; that's why tools like Ghidra and IDA are interactive.

Can you reverse engineer a C++ DLL?

You can likely decompile a DLL to C++ code that has equivalent effects to the DLL. You really can't get back to the original source code. Compilation is a lossy process. The compiler will make use of everything it knows to remove as much cruft and abstraction as it can from the final result.


1 Answers

Use the FileDissasembler extension here to simply extract the full code using Reflector:

http://www.codeplex.com/reflectoraddins

like image 63
jrista Avatar answered Sep 30 '22 04:09

jrista