I need to do a program in C/C++ in witch one i'll need to take each sction of a PE File, hash them and sign them, I made yet the hashing and signing functions but: I don't know how to get each section of a PE File as a char* or byte*, I don't know how to if i can use a simple fstream and search to a n byte, and after that how to add a new section .sig to the PE File with my signature table. Thanks for help
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Download the documentation here:
Microsoft PE and COFF Specification
Sample code from CodeProject: Parse a PE