dnpatch icon indicating copy to clipboard operation
dnpatch copied to clipboard

How to extract some dll files from App assembly using dnpatch ?

Open gagmeng opened this issue 8 years ago • 2 comments

When i debug the app with dnspy, some dll files are available in modules window of dnspy. How can i extract these dll files from App assembly using dnpatch or dnlib ? Thanks

gagmeng avatar Sep 08 '17 08:09 gagmeng

you can only extract loaded modules when app is running, dnpatch and dnlib does everything with assemblies themselves without running, so it's not possible, usually loaded modules are referenced assemblies, so you can get assembly references, but this will only work for non packed and non obfuscated assemblies, because packed/merged/obfuscated assemblies might have modules integrated as resources, and to extract them you will need to write some script by yourself

SlowLogicBoy avatar Sep 08 '17 09:09 SlowLogicBoy

Could you give me some guidances for some simple script? Thanks

gagmeng avatar Sep 09 '17 04:09 gagmeng