如何安装和使用obfuscar? [英] How to install and use obfuscar?

查看:89
本文介绍了如何安装和使用obfuscar?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚完成了C#项目(WPF),但现在遇到了使用"obfuscar"的问题(如果易于使用,欢迎使用另一个应用程序.)

I just finished my C# project(WPF), but now I meet problems on using "obfuscar" (another applicaion would be welcome, if easier to use).

我当然已经在互联网上寻找它,但是没有找到针对新手"的文档...

Of course I looked already on internet for it, but didn't find a documentation "for newbies"...

我还尝试使用github的obfuscar提供的BasicExempleExe,然后还有一些问题:

I also tried to use BasicExempleExe provided with obfuscar from github, then some questions remaining :

  • 我看不到obfuscar的安装文件,所以已经第一步,我想我错过了什么?
  • 我在示例目录中看到一个文件obfuscar.xml.我了解该文件的用途,但看不到该文件的名称.

可以请一个人帮忙吗?这不是我现在正在做的大项目,但是我想学习如何做,并且由于昨天我什么都不懂,所以我终于决定在这里发布.

Can please some guy be of any help?It is not such a big project I am doing now, but I would like to learn how to do that, and since yesterday I could not understand anything, that's why I finally decided to post here.

推荐答案

  1. 下载 Obfuscar.Console.exe 您可以从 Nuget 下载,然后解压缩obfuscar.versionnumber.nupkg并找到exe.
  2. 除了exe之外,创建一个输入文件夹和一个输出文件夹.将BasicExemple.exe放入输入文件夹.
  3. 在exe旁边,创建纯文本文本文件(例如config.xml),其内容可以非常简单:

  1. Download the Obfuscar.Console.exe you can download from Nuget, then unzip obfuscar.versionnumber.nupkg, and find the exe.
  2. Besides exe, create one input folder and one output folder. put BasicExemple.exe into input folder.
  3. Besides exe, create plain text file(config.xml for example), and the contents can be very simple:

<?xml version='1.0'?>
<Obfuscator>
  <Var name="InPath" value=".\input folder name" />
  <Var name="OutPath" value=".\output folder name" />
  <Module file="$(InPath)\BasicExemple.exe" />
</Obfuscator>

  • 运行cmd,cd到exe目录,然后运行 Obfuscar.Console.exe config.xml

    输出文件夹将包含已处理的二进制文件.

    The output folder will contain the processed binary.

    这篇关于如何安装和使用obfuscar?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆