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 :)
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.
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.
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.
Use the FileDissasembler extension here to simply extract the full code using Reflector:
http://www.codeplex.com/reflectoraddins
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With