文件结构浏览器(类似于 Wireshark,但针对文件)
我正在寻找一款能够分解和分析文件的软件。你知道吗?
我的意思是,给定一个文件,它会告诉我,例如:
- 这里是一个幻数,告诉我它是一个PNG,这里开始一个颜色定义,这里是压缩标志,然后是图片数据,等等...
或者类似的东西:
- 这是一个MP3文件,这里是ID3定义,这是标志,表明这是联合立体声等等...
我正在寻找一个处理文件的软件 >Wireshark (Ethereal) 正在处理网络流量。
谢谢!
I am looking for a software which is able to decompose and analyze files. Do you know any?
What I mean is something that, given a file, would tell me for example:
- here is the magic number telling that it is a PNG, and here starts a colors definition, here goes the compression flag, and then there are the picture data, and so on...
or something like:
- this is a MP3 file, here is the ID3 definition, here is the flag telling that this is the joint stereo and so on...
I am looking for a software doing with files what Wireshark (Ethereal) is doing with network traffic.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
软件HexWorkshop是一款商业十六进制编辑器,它具有“数据解释”模式,其中数据的每个字段结构在编辑器中突出显示。它带有(非常)少量的数据结构或文件格式定义,但您可以轻松编写自己的定义。
我曾经使用过一个非常旧的版本(几年前),这个软件对我的几个逆向工程项目帮助很大。
The software HexWorkshop is a commercial hex editor which has a "Data interpretation" mode in which each fields of a data structure is highlighted in the editor. It comes with a (very) few definitions of data structures or file format but you can easily write your own.
I used to use a very old version (several years ago) and this software has helped me a lot for several reverse engineering projects.
您可以在 unix 机器上(或者在 mingw 或 cygwin 下)使用“file”命令来确定文件的类型。这将查找已知类型的幻数。但不会提供额外信息。
我不知道有任何软件能够全面了解所有文件格式以提供进一步的见解(文件中的部分)。
You can use the 'file' command on unix boxes (or else under mingw or cygwin) to determine the type of a file. This will look up the magic numbers for the types that are known. But no extra information will be provided.
I don't know of any software that has the whole knowledge of all the file formats as to provide further insights (sections in the file).