是否可以编译反编译的十六进制代码?
Is it possible to compile decompiled hex code?
是否可以将 SoapHexBinary
编译回 .exe
var str = new SoapHexBinary(File.ReadAllBytes(@"c:\test\test.exe")).ToString();
Console.WriteLine(str);
byte[] bytes = SoapHexBinary.Parse(str).Value
请注意这里没有 "compile" - 它只是 恰好是一个 exe 的字节;一旦你取回字节,它们仍然是同一个 exe(如果你发送了一个 gif 文件,它仍然是同一个 gif 文件,等等)。如果你想要它作为一个文件:将字节写入文件系统。
是否可以将 SoapHexBinary
编译回 .exe
var str = new SoapHexBinary(File.ReadAllBytes(@"c:\test\test.exe")).ToString();
Console.WriteLine(str);
byte[] bytes = SoapHexBinary.Parse(str).Value
请注意这里没有 "compile" - 它只是 恰好是一个 exe 的字节;一旦你取回字节,它们仍然是同一个 exe(如果你发送了一个 gif 文件,它仍然是同一个 gif 文件,等等)。如果你想要它作为一个文件:将字节写入文件系统。