防止组装反编译 [英] Preventing decompilation of assembly

查看:82
本文介绍了防止组装反编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我刚读了一篇文章,解释了如何防止人们用ILDASM反编译你的程序集。显然这可以通过

来实现,比如说,


ILDASM / owner = Me MyAssembly.exe


现在,当我尝试这个时,我得到无效命令行选项。和列表

的命令显示在屏幕上,但所有者不是其中之一。

是否意味着这仅对VS 2003有效?或者我错过了什么

非常直接?


此外文章也没有解释其他反编译器是否可以是

成功使用,我认为他们可以,我说得对吗?

感谢你的帮助。


Nick。


-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

解决方案

啊,忽略所有我发现的错误。但是我确实有另一个关于这个问题的b $ b问题,是否有可能提供你自己的自定义命令

线路属性供编译器使用?所以基本上,我可以设置VB.NET在编译时提供所有者字符串

在IDE中吗?我手动操作会比较困难,因为我的

程序集名称很强,并且具有嵌入式许可证。再次感谢




尼克。


-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \


嗨Nak !!


编号您无法明确设置VB.NET编译器命令行参数。


-

HTH,

- Tom Spink,überGeek


请回复新闻组,

所以所有人都可以受益


" System.Reflection Master"


====转换为2002 ====

删除内联声明

" NAK" < a@a.com>在留言中写道

新闻:eW ************** @ TK2MSFTNGP10.phx.gbl ...

啊,忽略所有我发现了什么是错的。但我确实有另外的问题,是否有可能提供自己的自定义命令
线路属性供编译器使用?所以基本上,我可以在IDE中设置VB.NET以在编译时提供所有者字符串吗?我会更难以手动完成,因为我的
程序集名称很强,并且具有嵌入式许可证。再次感谢

尼克。

-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ \\ ;不管。无论结果如何,你都会被改变。

Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \


您好Tom,

否。您无法明确设置VB.NET编译器命令行参数。




Bugger!


我正在研究数字签名,我喜欢有我的

签名的程序的想法,所以说话,但看起来像是另一个与微软有关联的剽窃企图获得收入。就像他们的Windows徽标计划一样,我感兴趣的是什么,直到它说我需要一个verisign帐户

,这需要花费一条腿和一条腿。嗯,哦,我想知道*每个*

方法可以保护那些内置于.NET

框架但不知道的程序集在哪里查找这些信息,我花了一段时间

,直到我发现强大的命名,即使在发誓和诅咒之后

缺乏代码安全和保护方法在这个新闻组中。哦,好吧,我会说Bugger!再次,只是为了好运:-)


尼克。


-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \


Hi there,

I have just read an article that explains how to prevent people from
decompiling your assemblies with ILDASM. Apparently this can be achieved by
writing something like,

ILDASM /owner=Me MyAssembly.exe

Now when I attempt this I get "INVALID COMMAND LINE OPTION" and a list
of commands is displayed on the screen but owner is not one of them. Does
that mean that this is only valid for VS 2003? or am I missing something
pretty straight forward?

Also the article doesn''t explain whether or not other decompilers can be
used successfuly, I presume that they can, would I be right in saying that?
Thanks for your help in advance.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

解决方案

Ah, ignore all of that I found out what was wrong. But I do have another
question regarding this, is it possible to provide your own custom command
line attributes to be used by the compiler? So basically, would it be
possible for me to set VB.NET to provide the Owner string upon compilation
within the IDE? I would be more difficult for me to do it manually as my
Assembly is strong named, as well as having embedded licenses. Thanks
again.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


Hi Nak!!

No. You cannot explicitally set VB.NET compiler command-line arguments.

--
HTH,
-- Tom Spink, über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Nak" <a@a.com> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...

Ah, ignore all of that I found out what was wrong. But I do have another
question regarding this, is it possible to provide your own custom command
line attributes to be used by the compiler? So basically, would it be
possible for me to set VB.NET to provide the Owner string upon compilation
within the IDE? I would be more difficult for me to do it manually as my
Assembly is strong named, as well as having embedded licenses. Thanks
again.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\



Hi Tom,

No. You cannot explicitally set VB.NET compiler command-line arguments.



Bugger!

I was looking into digital signing, I like the idea of programs having my
signature, so to speak, but it looks like another rip-off attempt affiliated
with Microsoft to gain revenue. Just like their Windows logo scheme, what a
load of toot, I was interested until it said I needed a verisign account
that costs an arm and a leg. Pah, oh well, I would like to know *every*
method possible for protecting Assemblies that''s built into the .NET
framework but don''t know where to look for this info, it took me a while
until I found out about strong naming, even after swearing and cursing about
the lack of code security and protection methods in this newsgroup. Oh
well, I''ll say "Bugger!" again, just for luck :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


这篇关于防止组装反编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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