开发者

Is it possible to modify assembly manifests other than by ILDASM/ILASM hacking?

开发者 https://www.devze.com 2022-12-25 07:04 出处:网络
We have a customer who have two .NET assemblies, A and B: Assembly A references assembly B. Assembly A is unsigned, not obfuscated, no source code is available.

We have a customer who have two .NET assemblies, A and B:

  • Assembly A references assembly B.
  • Assembly A is unsigned, not obfuscated, no source code is available.
  • Assem开发者_开发百科bly B is signed, not obfuscated, there is source code available.

I want to modify assembly A and change the manifest so that instead of referencing a signed version of B, it references an unsigned version.

I know it's possible using ILDASM to dump the IL, edit the references then recreate using ILASM, but is there a better way?


It's seems that decompiling with ILDASM, editing the resulting IL and recompiling with ILASM was the path of least resistance.

0

精彩评论

暂无评论...
验证码 换一张
取 消