How to hide strings in a exe or a dll?

前端 未结 9 2149
猫巷女王i
猫巷女王i 2020-11-29 02:07

I discovered that it is possible to extract the hard-coded strings from a binary.
For example the properties view of Process Explorer displays all the string with more t

9条回答
  •  情歌与酒
    2020-11-29 03:11

    Will all your secret codes be GUIDs or was that just an example?

    Perhaps store your secret as a binary guid:

    const GUID SecretGuid =
        { 0x4537774B, 0xCC80, 0x4eda, { 0x7A, 0x9E, 0xE7, 0x79, 0x91, 0xF5 } };
    

    Then convert your supplied guid from string to binary format and compare the two binary guids.

提交回复
热议问题