[+] 去除校验

This commit is contained in:
huiyadanli 2022-05-15 11:06:30 +08:00
parent 67a209e41f
commit d6e9a7bc06
4 changed files with 40 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ namespace RevokeMsgPatcher
{
return new App
{
Name = "Wechat",
Name = "WeChat",
FileTargetInfos = new Dictionary<string, TargetInfo>
{
{
@ -59,10 +59,39 @@ namespace RevokeMsgPatcher
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>
@ -283,6 +312,13 @@ namespace RevokeMsgPatcher
},
FileModifyInfos = new Dictionary<string, List<ModifyInfo>>
{
{
"WeChat.exe",
new List<ModifyInfo>
{
}
},
{
"WeChatWin.dll",
new List<ModifyInfo>

View File

@ -61,7 +61,7 @@ namespace RevokeMsgPatcher.Properties {
}
/// <summary>
/// 查找类似 {&quot;Apps&quot;:{&quot;Wechat&quot;:{&quot;Name&quot;:&quot;Wechat&quot;,&quot;FileTargetInfos&quot;:{&quot;WeChatWin.dll&quot;:{&quot;Name&quot;:&quot;WeChatWin.dll&quot;,&quot;RelativePath&quot;:&quot;WeChatWin.dll&quot;,&quot;Memo&quot;:null}},&quot;FileModifyInfos&quot;:{&quot;WeChatWin.dll&quot;:[{&quot;Name&quot;:&quot;WeChatWin.dll&quot;,&quot;Version&quot;:&quot;3.3.5.25&quot;,&quot;SHA1Before&quot;:&quot;3e94753ccbc2799d98f3c741377e99bdae33b4cf&quot;,&quot;SHA1After&quot;:&quot;ab98f83fc16674ac4911380882c79c3ca4c2fd71&quot;,&quot;Changes&quot;:[{&quot;Position&quot;:3413977,&quot;Content&quot;:[235]},{&quot;Position&quot;:12159591,&quot;Content&quot;:[235]}]},{&quot;Name&quot;:&quot;WeChatWin.dll&quot;,&quot;Version&quot;:&quot;3.3.5.15&quot;,&quot;SHA1Before&quot;:&quot;7d06e076c525aec6783e919dde4ee11ba9 [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// 查找类似 {&quot;Apps&quot;:{&quot;Wechat&quot;:{&quot;Name&quot;:&quot;WeChat&quot;,&quot;FileTargetInfos&quot;:{&quot;WeChatWin.dll&quot;:{&quot;Name&quot;:&quot;WeChatWin.dll&quot;,&quot;RelativePath&quot;:&quot;WeChatWin.dll&quot;,&quot;Memo&quot;:null},&quot;WeChat.exe&quot;:{&quot;Name&quot;:&quot;WeChat.exe&quot;,&quot;RelativePath&quot;:&quot;../WeChat.exe&quot;,&quot;Memo&quot;:null}},&quot;FileModifyInfos&quot;:{&quot;WeChat.exe&quot;:[],&quot;WeChatWin.dll&quot;:[{&quot;Name&quot;:&quot;WeChatWin.dll&quot;,&quot;Version&quot;:&quot;3.3.5.25&quot;,&quot;SHA1Before&quot;:&quot;3e94753ccbc2799d98f3c741377e99bdae33b4cf&quot;,&quot;SHA1After&quot;:&quot;ab98f83fc16674ac4911380882c79c3ca4c2fd71&quot;,&quot;Changes&quot;:[{&quot;Position&quot;:3413977,&quot;Content&quot;:[235]},{&quot;Position&quot;:12159591,&quot;Content&quot;:[235]}]} [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string PatchJson {
get {

File diff suppressed because one or more lines are too long