shanyang88
V2EX  ›  C#

c#程序里的一个字符串参数,可以在生成的 exe 文件里搜索到吗?

  •  
  •   shanyang88 · Nov 14, 2023 · 1991 views
    This topic created in 917 days ago, the information mentioned may be changed or developed.

    比如把这个 exe 文件拉到 ultra editor 里进行搜索。 具体地说,我想在生成的 exe 文件里搜索以下代码段中的 xxxxx: defaultStringHandler.BFormatted(Utils.Base64Decode("xxxxx")); 不知是否可以搜到?貌似不行?

    5 replies    2023-11-14 16:33:19 +08:00
    lisxour
        1
    lisxour  
       Nov 14, 2023
    生成.net 平台代码的话是可以搜得到的
    thinkershare
        2
    thinkershare  
       Nov 14, 2023
    直接是搜不到,反编译后,肯定是可以还原的。
    thinkershare
        3
    thinkershare  
       Nov 14, 2023
    你了解 PE32 头和 MSIL 的格式,很容易理解原因。
    v2er4241
        4
    v2er4241  
       Nov 14, 2023
    反编译就可以搜到
    feirisu
        5
    feirisu  
       Nov 14, 2023
    用 dnspy 反编译去看
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3968 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 00:56 · PVG 08:56 · LAX 17:56 · JFK 20:56
    ♥ Do have faith in what you're doing.