像hexeditor一样编辑My.resource(.NET程序集)! [英] Edit My.resource(.NET Assembly) like hexeditor !

查看:101
本文介绍了像hexeditor一样编辑My.resource(.NET程序集)!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是测试编辑my.resource.test(文本文件)

在hexeditor中它工作,我想知道它是否可以在vb.net中制作一个可以编辑文本的程序像hexeditor?



图片链接

编辑前

图片1

hexeditor编辑

图片2

编辑后

图片3

_



如果有人知道可以我/你制作一个程序,可以在十六进制编辑器中更改my.resources.text文件,请回答

i希望有人知道怎么做并学习我谢谢。

i just test to edit my.resource.test(text file)
in hexeditor and it work and i wondering if it can go to make a program in vb.net that can edit the text like hexeditor?

images link
Before editing
Images 1
hexeditor editing
Images 2
after editing
Images 3
_

and if someone know can i/you make a program that can change my.resources.textfile in the hex editor doing please answer
i hope someone know how to do and learn me thanks.

推荐答案

了解我?如何教育我。



它将不仅仅是一个简单的十六进制编辑器。您将不得不弄清楚资源如何存储在.EXE中并在保持.EXE文件完整性的同时移动。你不能只是移动数据并期望它神奇地工作。 .EXE格式希望事物位于.EXE中的表中指定的非常特定的位置。



如果你要移动东西来腾出空间对于已编辑的文本,您将不得不移动其他内容并更新指向它们的指针。这是微不足道的FAR。



你可以先阅读微软PE和COFF规范 [ ^ ]文档。然后你可以阅读这个 [ ^ ]并弄清楚如何使用和理解.NET SDK中的DumpBin工具。
"learn me"?? How about "educate me".

It's going to be a LOT more than just a simple hex editor. You've going to have to figure out how resources are stored in an .EXE and move things around while maintaining the integrity of the .EXE file. You can't just move data around and expect it to magically work. The .EXE format expects things to be in very specific places as specified in the tables inside the .EXE.

If you're going to move stuff around to make room for your "edited" text, you're going to have to move other things and update the pointers to them. This is FAR from trivial.

You can start by reading the Microsoft PE and COFF Specification[^] documentation. Then you can read this[^] and figure out how to use and understand the DumpBin tool in the .NET SDK.


这篇关于像hexeditor一样编辑My.resource(.NET程序集)!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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