.Net反編譯工具Reflector教程及其插件

轉:http://www.sangsan.cn/article/learn/558.htm

.Net反編譯工具Reflector它是一個類瀏覽器和反編譯器,可以分析程序集並向您展示它的所有祕密,反編譯.EXE .DLL .MCL格式的文件。.net 框架向全世界引入了可用來分析任何基於 .net 的代碼(無論它是單個類還是完整的程序集)的反射概念。反射還可以用來檢索有關特定程序集中包含的各種類、方法和屬性的信息。使用 .net reflector,您可以瀏覽程序集的類和方法,可以分析由這些類和方法生成的 microsoft 中間語言 (msil),並且可以反編譯這些類和方法並查看 c# 或 visual basic .net 中的等價類和方法。

 

 Reflector插件使用方法:

       以FileDisassembler這個插件爲例(它可以把exe或dll文件反編譯成原始的cs文件,反編譯的效果相當好,99%都是正確的,只有一些註釋等會有錯誤。),先根據下面的地址下載過來並解壓縮,然後運行Reflector.exe,然後點擊View->Add- Ins,彈出一個窗口,然後點擊Add->選擇你下載過來的Reflector.FileDisassembler.dll插件,再點擊close。到此插進裝載完畢。
         然後回到Reflector窗口,Tool->File Disassembler,右邊就出現了插件的窗口,File->Open打開你要反編譯的DLL文件,然後選中左邊的dll文件,點擊右邊插件的相關功能導出文件,源代碼就全部導出來了。當然這樣就還原的源碼可不是完全還原,然後自己加上註釋,少許修改,就是真正的源碼了。

 Reflector常用插件下載地址:

Reflector.FileDisassembler
This add-in can be used to dump the disassembler output to files for any Reflector supported language.
Website Download  

 

Reflector.CodeMetrics
Analyses .NET assemblies and shows design quality metrics. The menu item is registered under the "Tools" menu.
Website Download  

 

Reflector.SQL2005Browser
This add-in allows to browse .NET assemblies stored in SQL Server 2005 (Yukon) databases.
Website Download  

 

Reflector.DelphiLanguage
The Delphi view that is used inside .NET Reflector provided as a language add-in.
Website Download  

 

Reflector.McppLanguage
This add-in extends Reflector with a Managed C++ language rendering module.
Website Download  

 

Reflector.ChromeLanguage
This add-in extends Reflector with a Chrome language rendering module.
Website Download  

 

Reflector.Diff
This add-in shows differences between two versions of the same assembly.
Website Download  

 

Reflector.VisualStudio
This program is hosting .NET Reflector inside the Visual Studio 2003 IDE. Run Reflector.VisualStudio.exe to register the add-in with Visual Studio.
Website Download  

 

Reflector.ClassView
Shows class definitions as plain text with color coding. The menu item is registered under the "Tools" menu.
Website Download  

 

Reflector.CodeModelView
This add-in shows the underlying code model objects for a selected node in .NET Reflector. The menu item is registered under the "Tools" menu.
Website Download  

 

Reflector.FileGenerator
This add-in can be used to dump the disassembler output to files for any Reflector supported language.
Download  

 

Reflector.Graph
This add-in draws assembly dependency graphs and IL graphs.
Website Download  

 

Reflector.OpenRunningAssembly
Opens an assembly or dependency from a process running on the system. The menu item is registered under the "Tools" menu.
Website Download

發佈了2 篇原創文章 · 獲贊 4 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章