someone with experience with decompile and compile Framework?

  • Thread starter Thread starter mtczx232
  • Start date Start date
M

mtczx232

someone with experience with decompile and compile Framework like
System.Windows.Forms?
 
so I try decompile with dis# 2.3.0 to VB and I got a Lot of Err when i
try recompile
(in VS2005)
 
so I try decompile with dis# 2.3.0 to VB and I got a Lot of Err when i
try recompile
(in VS2005)

Why would you want to recompile System.Windows.Forms?

You should be aware that decompilation may well violate your licence
agreement, by the way.
 
my dear Jon Skeet [ C# MVP ]
you can see that remotesoft linker take the Microsoft framework DLL,
and make
virtual enviroment to run them, and make obfuscate the name in
Microsoft DLL.

my goal is check how i can Link my App to obfuscate Winforms.dll copy,
by
myself.
 
Decompiler is usually not that good. I guess what you are trying to do
is linking sytsem libraries into your own application. If this is the
case, you don't need to use a decompiler, use an assember is good
enough. Try to use ildasm.exe to disassemble it, then re-assemble it
using ilasm.exe. Since all system libraries are strong named, so you
need to merge them into your own application, otherwise it wouldn't
run. There are some other issues to worry about, such as resource
files. Overall, it's not an easy job.

Huihong
Serious .NET Protection with native compilation
http://www.remotesoft.com/linker
http://www.remotesoft.com/deprotector
 
Try to use ildasm.exe to disassemble it, then re-assemble it
using ilasm.exe. Since all system libraries are strong named,

that true, I try to link my App to re-asm Forms.dll with another name,
but i see that at run time (not from VS) it's go to Global cach.

how?
 
dump out as il files for your exe and System.Windows.Forms.dll and
other system libraries, you need to modify the header portion of the il
files, look for [System.Windows.Forms], remove them since it's merged.
You need to learn more on .il syntax before you can move on.

Huihong
Dump protected assemblies from memory
http://www.remotesoft.com/deprotector
 
my dear Jon Skeet [ C# MVP ]
you can see that remotesoft linker take the Microsoft framework DLL,
and make
virtual enviroment to run them, and make obfuscate the name in
Microsoft DLL.

my goal is check how i can Link my App to obfuscate Winforms.dll copy,
by myself.

I think that's a really, really bad idea. Aside from the possible legal
problems, unless you know the Windows Forms code in detail, how would
you know which parts of it are invoked by reflection, and thus can't be
obfuscated?

Obfuscation can be a tricky thing to get right even on your own code,
let alone on code you don't legally have the source code to.
 
mtczx232, if you don't want to deal with having to ILDASM the entire
..Net framework (to escape from the decompiled/recompiled windows.forms)
you can just 'patch' the .Net framework to disable checks for
StrongName assemblies

Dinis Cruz
Owasp .Net Project
www.owasp.net
 
Back
Top