Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
888H355
ComWeChatRobot
提交
b3ab965f
C
ComWeChatRobot
项目概览
888H355
/
ComWeChatRobot
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ComWeChatRobot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b3ab965f
编写于
6月 17, 2022
作者:
L
ljc545w
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
清理冗余接口
上级
16d42b64
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
16 addition
and
12 deletion
+16
-12
CWeChatRobot/InjectDll.cpp
CWeChatRobot/InjectDll.cpp
+1
-1
CWeChatRobot/InjectDll.h
CWeChatRobot/InjectDll.h
+4
-0
CWeChatRobot/WeChatRobotCOM.vcxproj
CWeChatRobot/WeChatRobotCOM.vcxproj
+2
-2
CWeChatRobot/WeChatRobotCOM.vcxproj.filters
CWeChatRobot/WeChatRobotCOM.vcxproj.filters
+2
-2
CWeChatRobot/pch.cpp
CWeChatRobot/pch.cpp
+1
-1
CWeChatRobot/robotdata.h
CWeChatRobot/robotdata.h
+1
-1
Release/CWeChatRobot.exe
Release/CWeChatRobot.exe
+0
-0
Release/WeChatTools.exe
Release/WeChatTools.exe
+0
-0
WeChatTools/Inject.cpp
WeChatTools/Inject.cpp
+1
-1
WeChatTools/WeChatTools.vcxproj
WeChatTools/WeChatTools.vcxproj
+1
-1
WeChatTools/WeChatTools.vcxproj.filters
WeChatTools/WeChatTools.vcxproj.filters
+1
-1
WeChatTools/base.h
WeChatTools/base.h
+1
-1
WeChatTools/main.cpp
WeChatTools/main.cpp
+1
-1
未找到文件。
CWeChatRobot/Inje
r
tDll.cpp
→
CWeChatRobot/Inje
c
tDll.cpp
浏览文件 @
b3ab965f
...
...
@@ -32,7 +32,7 @@ bool InjectDll(DWORD dwId, WCHAR* szPath)//
return
0
;
}
bool
Inje
r
t
(
DWORD
dwPid
,
wchar_t
*
workPath
)
{
bool
Inje
c
t
(
DWORD
dwPid
,
wchar_t
*
workPath
)
{
wchar_t
*
dllpath
=
new
wchar_t
[
MAX_PATH
];
swprintf_s
(
dllpath
,
MAX_PATH
,
L"%ws%ws%ws"
,
workPath
,
L"
\\
"
,
dllname
);
string
name
=
_com_util
::
ConvertBSTRToString
((
BSTR
)
workPath
);
...
...
CWeChatRobot/Inje
r
tDll.h
→
CWeChatRobot/Inje
c
tDll.h
浏览文件 @
b3ab965f
#pragma once
#include<windows.h>
bool
Inje
r
t
(
DWORD
dwPid
,
wchar_t
*
workPath
);
bool
Inje
c
t
(
DWORD
dwPid
,
wchar_t
*
workPath
);
BOOL
RemoveDll
(
DWORD
dwId
);
\ No newline at end of file
CWeChatRobot/WeChatRobotCOM.vcxproj
浏览文件 @
b3ab965f
...
...
@@ -220,7 +220,7 @@
<ClInclude
Include=
"FriendList.h"
/>
<ClInclude
Include=
"GetChatRoomMembers.h"
/>
<ClInclude
Include=
"GetDbHandles.h"
/>
<ClInclude
Include=
"Inje
r
tDll.h"
/>
<ClInclude
Include=
"Inje
c
tDll.h"
/>
<ClInclude
Include=
"pch.h"
/>
<ClInclude
Include=
"ReceiveMessage.h"
/>
<ClInclude
Include=
"Resource.h"
/>
...
...
@@ -256,7 +256,7 @@
<ClCompile
Include=
"GetDbHandles.cpp"
/>
<ClCompile
Include=
"HookImageMessage.cpp"
/>
<ClCompile
Include=
"HookVoiceMessage.cpp"
/>
<ClCompile
Include=
"Inje
r
tDll.cpp"
/>
<ClCompile
Include=
"Inje
c
tDll.cpp"
/>
<ClCompile
Include=
"pch.cpp"
>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
Create
</PrecompiledHeader>
...
...
CWeChatRobot/WeChatRobotCOM.vcxproj.filters
浏览文件 @
b3ab965f
...
...
@@ -115,7 +115,7 @@
<ClInclude
Include=
"WeChatRobot.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"Inje
r
tDll.h"
>
<ClInclude
Include=
"Inje
c
tDll.h"
>
<Filter>
注入工具
</Filter>
</ClInclude>
<ClInclude
Include=
"SendImage.h"
>
...
...
@@ -204,7 +204,7 @@
<ClCompile
Include=
"WeChatRobot.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
<ClCompile
Include=
"Inje
r
tDll.cpp"
>
<ClCompile
Include=
"Inje
c
tDll.cpp"
>
<Filter>
注入工具
</Filter>
</ClCompile>
<ClCompile
Include=
"SendImage.cpp"
>
...
...
CWeChatRobot/pch.cpp
浏览文件 @
b3ab965f
...
...
@@ -225,7 +225,7 @@ DWORD StartRobotService() {
};
if
(
!
hProcess
)
hProcess
=
OpenProcess
(
PROCESS_ALL_ACCESS
,
FALSE
,
wxPid
);
bool
status
=
Inje
r
t
(
wxPid
,
workPath
);
bool
status
=
Inje
c
t
(
wxPid
,
workPath
);
if
(
status
==
1
)
{
CloseHandle
(
hProcess
);
hProcess
=
NULL
;
...
...
CWeChatRobot/robotdata.h
浏览文件 @
b3ab965f
#pragma once
#include "Inje
r
tDll.h"
#include "Inje
c
tDll.h"
#include "SendImage.h"
#include "SendText.h"
#include "SendFile.h"
...
...
Release/CWeChatRobot.exe
浏览文件 @
b3ab965f
无法预览此类型文件
Release/WeChatTools.exe
浏览文件 @
b3ab965f
无法预览此类型文件
WeChatTools/Inje
r
t.cpp
→
WeChatTools/Inje
c
t.cpp
浏览文件 @
b3ab965f
...
...
@@ -64,7 +64,7 @@ bool InjectDll(DWORD dwId, WCHAR* szPath)//
return
0
;
}
void
Inje
r
t
(
DWORD
dwPid
,
wchar_t
*
wStr
)
{
void
Inje
c
t
(
DWORD
dwPid
,
wchar_t
*
wStr
)
{
wchar_t
dllpath
[
MAX_PATH
];
wchar_t
workPath
[
MAX_PATH
];
wchar_t
*
pworkPath
=
_wgetcwd
(
workPath
,
MAX_PATH
);
...
...
WeChatTools/WeChatTools.vcxproj
浏览文件 @
b3ab965f
...
...
@@ -141,7 +141,7 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile
Include=
"base.cpp"
/>
<ClCompile
Include=
"Inje
r
t.cpp"
/>
<ClCompile
Include=
"Inje
c
t.cpp"
/>
<ClCompile
Include=
"main.cpp"
/>
</ItemGroup>
<ItemGroup>
...
...
WeChatTools/WeChatTools.vcxproj.filters
浏览文件 @
b3ab965f
...
...
@@ -19,7 +19,7 @@
<ClCompile
Include=
"main.cpp"
>
<Filter>
主函数
</Filter>
</ClCompile>
<ClCompile
Include=
"Inje
r
t.cpp"
>
<ClCompile
Include=
"Inje
c
t.cpp"
>
<Filter>
注入工具
</Filter>
</ClCompile>
<ClCompile
Include=
"base.cpp"
>
...
...
WeChatTools/base.h
浏览文件 @
b3ab965f
...
...
@@ -13,7 +13,7 @@
using
namespace
std
;
void
Inje
r
t
(
DWORD
dwPid
,
wchar_t
*
wStr
);
void
Inje
c
t
(
DWORD
dwPid
,
wchar_t
*
wStr
);
bool
isFileExists_stat
(
string
&
name
);
string
wstring2string
(
wstring
wstr
);
BOOL
RemoveDll
(
DWORD
dwId
);
...
...
WeChatTools/main.cpp
浏览文件 @
b3ab965f
...
...
@@ -19,7 +19,7 @@ int _tmain(int nargv, WCHAR* argvs[])
}
else
if
(
nargv
==
2
)
{
wStr
=
argvs
[
1
];
Inje
r
t
(
dwPid
,
argvs
[
1
]);
Inje
c
t
(
dwPid
,
argvs
[
1
]);
}
else
if
(
nargv
==
3
&&
!
((
wstring
)
argvs
[
1
]).
compare
(
L"-r"
))
{
wStr
=
argvs
[
2
];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录