shanyang88
V2EX  ›  C#

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

  •  
  •   shanyang88 · Nov 14, 2023 · 2593 views
    This topic created in 1102 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
    lisxour
    Nov 14, 2023
    1
    生成.net 平台代码的话是可以搜得到的
    thinkershare
    thinkershare
    Nov 14, 2023
    2
    直接是搜不到,反编译后,肯定是可以还原的。
    thinkershare
    thinkershare
    Nov 14, 2023
    3
    你了解 PE32 头和 MSIL 的格式,很容易理解原因。
    v2er4241
    v2er4241
    Nov 14, 2023
    4
    反编译就可以搜到
    feirisu
    feirisu
    Nov 14, 2023
    5
    用 dnspy 反编译去看
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2711 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:20 · PVG 18:20 · LAX 02:20 · JFK 05:20
    ♥ Do have faith in what you're doing.