Skip to content

Commit

Permalink
Merge pull request #331 from huiyadanli/multi-feat-for-wechat-abtest
Browse files Browse the repository at this point in the history
[+] 去除校验
  • Loading branch information
huiyadanli authored May 15, 2022
2 parents 11e348b + d6e9a7b commit 03c1c4b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RevokeMsgPatcher.Assistant/Data/1.4/patch.json

Large diffs are not rendered by default.

38 changes: 37 additions & 1 deletion RevokeMsgPatcher.Assistant/JsonData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public App Wechat()
{
return new App
{
Name = "Wechat",
Name = "WeChat",
FileTargetInfos = new Dictionary<string, TargetInfo>
{
{
Expand All @@ -59,10 +59,39 @@ public App Wechat()
Name = "WeChatWin.dll",
RelativePath = "WeChatWin.dll"
}
},
{
"WeChat.exe",
new TargetInfo
{
Name = "WeChat.exe",
RelativePath = "../WeChat.exe"
}
}
},
FileCommonModifyInfos = new Dictionary<string, List<CommonModifyInfo>>
{
{
"WeChat.exe",
new List<CommonModifyInfo>
{
new CommonModifyInfo
{
Name="WeChatWin.dll",
StartVersion="3.7.0.0",
EndVersion="",
ReplacePatterns = new List<ReplacePattern>
{
new ReplacePattern
{
Search = ByteUtil.HexStringToByteArray("85 C0 75 59"),
Replace = ByteUtil.HexStringToByteArray("85 C0 EB 59"),
Category = "去除校验"
}
}
}
}
},
{
"WeChatWin.dll",
new List<CommonModifyInfo>
Expand Down Expand Up @@ -283,6 +312,13 @@ public App Wechat()
},
FileModifyInfos = new Dictionary<string, List<ModifyInfo>>
{
{
"WeChat.exe",
new List<ModifyInfo>
{

}
},
{
"WeChatWin.dll",
new List<ModifyInfo>
Expand Down
2 changes: 1 addition & 1 deletion RevokeMsgPatcher/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 03c1c4b

Please sign in to comment.