├── README.md ├── Release ├── helper.dll ├── helper.pdb ├── readme.md ├── robot.exe └── robot.pdb ├── helper ├── AiFun.cpp ├── AiFun.h ├── InlineHook.cpp ├── InlineHook.h ├── Login.cpp ├── Login.h ├── SendMsg.cpp ├── SendMsg.h ├── Sql.cpp ├── Sql.h ├── chatroom.cpp ├── chatroom.h ├── common.cpp ├── common.h ├── helper.aps ├── helper.cpp ├── helper.rc ├── helper.vcxproj ├── helper.vcxproj.filters ├── helper.vcxproj.user ├── offset.h ├── resource.h ├── struct.h ├── userInfo.cpp └── userInfo.h ├── images ├── readme.md ├── 已完成功能.png ├── 注入器.png ├── 鬼手不要脸.png ├── 鬼手不要脸2.jpg ├── 鬼手不要脸3.jpg ├── 鬼手不要脸4.png ├── 鬼手不要脸5.png └── 鬼手不要脸6.png ├── robot.sln ├── robot ├── resource.h ├── robot.aps ├── robot.cpp ├── robot.rc ├── robot.vcxproj ├── robot.vcxproj.filters └── robot.vcxproj.user ├── 工具 ├── CheatEngine70.exe ├── CheatEngine70ch_cn.zip └── readme.md └── 数据库 ├── BizChat.txt ├── BizChatMsg.txt ├── ChatMsg.txt ├── Emotion.txt ├── FTSContact.txt ├── FTSFavorite.txt ├── FTSMSG0.txt ├── FTSMsg.txt ├── Favorite.txt ├── FunctionMsg.txt ├── MSG0.txt ├── Media.txt ├── MediaMSG0.txt ├── MicroMsg.txt ├── Misc.txt ├── MultiSearchChatMsg.txt ├── OpenIMContact.txt ├── OpenIMMedia.txt ├── OpenIMMsg.txt ├── PublicMsg.txt ├── PublicMsgMedia.txt └── readme.md /README.md: -------------------------------------------------------------------------------- 1 | # 请注意版本:<<<2.8.0.112>>> 2 | 3 | # 开源不易,请给个star鼓励下 4 | 5 | 6 | # pcWechat逆向开发环境说明 7 | windows PC微信逆向,支持版本:2.8.0.112(当前最新版本) 8 | 语言环境:**C++** 9 | IDE工具:**visual studio 2019** **Release+X86编译** 10 | 微信版本:**windows 2.8.0.112** 11 | 工具:**Cheat Engine 7.0** **ollydbg** 12 | 本项目仅限学习研究使用,请务用于违法项目,后果自负!! 13 | # 为什么开源这个项目? 14 | ![](images/鬼手不要脸.png) 15 | 先上证据图,此人 QQ昵称鬼手,很多人都知道pc微信逆向是何老师最新发布视频教程,赵老师在其基础上补充了很多功能和原理讲解 16 | 此人学习到点皮毛后就打着开源的期号,招摇撞骗,最先从某个成员那购买了别人开发好的东西也就是2.6.2.28版本,然后开源到github 拉流量,等到群成员达到一定数量就开始收费,各种问他群成员大佬偏移,功能实现方法,然后做成pro版 美名其曰350一人维护费,实则变相倒卖收集来的成果,再次告诉所有拥抱开源的开发者,别被此等小人给蒙骗 17 | ![](images/鬼手不要脸2.png) 18 | ![](images/鬼手不要脸3.png) 19 | ![](images/鬼手不要脸4.png) 20 | ![](images/鬼手不要脸5.png) 21 | ![](images/鬼手不要脸6.png) 22 | 23 | 24 | ![](images/注入器.png) 25 | ![](images/已完成功能.png) 26 | -------------------------------------------------------------------------------- /Release/helper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/Release/helper.dll -------------------------------------------------------------------------------- /Release/helper.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/Release/helper.pdb -------------------------------------------------------------------------------- /Release/readme.md: -------------------------------------------------------------------------------- 1 | 编译的成品,可直接执行 2 | 请注意微信版本:2.7.1.88,此版本外无法获取哦~ 3 | -------------------------------------------------------------------------------- /Release/robot.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/Release/robot.exe -------------------------------------------------------------------------------- /Release/robot.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/Release/robot.pdb -------------------------------------------------------------------------------- /helper/AiFun.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "common.h" 4 | #include "offset.h" 5 | using namespace std; 6 | 7 | void CollectMoney(wchar_t* wxid, wchar_t* transferid) 8 | { 9 | struct CllectMoneyStruct 10 | { 11 | wchar_t* ptransferid; 12 | int transferidLen; 13 | int transferidMaxLen; 14 | char full[0x8] = { 0 }; 15 | wchar_t* pwxid; 16 | int wxidLen; 17 | int wxidMaxLen; 18 | char full2[0x8] = { 0 }; 19 | }; 20 | 21 | CllectMoneyStruct cllect; 22 | cllect.ptransferid = transferid; 23 | cllect.transferidLen = wcslen(transferid) + 1; 24 | cllect.transferidMaxLen = (wcslen(transferid) + 1) * 2; 25 | cllect.pwxid = wxid; 26 | cllect.wxidLen = wcslen(wxid) + 1; 27 | cllect.wxidMaxLen = (wcslen(wxid) + 1) * 2; 28 | 29 | char* asmBuff = (char*)&cllect.ptransferid; 30 | 31 | DWORD dwCall1 = getWeChatWinAddr() + COLLECTMONEYCALL1; 32 | DWORD dwCall2 = getWeChatWinAddr() + COLLECTMONEYCALL2; 33 | 34 | 35 | __asm 36 | { 37 | sub esp, 0x30; 38 | mov ecx, esp; 39 | mov eax, asmBuff; 40 | push eax; 41 | call dwCall1; 42 | call dwCall2; 43 | add esp, 0x30; 44 | } 45 | } 46 | 47 | void AutoCollectMoney(wchar_t* wxid, wstring msg) 48 | { 49 | int pos1 = msg.find(L""); 50 | int pos2 = msg.find(L"]]>"); 51 | wstring noneed = L" 3 | #include 4 | #include "struct.h" 5 | using namespace std; 6 | 7 | list getDbHandleList(); 8 | VOID clearDbHandleList(); 9 | void inLineHook(); 10 | VOID getContactList(); -------------------------------------------------------------------------------- /helper/Login.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/Login.cpp -------------------------------------------------------------------------------- /helper/Login.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | int isLogin(); 4 | void getLoginStatus(); 5 | void LogoutWeChat(); 6 | VOID GotoQrCode(); -------------------------------------------------------------------------------- /helper/SendMsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/SendMsg.cpp -------------------------------------------------------------------------------- /helper/SendMsg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | void SendTextMsg(wchar_t* wxid, wchar_t* msg); 3 | void SendImageMsg(wchar_t* wxid, wchar_t* filepath); 4 | void SendAttachMsg(wchar_t* wxid, wchar_t* filepath); 5 | void SendXmlCard(wchar_t* RecverWxid, wchar_t* xml); 6 | void SendXmlArticle(wchar_t* RecverWxid, wchar_t* FromWxid, wchar_t* xmlData); -------------------------------------------------------------------------------- /helper/Sql.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/Sql.cpp -------------------------------------------------------------------------------- /helper/Sql.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "struct.h" 4 | using namespace std; 5 | 6 | int runSql(string dbName, string sqlStr, sqlite3_callback callBack, char*& sqlErrmsg); 7 | INT runSqlCallBack(void* para, int nColumn, char** colValue, char** colName); -------------------------------------------------------------------------------- /helper/chatroom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/chatroom.cpp -------------------------------------------------------------------------------- /helper/chatroom.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | void SetChatoomName(wchar_t* roomwxid, wchar_t* roomname); 3 | void SetChatroomAnnouncement(wchar_t* chatroomwxid, wchar_t* Announcement); 4 | void AddChatroomMember(wchar_t* chatroomwxid, wchar_t* wxid); 5 | void DeleteChatroomMember(wchar_t* roomid, wchar_t* memberwxid); 6 | void SendChatroomAtMsg(wchar_t* chatroomid, wchar_t* memberwxid, wchar_t* membernickname, wchar_t* msg); 7 | void GetChatroomUser(wchar_t* chatroomid); 8 | void QuitChatRoom(wchar_t* chatroomwxid); -------------------------------------------------------------------------------- /helper/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/common.cpp -------------------------------------------------------------------------------- /helper/common.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | DWORD getWeChatWinAddr(); 5 | VOID setGlobalHwnd(HWND hwnd); 6 | HWND getGlobalHwnd(); 7 | char* UnicodeToUtf8(const wchar_t* unicode); 8 | wchar_t* UTF8ToUnicode(const char* str); 9 | std::string EncodeConvert(std::string sInfo, INT sourceEncode, INT targetEncode); 10 | wchar_t* StrToWchar(std::string str); -------------------------------------------------------------------------------- /helper/helper.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/helper.aps -------------------------------------------------------------------------------- /helper/helper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/helper.cpp -------------------------------------------------------------------------------- /helper/helper.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/helper.rc -------------------------------------------------------------------------------- /helper/helper.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | {9865750E-67C3-404E-8BAE-BBC6050FFD47} 24 | Win32Proj 25 | helper 26 | 10.0 27 | 28 | 29 | 30 | DynamicLibrary 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | DynamicLibrary 37 | false 38 | v142 39 | true 40 | Unicode 41 | false 42 | 43 | 44 | DynamicLibrary 45 | true 46 | v142 47 | Unicode 48 | 49 | 50 | DynamicLibrary 51 | false 52 | v142 53 | true 54 | Unicode 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | true 76 | 77 | 78 | true 79 | 80 | 81 | false 82 | 83 | 84 | false 85 | 86 | 87 | 88 | Level3 89 | true 90 | WIN32;_DEBUG;HELPER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) 91 | true 92 | 93 | 94 | Windows 95 | true 96 | false 97 | 98 | 99 | 100 | 101 | Level3 102 | true 103 | _DEBUG;HELPER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Windows 108 | true 109 | false 110 | 111 | 112 | 113 | 114 | Level3 115 | true 116 | true 117 | true 118 | WIN32;NDEBUG;HELPER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) 119 | true 120 | 121 | 122 | Windows 123 | true 124 | true 125 | true 126 | false 127 | UseLinkTimeCodeGeneration 128 | 129 | 130 | 131 | 132 | Level3 133 | true 134 | true 135 | true 136 | NDEBUG;HELPER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) 137 | true 138 | 139 | 140 | Windows 141 | true 142 | true 143 | true 144 | false 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | -------------------------------------------------------------------------------- /helper/helper.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 10 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 11 | 12 | 13 | {955ac73d-6c54-4745-aa5c-26e8affe91c8} 14 | 15 | 16 | {7116875b-fc2c-45f7-9626-0700760534da} 17 | 18 | 19 | {63892ceb-e82d-4a38-ada5-59851c317d46} 20 | 21 | 22 | {3adc729a-8f12-4eda-a2b9-33d2734d400c} 23 | 24 | 25 | {1877ea32-3429-4fa2-9fe0-e0429861a83b} 26 | 27 | 28 | {4d072f53-0bf1-46b0-854c-364a1cb5223c} 29 | 30 | 31 | {26fc31a7-0f47-44b0-aee2-990c58d9dd60} 32 | 33 | 34 | {9ad87962-9467-4284-8fb6-82a266f8aa5b} 35 | 36 | 37 | {dd2feaa4-5c02-4979-b609-5cd549993d16} 38 | 39 | 40 | 41 | 42 | 源文件 43 | 44 | 45 | 公共函数 46 | 47 | 48 | 个人信息 49 | 50 | 51 | inLineHook 52 | 53 | 54 | 发送消息 55 | 56 | 57 | 登录退出 58 | 59 | 60 | 数据库 61 | 62 | 63 | AI功能 64 | 65 | 66 | 群组相关 67 | 68 | 69 | 70 | 71 | 头文件 72 | 73 | 74 | 公共函数 75 | 76 | 77 | 个人信息 78 | 79 | 80 | 头文件 81 | 82 | 83 | 头文件 84 | 85 | 86 | inLineHook 87 | 88 | 89 | 发送消息 90 | 91 | 92 | 登录退出 93 | 94 | 95 | 数据库 96 | 97 | 98 | AI功能 99 | 100 | 101 | 群组相关 102 | 103 | 104 | 105 | 106 | 资源文件 107 | 108 | 109 | -------------------------------------------------------------------------------- /helper/helper.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /helper/offset.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/offset.h -------------------------------------------------------------------------------- /helper/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/resource.h -------------------------------------------------------------------------------- /helper/struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/struct.h -------------------------------------------------------------------------------- /helper/userInfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/helper/userInfo.cpp -------------------------------------------------------------------------------- /helper/userInfo.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "struct.h" 3 | 4 | Information* getMyInfo(); 5 | VOID getUserInfo(wchar_t* wxid); 6 | void UpdateMemberDetails(wchar_t* memberwxid); -------------------------------------------------------------------------------- /images/readme.md: -------------------------------------------------------------------------------- 1 | ![](注入器.png) 2 | ![](已完成功能.png) 3 | -------------------------------------------------------------------------------- /images/已完成功能.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/已完成功能.png -------------------------------------------------------------------------------- /images/注入器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/注入器.png -------------------------------------------------------------------------------- /images/鬼手不要脸.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸.png -------------------------------------------------------------------------------- /images/鬼手不要脸2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸2.jpg -------------------------------------------------------------------------------- /images/鬼手不要脸3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸3.jpg -------------------------------------------------------------------------------- /images/鬼手不要脸4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸4.png -------------------------------------------------------------------------------- /images/鬼手不要脸5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸5.png -------------------------------------------------------------------------------- /images/鬼手不要脸6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/images/鬼手不要脸6.png -------------------------------------------------------------------------------- /robot.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29613.14 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "robot", "robot\robot.vcxproj", "{66B046F9-7000-49CB-8979-BED06242EC2A}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "helper", "helper\helper.vcxproj", "{9865750E-67C3-404E-8BAE-BBC6050FFD47}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|x64 = Debug|x64 13 | Debug|x86 = Debug|x86 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Debug|x64.ActiveCfg = Debug|x64 19 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Debug|x64.Build.0 = Debug|x64 20 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Debug|x86.ActiveCfg = Debug|Win32 21 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Debug|x86.Build.0 = Debug|Win32 22 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Release|x64.ActiveCfg = Release|x64 23 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Release|x64.Build.0 = Release|x64 24 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Release|x86.ActiveCfg = Release|Win32 25 | {66B046F9-7000-49CB-8979-BED06242EC2A}.Release|x86.Build.0 = Release|Win32 26 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Debug|x64.ActiveCfg = Debug|x64 27 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Debug|x64.Build.0 = Debug|x64 28 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Debug|x86.ActiveCfg = Debug|Win32 29 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Debug|x86.Build.0 = Debug|Win32 30 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Release|x64.ActiveCfg = Release|x64 31 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Release|x64.Build.0 = Release|x64 32 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Release|x86.ActiveCfg = Release|Win32 33 | {9865750E-67C3-404E-8BAE-BBC6050FFD47}.Release|x86.Build.0 = Release|Win32 34 | EndGlobalSection 35 | GlobalSection(SolutionProperties) = preSolution 36 | HideSolutionNode = FALSE 37 | EndGlobalSection 38 | GlobalSection(ExtensibilityGlobals) = postSolution 39 | SolutionGuid = {1DEF0ACA-F827-45F7-B75D-EEB35DE92799} 40 | EndGlobalSection 41 | EndGlobal 42 | -------------------------------------------------------------------------------- /robot/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/robot/resource.h -------------------------------------------------------------------------------- /robot/robot.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/robot/robot.aps -------------------------------------------------------------------------------- /robot/robot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/robot/robot.cpp -------------------------------------------------------------------------------- /robot/robot.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/robot/robot.rc -------------------------------------------------------------------------------- /robot/robot.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | {66B046F9-7000-49CB-8979-BED06242EC2A} 24 | Win32Proj 25 | robot 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Windows 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | _DEBUG;_WINDOWS;%(PreprocessorDefinitions) 102 | true 103 | 104 | 105 | Windows 106 | true 107 | 108 | 109 | 110 | 111 | Level3 112 | true 113 | true 114 | true 115 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 116 | true 117 | 118 | 119 | Windows 120 | true 121 | true 122 | true 123 | UseLinkTimeCodeGeneration 124 | 125 | 126 | 127 | 128 | Level3 129 | true 130 | true 131 | true 132 | NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 133 | true 134 | 135 | 136 | Windows 137 | true 138 | true 139 | true 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /robot/robot.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 23 | 24 | 头文件 25 | 26 | 27 | 28 | 29 | 资源文件 30 | 31 | 32 | -------------------------------------------------------------------------------- /robot/robot.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /工具/CheatEngine70.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/工具/CheatEngine70.exe -------------------------------------------------------------------------------- /工具/CheatEngine70ch_cn.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlengin/-/cb593c254018ffab9e76b4d04d8068c2a29c96ad/工具/CheatEngine70ch_cn.zip -------------------------------------------------------------------------------- /工具/readme.md: -------------------------------------------------------------------------------- 1 | 所有工具均来自官网下载,请放心使用 2 | 3 | od下载地址:https://down.52pojie.cn/Tools/Debuggers/ 4 | OD会被杀毒软件拦截,请自己处理 5 | -------------------------------------------------------------------------------- /数据库/BizChat.txt: -------------------------------------------------------------------------------- 1 | BizChat.db 2 | CREATE TABLE MyUsrInfo(brandUserName TEXT PRIMARY KEY,userId TEXT) 3 | (null) 4 | CREATE TABLE UsrInfo(userId TEXT PRIMARY KEY,userName TEXT,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,userNamePY TEXT,brandUserName TEXT,curVersion INTEGER DEFAULT 0,newVersion INTEGER DEFAULT 0,bitFlag INTEGER DEFAULT 0,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT,headImageUrl TEXT,profileUrl TEXT,addMemberUrl TEXT,Reserved4 INTEGER DEFAULT 0,Reserved5 TEXT) 5 | (null) 6 | CREATE INDEX userNameIdx ON UsrInfo(userName) 7 | CREATE TABLE ChatInfo(LocalId INTEGER PRIMARY KEY AUTOINCREMENT,BizChatId TEXT UNIQUE,BrandUsrName TEXT NOT NULL,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,ChatType INTEGER,HeadImgUrl TEXT,ChatName TEXT,ChatNamePy INTEGER DEFAULT 0,CurVersion INTEGER DEFAULT 0,NewVersion INTEGER DEFAULT 0,bitFlag INTEGER DEFAULT 0,MaxMemberCnt INTEGER DEFAULT 0,OwnerId TEXT,UserList TEXT,AddMemberUrl TEXT,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT) 8 | (null) 9 | CREATE TABLE sqlite_sequence(name,seq) 10 | CREATE INDEX BrandUsrNameIdx ON ChatInfo(BrandUsrName) 11 | CREATE TABLE ChatSession(LocalId INTEGER PRIMARY KEY,BrandUsrName TEXT NOT NULL,UnReadCnt INTEGER DEFAULT 0,NewUnReadCnt INTEGER DEFAULT 0,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,LastMsgId INTEGER DEFAULT 0,LastMsgTime INTEGER DEFAULT 0,Content TEXT,Digest TEXT,DigestUser TEXT,EditMsg TEXT,AtCnt INTEGER DEFAULT 0,ChatType INTEGER DEFAULT 0,Status INTEGER DEFAULT 0,IsSend INTEGER DEFAULT 0,MsgType INTEGER DEFAULT 0,MsgCnt INTEGER DEFAULT 0,Flag INTEGER DEFAULT 0,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT) 12 | CREATE INDEX SessionBrandUsrNameIdx ON ChatSession(BrandUsrName) 13 | CREATE INDEX UnReadCntIdx ON ChatSession(UnReadCnt) 14 | CREATE TABLE UsrDetail(userId TEXT PRIMARY KEY,userName TEXT,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,hdHeadUrl TEXT,Reserved2 INTEGER DEFAULT 0,Reserved3 INTEGER DEFAULT 0,Buf BLOB,Reserved4 INTEGER DEFAULT 0,Reserved5 TEXT) 15 | (null) 16 | CREATE TABLE Voice(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 17 | (null) 18 | -------------------------------------------------------------------------------- /数据库/BizChatMsg.txt: -------------------------------------------------------------------------------- 1 | BizChatMsg.db 2 | CREATE TABLE ChatMsg(localId INTEGER PRIMARY KEY AUTOINCREMENT,talkerId INT DEFAULT 0,MsgSvrID INT,type INT,IsSender INT,Status INT,CreateTime INT,strTalker TEXT,strContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,bytesTrans BLOB,bytesExtra BLOB,translatedContent TEXT,translatedBrand TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE INDEX talkerIDIdx ON ChatMsg(talkerId) 5 | CREATE INDEX SvrIdIdx ON ChatMsg(MsgSvrID DESC) 6 | CREATE INDEX TalkerIdTypeIndex ON ChatMsg(talkerId,type) 7 | CREATE TABLE TransTable(msgLocalId INTEGER PRIMARY KEY,talkerId INT) 8 | -------------------------------------------------------------------------------- /数据库/ChatMsg.txt: -------------------------------------------------------------------------------- 1 | ChatMsg.db 2 | CREATE TABLE ChatMsg(localId INTEGER PRIMARY KEY AUTOINCREMENT,talkerId INT DEFAULT 0,MsgSvrID INT,type INT,IsSender INT,Status INT,CreateTime INT,strTalker TEXT,strContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,bytesTrans BLOB,bytesExtra BLOB,translatedContent TEXT,translatedBrand TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE INDEX talkerIDIdx ON ChatMsg(talkerId) 5 | CREATE INDEX SvrIdIdx ON ChatMsg(MsgSvrID DESC) 6 | CREATE INDEX TalkerIdTypeIndex ON ChatMsg(talkerId,type) 7 | CREATE TABLE TransTable(msgLocalId INTEGER PRIMARY KEY,talkerId INT) 8 | CREATE TABLE ChatCRMsg(localId INTEGER PRIMARY KEY AUTOINCREMENT,talkerId INT DEFAULT 0,MsgSvrID INT,type INT,sequence INT DEFAULT 0,statusEx INT DEFAULT 0,FlagEx INT,IsSender INT,Status INT,CreateTime INT,strTalker TEXT,strContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,bytesTrans BLOB,bytesExtra BLOB,translatedContent TEXT,translatedBrand TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT) 9 | CREATE INDEX ChatCRMsgStorageIdx_1 ON ChatCRMsg(talkerId,sequence DESC) 10 | CREATE INDEX ChatCRMsgStorageIdx_2 ON ChatCRMsg(talkerId,type,sequence DESC) 11 | CREATE INDEX ChatCRMsgStorageIdx_3 ON ChatCRMsg(MsgSvrID) 12 | CREATE TABLE TransCRTable(msgLocalId INTEGER PRIMARY KEY,talkerId INT) 13 | CREATE TABLE Name2ID_v1(UsrName TEXT PRIMARY KEY) 14 | (null) 15 | CREATE TABLE DelSessionInfo(talkerId INTEGER PRIMARY KEY,dbType INT DEFAULT 0,LocalId INT DEFAULT 0,svrID INT DEFAULT 0,seq INT DEFAULT 0,usrName TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT) 16 | CREATE TABLE ChatRecordCompatXml(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 17 | (null) 18 | CREATE TABLE ChatMsg(localId INTEGER PRIMARY KEY AUTOINCREMENT,talkerId INT DEFAULT 0,MsgSvrID INT,type INT,IsSender INT,Status INT,CreateTime INT,strTalker TEXT,strContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,bytesTrans BLOB,bytesExtra BLOB,translatedContent TEXT,translatedBrand TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT) 19 | CREATE TABLE sqlite_sequence(name,seq) 20 | CREATE INDEX talkerIDIdx ON ChatMsg(talkerId) 21 | CREATE INDEX SvrIdIdx ON ChatMsg(MsgSvrID DESC) 22 | CREATE INDEX TalkerIdTypeIndex ON ChatMsg(talkerId,type) 23 | CREATE TABLE TransTable(msgLocalId INTEGER PRIMARY KEY,talkerId INT) 24 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 25 | (null) 26 | CREATE TABLE MsgSearchInfo18 (entityId INTEGER,fromEntityId INTEGER, msgType INTEGER,msgSubType INTEGER, createTime INTEGER, prefixLocalId INTEGER, sortSequence INTEGER, fileExt INTEGER, fileSize INTEGER, innerId INTEGER, lastOpTime INTEGER, fileStatus INTEGER, docId INTEGER, title TEXT) 27 | CREATE VIRTUAL TABLE FTSMsgSearch18 USING fts4(content,tokenize=mmTokenizer "porter") 28 | CREATE TABLE 'FTSMsgSearch18_content'(docid INTEGER PRIMARY KEY, 'c0content') 29 | CREATE TABLE 'FTSMsgSearch18_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 30 | CREATE TABLE 'FTSMsgSearch18_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 31 | (null) 32 | CREATE TABLE 'FTSMsgSearch18_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 33 | CREATE TABLE 'FTSMsgSearch18_stat'(id INTEGER PRIMARY KEY, value BLOB) 34 | CREATE INDEX MsgSearchInfo18_idTypeIdx ON MsgSearchInfo18(entityId, msgType, sortSequence) 35 | CREATE INDEX MsgSearchInfo18_idSubTypeIdx ON MsgSearchInfo18(entityId, msgSubType, sortSequence) 36 | CREATE INDEX MsgSearchInfo18_idTalkerIdx ON MsgSearchInfo18(entityId, fromEntityId, sortSequence) 37 | CREATE INDEX MsgSearchInfo18_idTimeIdx ON MsgSearchInfo18(entityId, createTime) 38 | CREATE INDEX MsgSearchInfo18FileEntityIdFileExtIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileExt) 39 | CREATE INDEX MsgSearchInfo18FileEntityIdFileSizeIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileSize) 40 | CREATE INDEX MsgSearchInfo18FileEntityIdFileStatusIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileStatus) 41 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileExtIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileExt) 42 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileSizeIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileSize) 43 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileStatusIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileStatus) 44 | CREATE INDEX MsgSearchInfo18FileLastOpTimeIndex ON MsgSearchInfo18(msgSubType,sortSequence,lastOpTime) 45 | CREATE INDEX MsgSearchInfo18FileExtTimeIndex ON MsgSearchInfo18(msgSubType,fileExt,sortSequence) 46 | CREATE INDEX MsgSearchInfo18FileExtSizeIndex ON MsgSearchInfo18(msgSubType,fileExt,fileSize) 47 | CREATE INDEX MsgSearchInfo18FileExtStatusIndex ON MsgSearchInfo18(msgSubType,fileExt,fileStatus) 48 | CREATE INDEX MsgSearchInfo18FileTimeSizeIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileSize) 49 | CREATE INDEX MsgSearchInfo18FileTimeStatusIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileStatus) 50 | CREATE INDEX MsgSearchInfo18FileTimeExtIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileExt) 51 | CREATE INDEX MsgSearchInfo18PrefixLocalIdIndex ON MsgSearchInfo18(prefixLocalId) 52 | CREATE TABLE FileExt18 ( userName TEXT PRIMARY KEY) 53 | (null) 54 | CREATE TABLE DBTableInfo18 ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 55 | CREATE INDEX versionIdx ON DBTableInfo18(tableIndex) 56 | -------------------------------------------------------------------------------- /数据库/Emotion.txt: -------------------------------------------------------------------------------- 1 | Emotion.db 2 | CREATE TABLE EmotionPackageItem(ProductId TEXT PRIMARY KEY,nOrder INTEGER,Reserved0 INTEGER,Name TEXT,IconUrl TEXT,PannelUrl TEXT,PayStatus INTEGER,DownloadStatus INTEGER,InstallTime INTEGER,Reserved1 INTEGER,Reserved2 TEXT,Reserved3 INTEGER) 3 | (null) 4 | CREATE INDEX nOrderIdx ON EmotionPackageItem(nOrder) 5 | CREATE TABLE EmotionItem(localId INTEGER PRIMARY KEY AUTOINCREMENT,ProductId INTEGER,MD5 TEXT NOT NULL,Reserved0 INTEGER,Reserved1 TEXT,Type INTEGER,AppId TEXT,FromUrl TEXT,Thumb BLOB,Data BLOB,Reserved2 INTEGER,Reserved3 TEXT,Reserved4 INTEGER, UNIQUE(ProductId,MD5)) 6 | (null) 7 | CREATE TABLE sqlite_sequence(name,seq) 8 | CREATE INDEX MD5Idx ON EmotionItem(MD5) 9 | CREATE INDEX ProductIdIdx ON EmotionItem(ProductId) 10 | CREATE TABLE EmotionDes1(localId INTEGER PRIMARY KEY AUTOINCREMENT,ProductId TEXT,MD5 TEXT NOT NULL UNIQUE,Des BLOB,Reserved0 INTEGER,Reserved1 TEXT,Reserved2 BLOB) 11 | (null) 12 | CREATE INDEX PIDIdx ON EmotionDes1(ProductId) 13 | CREATE TABLE EmotionOrderInfo(MD5 TEXT PRIMARY KEY,ProductId INTEGER,lastUseTime INTEGER,Reserved0 INTEGER,Reserved1 TEXT) 14 | (null) 15 | CREATE TABLE Name2ID(UsrName TEXT PRIMARY KEY) 16 | (null) 17 | CREATE TABLE CustomEmotion(MD5 TEXT PRIMARY KEY,ProductId INTEGER,CDNUrl TEXT,designerid TEXT,thumburl TEXT,encrypturl TEXT,aeskey TEXT,Reserved0 INTEGER,Reserved1 TEXT,Reserved2 INTEGER,Data BLOB,Reserved3 TEXT,Reserved4 INTEGER) 18 | (null) 19 | CREATE INDEX productid_idx ON CustomEmotion(ProductId) 20 | -------------------------------------------------------------------------------- /数据库/FTSContact.txt: -------------------------------------------------------------------------------- 1 | FTSContact.db 2 | CREATE VIRTUAL TABLE FTSContact15 USING fts4( alias, nickname, remark, tokenize=mmTokenizer "sign") 3 | CREATE TABLE 'FTSContact15_content'(docid INTEGER PRIMARY KEY, 'c0alias', 'c1nickname', 'c2remark') 4 | CREATE TABLE 'FTSContact15_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 5 | CREATE TABLE 'FTSContact15_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 6 | (null) 7 | CREATE TABLE 'FTSContact15_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 8 | CREATE TABLE 'FTSContact15_stat'(id INTEGER PRIMARY KEY, value BLOB) 9 | CREATE TABLE FTSContact15_MetaData( docid INTEGER PRIMARY KEY, entityId INTEGER) 10 | CREATE INDEX FTSContact15_MetaData_entityIdx ON FTSContact15_MetaData(entityId) 11 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 12 | (null) 13 | CREATE VIRTUAL TABLE FTSChatroom15 USING fts4( groupRemark, nickname, alias, tokenize=mmTokenizer "sign") 14 | CREATE TABLE 'FTSChatroom15_content'(docid INTEGER PRIMARY KEY, 'c0groupRemark', 'c1nickname', 'c2alias') 15 | CREATE TABLE 'FTSChatroom15_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 16 | CREATE TABLE 'FTSChatroom15_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 17 | (null) 18 | CREATE TABLE 'FTSChatroom15_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 19 | CREATE TABLE 'FTSChatroom15_stat'(id INTEGER PRIMARY KEY, value BLOB) 20 | CREATE TABLE FTSChatroom15_MetaData( docid INTEGER PRIMARY KEY, talkerId INTEGER, groupTalkerId INTEGER) 21 | CREATE INDEX FTSChatroom15_MetaData_EntityIdIdx ON FTSChatroom15_MetaData(talkerId, groupTalkerId) 22 | CREATE INDEX FTSChatroom15_MetaData_GroupIdIdx ON FTSChatroom15_MetaData(groupTalkerId) 23 | CREATE VIRTUAL TABLE FTSData3 USING fts4( data, tokenize=mmTokenizer "sign") 24 | CREATE TABLE 'FTSData3_content'(docid INTEGER PRIMARY KEY, 'c0data') 25 | CREATE TABLE 'FTSData3_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 26 | CREATE TABLE 'FTSData3_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 27 | (null) 28 | CREATE TABLE 'FTSData3_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 29 | CREATE TABLE 'FTSData3_stat'(id INTEGER PRIMARY KEY, value BLOB) 30 | CREATE TABLE FTSData3_MetaData( docid INTEGER PRIMARY KEY, tagId INTEGER, key TEXT, entityId INTEGER) 31 | CREATE INDEX FTSData3_MetaData_entityIdx ON FTSData3_MetaData(entityId) 32 | CREATE INDEX FTSData3_MetaData_tagIdx ON FTSData3_MetaData(tagId) 33 | CREATE VIRTUAL TABLE FTSOpenIMResource3 USING fts4( data, tokenize=mmTokenizer "sign") 34 | CREATE TABLE 'FTSOpenIMResource3_content'(docid INTEGER PRIMARY KEY, 'c0data') 35 | CREATE TABLE 'FTSOpenIMResource3_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 36 | CREATE TABLE 'FTSOpenIMResource3_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 37 | (null) 38 | CREATE TABLE 'FTSOpenIMResource3_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 39 | CREATE TABLE 'FTSOpenIMResource3_stat'(id INTEGER PRIMARY KEY, value BLOB) 40 | CREATE TABLE FTSOpenIMResource3_MetaData( docid INTEGER PRIMARY KEY, tagId INTEGER, key TEXT, entityId INTEGER) 41 | CREATE INDEX FTSOpenIMResource3_MetaData_entityIdx ON FTSOpenIMResource3_MetaData(entityId) 42 | CREATE INDEX FTSOpenIMResource3_MetaData_tagIdx ON FTSOpenIMResource3_MetaData(tagId) 43 | CREATE TABLE WordingToTalker3( wordingId TEXT, entityId INTEGER) 44 | CREATE INDEX _wordingIdIdx ON WordingToTalker3(wordingId) 45 | CREATE INDEX _entityIdIdx ON WordingToTalker3(entityId) 46 | CREATE TABLE DBTableInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 47 | CREATE INDEX versionIdx ON DBTableInfo(tableIndex) 48 | -------------------------------------------------------------------------------- /数据库/FTSFavorite.txt: -------------------------------------------------------------------------------- 1 | FTSFavorite.db 2 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 3 | (null) 4 | CREATE TABLE NameIdToFavId ( FavLocalID INTEGER PRIMARY KEY, NameId INTEGER DEFAULT 0,realChatId INTEGER DEFAULT 0) 5 | CREATE INDEX NameIdToFavId_NameIdIdx ON NameIdToFavId(NameId) 6 | CREATE INDEX NameIdToFavId_realChatIdIdx ON NameIdToFavId(realChatId) 7 | CREATE VIRTUAL TABLE FavData1 USING fts4( data, tokenize=mmTokenizer "sign") 8 | CREATE TABLE 'FavData1_content'(docid INTEGER PRIMARY KEY, 'c0data') 9 | CREATE TABLE 'FavData1_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 10 | CREATE TABLE 'FavData1_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 11 | (null) 12 | CREATE TABLE 'FavData1_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 13 | CREATE TABLE 'FavData1_stat'(id INTEGER PRIMARY KEY, value BLOB) 14 | CREATE TABLE FavData1_MetaData( docid INTEGER PRIMARY KEY, tagId INTEGER, key TEXT, entityId INTEGER) 15 | CREATE INDEX FavData1_MetaData_entityIdx ON FavData1_MetaData(entityId) 16 | CREATE INDEX FavData1_MetaData_tagIdx ON FavData1_MetaData(tagId) 17 | CREATE TABLE DBTableInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 18 | CREATE INDEX versionIdx ON DBTableInfo(tableIndex) 19 | -------------------------------------------------------------------------------- /数据库/FTSMSG0.txt: -------------------------------------------------------------------------------- 1 | Multi\FTSMSG0.db 2 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 3 | (null) 4 | CREATE VIRTUAL TABLE FTSChatMsg2 USING fts4(content,entityId,notindexed=entityId,tokenize=mmTokenizer "porter") 5 | CREATE TABLE 'FTSChatMsg2_content'(docid INTEGER PRIMARY KEY, 'c0content', 'c1entityId') 6 | CREATE TABLE 'FTSChatMsg2_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 7 | CREATE TABLE 'FTSChatMsg2_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 8 | (null) 9 | CREATE TABLE 'FTSChatMsg2_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 10 | CREATE TABLE 'FTSChatMsg2_stat'(id INTEGER PRIMARY KEY, value BLOB) 11 | CREATE TABLE FTSChatMsg2_MetaData(docid INTEGER PRIMARY KEY, msgId INTEGER, entityId INTEGER,type INTEGER, subType INTEGER, tableType INTEGER, sortSequence INTEGER) 12 | CREATE INDEX FTSChatMsg2_idSeqIdx ON FTSChatMsg2_MetaData (docid, msgId, sortSequence) 13 | CREATE INDEX FTSChatMsg2_entityIdIdxName ON FTSChatMsg2_MetaData (docid, entityId, sortSequence) 14 | CREATE INDEX FTSChatMsg2_typeIdxName ON FTSChatMsg2_MetaData (docid, type, sortSequence) 15 | CREATE INDEX FTSChatMsg2_subTypeIdxName ON FTSChatMsg2_MetaData (docid, subType, sortSequence) 16 | CREATE INDEX FTSChatMsg2_idOnlyIdx ON FTSChatMsg2_MetaData (entityId) 17 | CREATE INDEX FTSChatMsg2_msgTalbeIdx ON FTSChatMsg2_MetaData (msgId, tableType) 18 | CREATE TABLE DBTableInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 19 | CREATE INDEX versionIdx ON DBTableInfo(tableIndex) 20 | -------------------------------------------------------------------------------- /数据库/FTSMsg.txt: -------------------------------------------------------------------------------- 1 | FTSMsg.db 2 | CREATE VIRTUAL TABLE FTSChatMsg2 USING fts4(content,entityId,notindexed=entityId,tokenize=mmTokenizer "porter") 3 | CREATE TABLE 'FTSChatMsg2_content'(docid INTEGER PRIMARY KEY, 'c0content', 'c1entityId') 4 | CREATE TABLE 'FTSChatMsg2_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 5 | CREATE TABLE 'FTSChatMsg2_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 6 | (null) 7 | CREATE TABLE 'FTSChatMsg2_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 8 | CREATE TABLE 'FTSChatMsg2_stat'(id INTEGER PRIMARY KEY, value BLOB) 9 | CREATE TABLE FTSChatMsg2_MetaData(docid INTEGER PRIMARY KEY, msgId INTEGER, entityId INTEGER,type INTEGER, subType INTEGER, tableType INTEGER, sortSequence INTEGER) 10 | CREATE INDEX FTSChatMsg2_idSeqIdx ON FTSChatMsg2_MetaData (docid, msgId, sortSequence) 11 | CREATE INDEX FTSChatMsg2_entityIdIdxName ON FTSChatMsg2_MetaData (docid, entityId, sortSequence) 12 | CREATE INDEX FTSChatMsg2_typeIdxName ON FTSChatMsg2_MetaData (docid, type, sortSequence) 13 | CREATE INDEX FTSChatMsg2_subTypeIdxName ON FTSChatMsg2_MetaData (docid, subType, sortSequence) 14 | CREATE INDEX FTSChatMsg2_idOnlyIdx ON FTSChatMsg2_MetaData (entityId) 15 | CREATE INDEX FTSChatMsg2_msgTalbeIdx ON FTSChatMsg2_MetaData (msgId, tableType) 16 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 17 | (null) 18 | CREATE TABLE DBTableInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 19 | CREATE INDEX versionIdx ON DBTableInfo(tableIndex) 20 | -------------------------------------------------------------------------------- /数据库/Favorite.txt: -------------------------------------------------------------------------------- 1 | Favorite.db 2 | CREATE TABLE FavItems(FavLocalID INTEGER PRIMARY KEY AUTOINCREMENT,SvrFavId INTEGER DEFAULT 0,Type INTEGER DEFAULT 0,ServerSeq INTEGER DEFAULT 0,LocalStatus INTEGER DEFAULT 0,Flag INTEGER DEFAULT 0,FromUser TEXT,RealChatName TEXT,SourceId TEXT,LocalSeq INTEGER DEFAULT 0,SearchKey TEXT,UpdateTime INTEGER DEFAULT 0,Status INTEGER DEFAULT 0,SourceType INTEGER DEFAULT 0,reseverd0 INTEGER DEFAULT 0,reseverd1 INTEGER DEFAULT 0,reseverd2 INTEGER DEFAULT 0,reseverd3 INTEGER DEFAULT 0,reseverd4 TEXT,reseverd5 TEXT,reseverd6 TEXT,XmlBuf TEXT) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE INDEX FavItems_index1 ON FavItems(SvrFavId) 5 | CREATE INDEX FavItems_index2 ON FavItems(Type) 6 | CREATE INDEX FavItems_index4 ON FavItems(Flag) 7 | CREATE INDEX FavItems_index5 ON FavItems(LocalStatus) 8 | CREATE INDEX FavItems_index6 ON FavItems(FromUser) 9 | CREATE INDEX FavItems_index7 ON FavItems(RealChatName) 10 | CREATE INDEX FavItems_index8 ON FavItems(SourceId) 11 | CREATE INDEX FavItems_index9 ON FavItems(UpdateTime) 12 | CREATE INDEX FavItems_index10 ON FavItems(Status) 13 | CREATE TABLE Voice(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 14 | (null) 15 | CREATE TABLE NoteHtml(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 16 | (null) 17 | CREATE TABLE FavTags(FavLocalID INTEGER,Tag TEXT) 18 | CREATE INDEX FavTAG_Idx1 ON FavTags(FavLocalID) 19 | CREATE INDEX FavTAG_Idx2 ON FavTags(Tag) 20 | CREATE TABLE FavDataItem(RecId INTEGER PRIMARY KEY AUTOINCREMENT,FavLocalID INTEGER,Type INTEGER,DataId TEXT,HtmlId TEXT,Datasourceid TEXT,Datastatus INTEGER DEFAULT 0,Datafmt TEXT,Datatitle TEXT,Datadesc TEXT,Thumbfullmd5 TEXT,Thumbhead256md5 TEXT,Thumbfullsize INTEGER DEFAULT 0,fullmd5 TEXT,head256md5 TEXT,fullsize INTEGER DEFAULT 0,cdn_thumburl TEXT,cdn_thumbkey TEXT,thumb_width INTEGER DEFAULT 0,thumb_height INTEGER DEFAULT 0,cdn_dataurl TEXT,cdn_datakey TEXT,cdn_encryver INTEGER DEFAULT 0,duration TEXT,stream_weburl TEXT,stream_dataurl TEXT,stream_lowbandurl TEXT,sourcethumbpath TEXT,sourcedatapath TEXT,stream_videoid TEXT,Rerserved1 INTEGER DEFAULT 0,Rerserved2 INTEGER DEFAULT 0,Rerserved3 INTEGER DEFAULT 0,Rerserved4 TEXT,Rerserved5 TEXT,Rerserved6 TEXT,Rerserved7 BLOB) 21 | CREATE INDEX FavDataItem_Idx1 ON FavDataItem(FavLocalID) 22 | CREATE INDEX FavDataItem_Idx2 ON FavDataItem(Type) 23 | CREATE INDEX FavDataItem_Idx3 ON FavDataItem(DataId) 24 | CREATE INDEX FavDataItem_Idx4 ON FavDataItem(FavLocalID,Type) 25 | CREATE TABLE Config(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 26 | (null) 27 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 28 | (null) 29 | CREATE TABLE NameIdToFavId ( FavLocalID INTEGER PRIMARY KEY, NameId INTEGER DEFAULT 0,realChatId INTEGER DEFAULT 0) 30 | CREATE INDEX NameIdToFavId_NameIdIdx ON NameIdToFavId(NameId) 31 | CREATE INDEX NameIdToFavId_realChatIdIdx ON NameIdToFavId(realChatId) 32 | CREATE VIRTUAL TABLE FavData1 USING fts4( data, tokenize=mmTokenizer "sign") 33 | CREATE TABLE 'FavData1_content'(docid INTEGER PRIMARY KEY, 'c0data') 34 | CREATE TABLE 'FavData1_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 35 | CREATE TABLE 'FavData1_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 36 | (null) 37 | CREATE TABLE 'FavData1_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 38 | CREATE TABLE 'FavData1_stat'(id INTEGER PRIMARY KEY, value BLOB) 39 | CREATE TABLE FavData1_MetaData( docid INTEGER PRIMARY KEY, tagId INTEGER, key TEXT, entityId INTEGER) 40 | CREATE INDEX FavData1_MetaData_entityIdx ON FavData1_MetaData(entityId) 41 | CREATE INDEX FavData1_MetaData_tagIdx ON FavData1_MetaData(tagId) 42 | CREATE TABLE DBTableInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 43 | CREATE INDEX versionIdx ON DBTableInfo(tableIndex) 44 | -------------------------------------------------------------------------------- /数据库/FunctionMsg.txt: -------------------------------------------------------------------------------- 1 | FunctionMsg.db 2 | CREATE TABLE FunctionMsg(nCreateTime INTEGER,nHashId INTEGER, strFunctionMsgId TEXT, nCmdId INT DEFAULT 0,nOpCode INTEGER DEFAULT 0,nRetryInterval INTEGER DEFAULT 0,nReportId INTEGER DEFAULT 0,nVersion INTEGER DEFAULT 0,nFunctionMsgVersion INTEGER DEFAULT0,strSuccessKey TEXT,strFailKey TEXT,strFinalFailKey TEXT,strCustomBuff TEXT,nMsgSvrId INTEGER,nRetryCount INTEGER,nBusinessId INTEGER,strBusinessBuff TEXT,nActionTime INTEGER,nDelayTime INTEGER,strCGI TEXT,strAddMsg TEXT,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT,blobOriginalAddMsg BLOB,blobNotShowAddMsg BLOB) 3 | CREATE INDEX FunctionMsgIdx_0 ON FunctionMsg(nHashId) 4 | CREATE INDEX FunctionMsgIdx_1 ON FunctionMsg(nCreateTime) 5 | CREATE INDEX FunctionMsgIdx_2 ON FunctionMsg(nCreateTime,strFunctionMsgId) 6 | CREATE TABLE FunctionMsgTask(nCreateTime INTEGER DEFAULT 0, strFunctionMsgId TEXT, nOpCode INTEGER DEFAULT 0,nActionTime INTEGER,blobAddMsgBuffer BLOB,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT) 7 | CREATE INDEX FunctionMsgTaskIdx_0 ON FunctionMsgTask(nCreateTime) 8 | CREATE INDEX FunctionMsgTaskIdx_1 ON FunctionMsgTask(strFunctionMsgId) 9 | -------------------------------------------------------------------------------- /数据库/MSG0.txt: -------------------------------------------------------------------------------- 1 | Multi\MSG0.db 2 | CREATE TABLE MSG (localId INTEGER PRIMARY KEY AUTOINCREMENT,TalkerId INT DEFAULT 0,MsgSvrID INT,Type INT,SubType INT,IsSender INT,CreateTime INT,Sequence INT DEFAULT 0,StatusEx INT DEFAULT 0,FlagEx INT,Status INT,MsgServerSeq INT,MsgSequence INT,StrTalker TEXT,StrContent TEXT,DisplayContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 INT DEFAULT 0,Reserved2 INT DEFAULT 0,Reserved3 INT DEFAULT 0,Reserved4 TEXT,Reserved5 TEXT,Reserved6 TEXT,CompressContent BLOB,BytesExtra BLOB,BytesTrans BLOB) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE TABLE MSGTrans(msgLocalId INTEGER PRIMARY KEY, talkerId INT) 5 | CREATE INDEX talkerIDIdx ON MSGTrans(talkerId) 6 | CREATE INDEX MsgTalkerIdSeqIndex ON MSG(talkerId,sequence DESC) 7 | CREATE INDEX MsgTalkerIdTypeSeqIndex ON MSG(talkerId,type,sequence DESC) 8 | CREATE INDEX SvrIdIndex ON MSG(MsgSvrID) 9 | CREATE TABLE Name2ID(UsrName TEXT PRIMARY KEY) 10 | (null) 11 | CREATE TABLE DBInfo ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 12 | CREATE INDEX versionIdx ON DBInfo(tableIndex) 13 | -------------------------------------------------------------------------------- /数据库/Media.txt: -------------------------------------------------------------------------------- 1 | Media.db 2 | CREATE TABLE MediaInfo(MsgLocalId INTEGER PRIMARY KEY,TalkerId INTEGER DEFAULT 0,MsgType INTEGER DEFAULT 0,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,Thumbnail BLOB,Detail BLOB,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT) 3 | CREATE INDEX TalkerIdIdx ON MediaInfo(TalkerId) 4 | CREATE INDEX MsgTypeIdx ON MediaInfo(MsgType) 5 | CREATE TABLE ChatCRVoice(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 6 | (null) 7 | CREATE TABLE OpenIMMedia(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 8 | (null) 9 | CREATE TABLE PublicMsgMedia(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 10 | (null) 11 | -------------------------------------------------------------------------------- /数据库/MediaMSG0.txt: -------------------------------------------------------------------------------- 1 | Multi\MediaMSG0.db 2 | CREATE TABLE Media(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 3 | (null) 4 | -------------------------------------------------------------------------------- /数据库/MicroMsg.txt: -------------------------------------------------------------------------------- 1 | MicroMsg.db 2 | CREATE TABLE Contact(UserName TEXT PRIMARY KEY ,Alias TEXT,EncryptUserName TEXT,DelFlag INTEGER DEFAULT 0,Type INTEGER DEFAULT 0,VerifyFlag INTEGER DEFAULT 0,Reserved1 INTEGER DEFAULT 0,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT,Remark TEXT,NickName TEXT,LabelIDList TEXT,DomainList TEXT,ChatRoomType int,PYInitial TEXT,QuanPin TEXT,RemarkPYInitial TEXT,RemarkQuanPin TEXT,BigHeadImgUrl TEXT,SmallHeadImgUrl TEXT,HeadImgMd5 TEXT,ChatRoomNotify INTEGER DEFAULT 0,Reserved5 INTEGER DEFAULT 0,Reserved6 TEXT,Reserved7 TEXT,ExtraBuf BLOB,Reserved8 INTEGER DEFAULT 0,Reserved9 INTEGER DEFAULT 0,Reserved10 TEXT,Reserved11 TEXT) 3 | (null) 4 | CREATE INDEX Contact_Idx0 ON Contact(Reserved2) 5 | CREATE TABLE OpLog(ID INTEGER PRIMARY KEY,CMDItemBuffer BLOB) 6 | CREATE TABLE Session(strUsrName TEXT PRIMARY KEY,nOrder INT DEFAULT 0,nUnReadCount INTEGER DEFAULT 0,parentRef TEXT,Reserved0 INTEGER DEFAULT 0,Reserved1 TEXT,strNickName TEXT,nStatus INTEGER,nIsSend INTEGER,strContent TEXT,nMsgType INTEGER,nMsgLocalID INTEGER,nMsgStatus INTEGER,nTime INTEGER,editContent TEXT,othersAtMe INT,Reserved2 INTEGER DEFAULT 0,Reserved3 TEXT,Reserved4 INTEGER DEFAULT 0,Reserved5 TEXT,bytesXml BLOB) 7 | (null) 8 | CREATE INDEX nOrderIndex ON Session(nOrder) 9 | CREATE TABLE AppInfo(InfoKey TEXT PRIMARY KEY,AppId TEXT,Version INT,IconUrl TEXT,StoreUrl TEXT,WatermarkUrl TEXT,HeadImgBuf BLOB,Name TEXT,Description TEXT,Name4EnUS TEXT,Description4EnUS TEXT,Name4ZhTW TEXT,Description4ZhTW TEXT) 10 | (null) 11 | CREATE TABLE ContactHeadImgUrl( usrName TEXT PRIMARY KEY, smallHeadImgUrl TEXT, bigHeadImgUrl TEXT, headImgMd5 TEXT, reverse0 INT, reverse1 TEXT) 12 | (null) 13 | CREATE INDEX reverse0Index ON ContactHeadImgUrl(reverse0) 14 | CREATE TABLE BizInfo(UserName TEXT PRIMARY KEY,Type INTEGER DEFAULT 0,Belong TEXT,AcceptType INTEGER DEFAULT 0,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,BrandList TEXT,BrandFlag INTEGER DEFAULT 0,BrandInfo TEXT,BrandIconURL TEXT,UpdateTime INTEGER DEFAULT 0,ExtInfo TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT,Reserved5 INTEGER DEFAULT 0,Reserved6 TEXT,Reserved7 INTEGER DEFAULT 0,Reserved8 TEXT,Reserved9 BLOB) 15 | (null) 16 | CREATE TABLE TicketInfo(UserName TEXT PRIMARY KEY,Ticket TEXT,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT) 17 | (null) 18 | CREATE TABLE ChatRoom(ChatRoomName TEXT PRIMARY KEY,UserNameList TEXT,DisplayNameList TEXT,ChatRoomFlag int Default 0,Owner INTEGER DEFAULT 0,IsShowName INTEGER DEFAULT 0,SelfDisplayName TEXT,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT,Reserved5 INTEGER DEFAULT 0,Reserved6 TEXT,RoomData BLOB,Reserved7 INTEGER DEFAULT 0,Reserved8 TEXT) 19 | (null) 20 | CREATE TABLE ChatRoomInfo(ChatRoomName TEXT PRIMARY KEY,Announcement TEXT,InfoVersion INTEGER DEFAULT 0,AnnouncementEditor TEXT,AnnouncementPublishTime INTEGER DEFAULT 0,ChatRoomStatus INTEGER DEFAULT 0,Reserved1 INTEGER DEFAULT 0,Reserved2 TEXT,Reserved3 INTEGER DEFAULT 0,Reserved4 TEXT,Reserved5 INTEGER DEFAULT 0,Reserved6 TEXT,Reserved7 INTEGER DEFAULT 0,Reserved8 TEXT) 21 | (null) 22 | CREATE TABLE MainConfig(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 23 | (null) 24 | CREATE TABLE RevokeMsgStorage ( CreateTime INTEGER PRIMARY KEY, MsgSvrID INTERGER, RevokeSvrID INTERGER) 25 | CREATE INDEX MsgSvrId_Idx ON RevokeMsgStorage(MsgSvrID) 26 | CREATE INDEX RevokeSvrID_Idx ON RevokeMsgStorage(RevokeSvrID) 27 | CREATE TABLE FTSContactTrans ( username TEXT, reserve1 INTEGER, reserve2 TEXT) 28 | CREATE TABLE FTSChatroomTrans ( username TEXT, groupUsername TEXT, displayName TEXT, nickname TEXT, operation INTEGER, reserve1 INTEGER, reserve2 TEXT) 29 | -------------------------------------------------------------------------------- /数据库/Misc.txt: -------------------------------------------------------------------------------- 1 | Misc.db 2 | CREATE TABLE ContactHeadImg1(usrName TEXT PRIMARY KEY,createTime INT,smallHeadBuf BLOB,m_headImgMD5 TEXT) 3 | (null) 4 | CREATE INDEX createTimeIndex ON ContactHeadImg1(createTime DESC) 5 | CREATE TABLE BizContactHeadImg(usrName TEXT PRIMARY KEY,createTime INT,smallHeadBuf BLOB,m_headImgMD5 TEXT) 6 | (null) 7 | -------------------------------------------------------------------------------- /数据库/MultiSearchChatMsg.txt: -------------------------------------------------------------------------------- 1 | MultiSearchChatMsg.db 2 | CREATE TABLE NameToId ( userName TEXT PRIMARY KEY) 3 | (null) 4 | CREATE TABLE MsgSearchInfo18 (entityId INTEGER,fromEntityId INTEGER, msgType INTEGER,msgSubType INTEGER, createTime INTEGER, prefixLocalId INTEGER, sortSequence INTEGER, fileExt INTEGER, fileSize INTEGER, innerId INTEGER, lastOpTime INTEGER, fileStatus INTEGER, docId INTEGER, title TEXT) 5 | CREATE VIRTUAL TABLE FTSMsgSearch18 USING fts4(content,tokenize=mmTokenizer "porter") 6 | CREATE TABLE 'FTSMsgSearch18_content'(docid INTEGER PRIMARY KEY, 'c0content') 7 | CREATE TABLE 'FTSMsgSearch18_segments'(blockid INTEGER PRIMARY KEY, block BLOB) 8 | CREATE TABLE 'FTSMsgSearch18_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx)) 9 | (null) 10 | CREATE TABLE 'FTSMsgSearch18_docsize'(docid INTEGER PRIMARY KEY, size BLOB) 11 | CREATE TABLE 'FTSMsgSearch18_stat'(id INTEGER PRIMARY KEY, value BLOB) 12 | CREATE INDEX MsgSearchInfo18_idTypeIdx ON MsgSearchInfo18(entityId, msgType, sortSequence) 13 | CREATE INDEX MsgSearchInfo18_idSubTypeIdx ON MsgSearchInfo18(entityId, msgSubType, sortSequence) 14 | CREATE INDEX MsgSearchInfo18_idTalkerIdx ON MsgSearchInfo18(entityId, fromEntityId, sortSequence) 15 | CREATE INDEX MsgSearchInfo18_idTimeIdx ON MsgSearchInfo18(entityId, createTime) 16 | CREATE INDEX MsgSearchInfo18FileEntityIdFileExtIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileExt) 17 | CREATE INDEX MsgSearchInfo18FileEntityIdFileSizeIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileSize) 18 | CREATE INDEX MsgSearchInfo18FileEntityIdFileStatusIndex ON MsgSearchInfo18(msgSubType,entityId,sortSequence,fileStatus) 19 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileExtIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileExt) 20 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileSizeIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileSize) 21 | CREATE INDEX MsgSearchInfo18FileFromEntityIdFileStatusIndex ON MsgSearchInfo18(msgSubType,fromEntityId,sortSequence,fileStatus) 22 | CREATE INDEX MsgSearchInfo18FileLastOpTimeIndex ON MsgSearchInfo18(msgSubType,sortSequence,lastOpTime) 23 | CREATE INDEX MsgSearchInfo18FileExtTimeIndex ON MsgSearchInfo18(msgSubType,fileExt,sortSequence) 24 | CREATE INDEX MsgSearchInfo18FileExtSizeIndex ON MsgSearchInfo18(msgSubType,fileExt,fileSize) 25 | CREATE INDEX MsgSearchInfo18FileExtStatusIndex ON MsgSearchInfo18(msgSubType,fileExt,fileStatus) 26 | CREATE INDEX MsgSearchInfo18FileTimeSizeIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileSize) 27 | CREATE INDEX MsgSearchInfo18FileTimeStatusIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileStatus) 28 | CREATE INDEX MsgSearchInfo18FileTimeExtIndex ON MsgSearchInfo18(msgSubType,sortSequence,fileExt) 29 | CREATE INDEX MsgSearchInfo18PrefixLocalIdIndex ON MsgSearchInfo18(prefixLocalId) 30 | CREATE TABLE FileExt18 ( userName TEXT PRIMARY KEY) 31 | (null) 32 | CREATE TABLE DBTableInfo18 ( tableIndex INTEGER PRIMARY KEY, tableVersion INTERGER, tableDesc TEXT) 33 | CREATE INDEX versionIdx ON DBTableInfo18(tableIndex) 34 | -------------------------------------------------------------------------------- /数据库/OpenIMContact.txt: -------------------------------------------------------------------------------- 1 | OpenIMContact.db 2 | CREATE TABLE OpenIMChatroomData(RoomName TEXT PRIMARY KEY ,ChatroomMaxCount INTEGER,Owner TEXT,Announcement TEXT,AnnouncementEditor TEXT,AnnouncementPublishTime INTEGER,Reserve1 INTEGER,Reserve2 INTEGER,Reserve3 INTEGER,Reserve4 TEXT,Reserve5 TEXT,Reserve6 BLOB) 3 | (null) 4 | CREATE TABLE OpenIMChatroomMember(RoomName TEXT ,UserName TEXT,DisplayName TEXT,MemberFlag INTEGER,InviteUserName TEXT,Reserve1 INTEGER,Reserve2 INTEGER,Reserve3 INTEGER,Reserve4 TEXT,Reserve5 TEXT,Reserve6 BLOB) 5 | CREATE INDEX RoomNameIdx ON OpenIMChatroomMember(RoomName, UserName) 6 | CREATE TABLE OpenIMContact(UserName TEXT PRIMARY KEY ,NickName TEXT,Type INTEGER DEFAULT 0,Remark TEXT,BigHeadImgUrl TEXT,SmallHeadImgUrl TEXT,Source INTEGER DEFAULT 0,NickNamePYInit TEXT,NickNameQuanPin TEXT,RemarkPYInit TEXT,RemarkQuanPin TEXT,CustomInfoDetail TEXT,CustomInfoDetailVisible INTEGER DEFAULT 0,AntiSpamTicket TEXT,AppId TEXT,Sex INTEGER,DescWordingId TEXT,Reserved1 INTEGER DEFAULT 0,Reserved2 INTEGER DEFAULT 0,Reserved3 INTEGER DEFAULT 0,Reserved4 INTEGER DEFAULT 0,Reserved5 TEXT,Reserved6 TEXT,Reserved7 TEXT,Reserved8 TEXT,ExtraBuf BLOB) 7 | (null) 8 | -------------------------------------------------------------------------------- /数据库/OpenIMMedia.txt: -------------------------------------------------------------------------------- 1 | OpenIMMedia.db 2 | CREATE TABLE OpenIMMedia(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 3 | (null) 4 | -------------------------------------------------------------------------------- /数据库/OpenIMMsg.txt: -------------------------------------------------------------------------------- 1 | OpenIMMsg.db 2 | CREATE TABLE ChatCRMsg(localId INTEGER PRIMARY KEY AUTOINCREMENT,talkerId INT DEFAULT 0,MsgSvrID INT,type INT,sequence INT DEFAULT 0,statusEx INT DEFAULT 0,FlagEx INT,IsSender INT,Status INT,CreateTime INT,strTalker TEXT,strContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 TEXT,bytesTrans BLOB,bytesExtra BLOB,translatedContent TEXT,translatedBrand TEXT,Reserved2 INT DEFAULT 0,Reserved3 TEXT,Reserved4 TEXT) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE INDEX ChatCRMsgStorageIdx_1 ON ChatCRMsg(talkerId,sequence DESC) 5 | CREATE INDEX ChatCRMsgStorageIdx_2 ON ChatCRMsg(talkerId,type,sequence DESC) 6 | CREATE INDEX ChatCRMsgStorageIdx_3 ON ChatCRMsg(MsgSvrID) 7 | CREATE TABLE TransCRTable(msgLocalId INTEGER PRIMARY KEY,talkerId INT) 8 | CREATE INDEX talkerIDIdx ON TransCRTable(talkerId) 9 | CREATE TABLE Name2ID(UsrName TEXT PRIMARY KEY) 10 | (null) 11 | -------------------------------------------------------------------------------- /数据库/PublicMsg.txt: -------------------------------------------------------------------------------- 1 | PublicMsg.db 2 | CREATE TABLE PublicMsg (localId INTEGER PRIMARY KEY AUTOINCREMENT,TalkerId INT DEFAULT 0,MsgSvrID INT,Type INT,SubType INT,IsSender INT,CreateTime INT,Sequence INT DEFAULT 0,StatusEx INT DEFAULT 0,FlagEx INT,Status INT,MsgServerSeq INT,MsgSequence INT,StrTalker TEXT,StrContent TEXT,DisplayContent TEXT,Reserved0 INT DEFAULT 0,Reserved1 INT DEFAULT 0,Reserved2 INT DEFAULT 0,Reserved3 INT DEFAULT 0,Reserved4 TEXT,Reserved5 TEXT,Reserved6 TEXT,CompressContent BLOB,BytesExtra BLOB,BytesTrans BLOB) 3 | CREATE TABLE sqlite_sequence(name,seq) 4 | CREATE TABLE PublicMsgTrans(msgLocalId INTEGER PRIMARY KEY, talkerId INT) 5 | CREATE INDEX talkerIDIdx ON PublicMsgTrans(talkerId) 6 | CREATE INDEX MsgTalkerIdSeqIndex ON PublicMsg(talkerId,sequence DESC) 7 | CREATE INDEX MsgTalkerIdTypeSeqIndex ON PublicMsg(talkerId,type,sequence DESC) 8 | CREATE INDEX SvrIdIndex ON PublicMsg(MsgSvrID) 9 | CREATE TABLE PublicNameToID(UsrName TEXT PRIMARY KEY) 10 | (null) 11 | -------------------------------------------------------------------------------- /数据库/PublicMsgMedia.txt: -------------------------------------------------------------------------------- 1 | PublicMsgMedia.db 2 | CREATE TABLE PublicMsgMedia(Key TEXT PRIMARY KEY,Reserved0 INT,Buf BLOB,Reserved1 INT,Reserved2 TEXT) 3 | (null) 4 | -------------------------------------------------------------------------------- /数据库/readme.md: -------------------------------------------------------------------------------- 1 | 微信2.7.1.88数据库表全信息 2 | 具体的可通过编译好的查询 无需破解数据库密码 3 | --------------------------------------------------------------------------------