【发布时间】:2020-02-02 13:41:01
【问题描述】:
我尝试使用 Dotpeek 和 ILSpy.Net 反编译(我自己的代码),但它们失败了。
我需要对 .Net Core 3 self-contained single executable 的分布式二进制文件进行特殊混淆吗?
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishTrimmed>true</PublishTrimmed>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishSingleFile>true</PublishSingleFile>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>
</Project>
【问题讨论】:
-
自包含的可执行文件基本上是包含必要 DLL 的 zip 文件。 Dotpeek 和 ILSpy 可能还不支持这种格式,但它不是开箱即用的。
-
@ESG 您如何看待 .NET 5?
-
@Jackop 他们改变了可执行文件的构建方式,因此不需要解包,但不知道反编译器是否支持它
标签: .net-core obfuscation decompiling ilspy