开发者

Possible to inject resource files into .net assembly?

There's a .net program for students that I've been messing around with in Reflector and Reflexil, but it doesn't look like they can work with resource files. I want to replace the default background with a custom one. How feas开发者_高级运维ible is this?

I've tried exporting the assembly as a C# project and maybe rebuilding with the resource files swapped, but a few classes won't decompile right when exporting and crashes Reflector when I try to view the full source code inside reflector (after clicking 'expand methods')


What type of applicaiton is it? WinForms, WPF, Silverlight, Web? You can do it with ILDasm round triping. If you let me know what type of app it is I'll post the steps you need to take.


Reflexil 1.3 is now able to handle resources.


Quite difficult, probably Hex Editor can help.


Resource Hacker can do it. Follow; Action > Add a new Resource

delphi.icm.edu.pl/ftp/tools/ResHack.zip


I just put out GrayWolf to edit programs, I don't have the ability to edit resource(s) (if you donate$:) yet

but I would think the easy change is to edit the program to load the background from disk (./back1.jpg)

I have others tools that would make it easy to change the background of the running program see "Hacking .NET" at DefCon18

other tools "GrayDragon" I have a payload that does just this, it is for DefCon19, but if you send me an e-mail...

Happy hunting

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜