当前位置: 首页 > news >正文

WINTRUST!_ExplodeMessag函数中的pCatAdd

第一部分:

BOOL _ExplodeMessage(CRYPT_PROVIDER_DATA *pProvData)
{

。。。。

            pCatAdd = pProvData->pPDSip->psSipSubjectInfo->psCatMember;

            if ((pCatAdd) && (pCatAdd->pMember) && (pCatAdd->pMember->pIndirectData))
{


memcpy(pProvData->pPDSip->psIndirectData, pCatAdd->pMember->pIndirectData,
sizeof(SIP_INDIRECT_DATA));

第二部分:


0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!_PROVDATA_SIP *)0x1c054e8)
((WINTRUST!_PROVDATA_SIP *)0x1c054e8)                 : 0x1c054e8 [Type: _PROVDATA_SIP *]
[+0x000] cbStruct         : 0x28 [Type: unsigned long]
[+0x004] gSubject         : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID]
[+0x014] pSip             : 0x1c2dd98 [Type: SIP_DISPATCH_INFO_ *]
[+0x018] pCATSip          : 0x1c52ca8 [Type: SIP_DISPATCH_INFO_ *]
[+0x01c] psSipSubjectInfo : 0x1c53710 [Type: SIP_SUBJECTINFO_ *]            [+0x01c] psSipSubjectInfo : 0x1c53710
[+0x020] psSipCATSubjectInfo : 0x1c527f0 [Type: SIP_SUBJECTINFO_ *]
[+0x024] psIndirectData   : 0x0 [Type: SIP_INDIRECT_DATA_ *]

0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!SIP_SUBJECTINFO_ *)0x1c53710)
((WINTRUST!SIP_SUBJECTINFO_ *)0x1c53710)                 : 0x1c53710 [Type: SIP_SUBJECTINFO_ *]
[+0x000] cbSize           : 0x50 [Type: unsigned long]
[+0x004] pgSubjectType    : 0x1c13d68 : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID *]
[+0x008] hFile            : 0x0 [Type: void *]
[+0x00c] pwsFileName      : 0x767f29bc : 0x55 [Type: unsigned short *]
[+0x010] pwsDisplayName   : 0x767f29bc : 0x55 [Type: unsigned short *]
[+0x014] dwReserved1      : 0x0 [Type: unsigned long]
[+0x018] dwIntVersion     : 0x200 [Type: unsigned long]
[+0x01c] hProv            : 0x1232758 [Type: unsigned long]
[+0x020] DigestAlgorithm  [Type: _CRYPT_ALGORITHM_IDENTIFIER]
[+0x02c] dwFlags          : 0x0 [Type: unsigned long]
[+0x030] dwEncodingType   : 0x0 [Type: unsigned long]
[+0x034] dwReserved2      : 0x0 [Type: unsigned long]
[+0x038] fdwCAPISettings  : 0x23c00 [Type: unsigned long]
[+0x03c] fdwSecuritySettings : 0x2 [Type: unsigned long]
[+0x040] dwIndex          : 0x0 [Type: unsigned long]
[+0x044] dwUnionChoice    : 0x2 [Type: unsigned long]
[+0x048] psFlat           : 0x1750038 [Type: MS_ADDINFO_FLAT_ *]
[+0x048] psCatMember      : 0x1750038 [Type: MS_ADDINFO_CATALOGMEMBER_ *]
[+0x048] psBlob           : 0x1750038 [Type: MS_ADDINFO_BLOB_ *]
[+0x04c] pClientData      : 0x0 [Type: void *]
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!MS_ADDINFO_CATALOGMEMBER_ *)0x1750038)
((WINTRUST!MS_ADDINFO_CATALOGMEMBER_ *)0x1750038)                 : 0x1750038 [Type: MS_ADDINFO_CATALOGMEMBER_ *]
[+0x000] cbStruct         : 0xc [Type: unsigned long]
[+0x004] pStore           : 0x1c2dcb0 [Type: CRYPTCATSTORE_ *]
[+0x008] pMember          : 0x1cdd340 [Type: CRYPTCATMEMBER_ *]
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 ((WINTRUST!CRYPTCATMEMBER_ *)0x1cdd340)
((WINTRUST!CRYPTCATMEMBER_ *)0x1cdd340)                 : 0x1cdd340 [Type: CRYPTCATMEMBER_ *]
[+0x000] cbStruct         : 0x40 [Type: unsigned long]
[+0x004] pwszReferenceTag : 0x1cdd388 : 0x32 [Type: unsigned short *]
[+0x008] pwszFileName     : 0x0 [Type: unsigned short *]
[+0x00c] gSubjectType     : {C689AAB8-8E78-11D0-8C47-00C04FC295EE} [Type: _GUID]
[+0x01c] fdwMemberFlags   : 0x0 [Type: unsigned long]
[+0x020] pIndirectData    : 0x1c4a4c0 [Type: SIP_INDIRECT_DATA_ *]
[+0x024] dwCertVersion    : 0x200 [Type: unsigned long]
[+0x028] dwReserved       : 0x0 [Type: unsigned long]
[+0x02c] hReserved        : 0x0 [Type: void *]
[+0x030] sEncodedIndirectData [Type: _CRYPTOAPI_BLOB]
[+0x038] sEncodedMemberInfo [Type: _CRYPTOAPI_BLOB]

0: kd> dt SIP_INDIRECT_DATA_ 0x1c4a4c0
CRYPT32!SIP_INDIRECT_DATA_
+0x000 Data             : _CRYPT_ATTRIBUTE_TYPE_VALUE
+0x00c DigestAlgorithm  : _CRYPT_ALGORITHM_IDENTIFIER
+0x018 Digest           : _CRYPTOAPI_BLOB
0: kd> dx -id 0,0,ffffffff89ce3d88 -r1 (*((CRYPT32!_CRYPTOAPI_BLOB *)0x1c4a4d8))
(*((CRYPT32!_CRYPTOAPI_BLOB *)0x1c4a4d8))                 [Type: _CRYPTOAPI_BLOB]
[+0x000] cbData           : 0x14 [Type: unsigned long]
[+0x004] pbData           : 0x1723fe8 : 0x2c [Type: unsigned char *]

0: kd> db 0x1723fe8
01723fe8  2c ac 74 89 bc 3c f9 74-71 ec 23 93 d4 38 57 d5  ,.t..<.tq.#..8W.
01723ff8  c0 84 9d 6b 00 00 00 00

http://www.dtcms.com/a/354476.html

相关文章:

  • 【大前端】React useEffect 详解:从入门到进阶
  • 响应用户:React中的事件处理机制
  • [linux仓库]透视文件IO:从C库函数的‘表象’到系统调用的‘本质’
  • RSA+AES 混合加密不复杂,但落地挺烦,我用 Vue+PHP 封装成了两个库
  • XTUOJ C++小练习(素数的判断,数字塔,字母塔)
  • 亚马逊合规风控升级:详情页排查与多账号运营安全构建
  • Unity游戏打包——Android打包环境(Mac下)
  • PDF压缩如何平衡质量与体积?
  • Electron 简介:Node.js 桌面开发的起点
  • 小鹏自动驾驶的BEV占用网络有哪些优势?
  • “矿山”自动驾驶“路网”编辑功能实现
  • Mip-splatting
  • 在docker 中拉取xxl-job以及配置数据库
  • 【Linux】Linux基础开发工具从入门到实践
  • Redis 哨兵(Sentinel)全面解析
  • JavaSE丨集合框架入门:从0掌握Collection与List核心用法
  • Two Knights (数学)
  • Feign整合Sentinel实现服务降级与Feign拦截器实战指南
  • uni-app 网络请求与后端交互完全指南:从基础到实战
  • 智能养花谁更优?WebIDE PLOY技术与装置的结合及实践价值 —— 精准养护的赋能路径
  • 【LeetCode】29. 两数相除(Divide Two Integers)
  • PhotoshopImageGenerator:基于Photoshop的自动化图像数据集生成工具
  • C# 操作 DXF 文件指南
  • WAF对比传统防火墙的优劣势
  • 从Cgroups精准调控到LXC容器全流程操作​:用pidstat/stress测试Cgroups限流,手把手玩转Ubuntu LXC容器全流程​
  • 打破存储局限:CS 创世 SD NAND 如何优化瑞芯微(RK)与北京君正平台的贴片式 SD 卡性能
  • 横扫SQL面试——流量与转化率分类
  • 机器人电源电感的认证和认证细节,知多少?
  • Spring Boot 整合 SSE, http长连接
  • odoo打印新解