diff --git a/.vs/AxibugRCMD/FileContentIndex/2514369f-551b-48c6-89bd-8711d1a5bbd1.vsidx b/.vs/AxibugRCMD/FileContentIndex/2514369f-551b-48c6-89bd-8711d1a5bbd1.vsidx deleted file mode 100644 index d845bd2..0000000 Binary files a/.vs/AxibugRCMD/FileContentIndex/2514369f-551b-48c6-89bd-8711d1a5bbd1.vsidx and /dev/null differ diff --git a/.vs/AxibugRCMD/FileContentIndex/cf753171-f3af-4b8f-b8e1-e34fa9eda7c3.vsidx b/.vs/AxibugRCMD/FileContentIndex/cf753171-f3af-4b8f-b8e1-e34fa9eda7c3.vsidx deleted file mode 100644 index 7f97283..0000000 Binary files a/.vs/AxibugRCMD/FileContentIndex/cf753171-f3af-4b8f-b8e1-e34fa9eda7c3.vsidx and /dev/null differ diff --git a/.vs/AxibugRCMD/FileContentIndex/read.lock b/.vs/AxibugRCMD/FileContentIndex/read.lock deleted file mode 100644 index e69de29..0000000 diff --git a/.vs/RCmd/FileContentIndex/5f02a480-5dee-4afc-aa9d-8b1b1a1fbd19.vsidx b/.vs/RCmd/FileContentIndex/5f02a480-5dee-4afc-aa9d-8b1b1a1fbd19.vsidx deleted file mode 100644 index 4c6c79d..0000000 Binary files a/.vs/RCmd/FileContentIndex/5f02a480-5dee-4afc-aa9d-8b1b1a1fbd19.vsidx and /dev/null differ diff --git a/.vs/RCmd/FileContentIndex/c7623d5f-828d-4a15-815d-fcc5b0ca3d40.vsidx b/.vs/RCmd/FileContentIndex/c7623d5f-828d-4a15-815d-fcc5b0ca3d40.vsidx deleted file mode 100644 index 5a507ff..0000000 Binary files a/.vs/RCmd/FileContentIndex/c7623d5f-828d-4a15-815d-fcc5b0ca3d40.vsidx and /dev/null differ diff --git a/.vs/RCmd/FileContentIndex/read.lock b/.vs/RCmd/FileContentIndex/read.lock deleted file mode 100644 index e69de29..0000000 diff --git a/.vs/RCmd/v17/.suo b/.vs/RCmd/v17/.suo deleted file mode 100644 index a7ffa9a..0000000 Binary files a/.vs/RCmd/v17/.suo and /dev/null differ diff --git a/RCmd.sln b/RCmd.sln index 8065e32..f4107a1 100644 --- a/RCmd.sln +++ b/RCmd.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33213.308 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RCmdC", "RCmdC\RCmdC.csproj", "{30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCmdS", "RCmdS\RCmdS.csproj", "{DACF16DF-7CC6-41BB-89B5-46E45212F226}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RCmdS", "RCmdS\RCmdS.csproj", "{6FC15228-663A-48E3-AE5D-FA4112EAC8B0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RCmdC", "RCmdC\RCmdC.csproj", "{921D8E14-C8C2-4C0A-B9F9-1C141792C13F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,14 +13,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F}.Release|Any CPU.Build.0 = Release|Any CPU - {6FC15228-663A-48E3-AE5D-FA4112EAC8B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6FC15228-663A-48E3-AE5D-FA4112EAC8B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6FC15228-663A-48E3-AE5D-FA4112EAC8B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FC15228-663A-48E3-AE5D-FA4112EAC8B0}.Release|Any CPU.Build.0 = Release|Any CPU + {DACF16DF-7CC6-41BB-89B5-46E45212F226}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DACF16DF-7CC6-41BB-89B5-46E45212F226}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DACF16DF-7CC6-41BB-89B5-46E45212F226}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DACF16DF-7CC6-41BB-89B5-46E45212F226}.Release|Any CPU.Build.0 = Release|Any CPU + {921D8E14-C8C2-4C0A-B9F9-1C141792C13F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {921D8E14-C8C2-4C0A-B9F9-1C141792C13F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {921D8E14-C8C2-4C0A-B9F9-1C141792C13F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {921D8E14-C8C2-4C0A-B9F9-1C141792C13F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/RCmdC/Program.cs b/RCmdC/Program.cs index 48c21d6..ebbcde9 100644 --- a/RCmdC/Program.cs +++ b/RCmdC/Program.cs @@ -1,12 +1,10 @@ -using System; -using System.Collections.Generic; +using System.Net.Sockets; using System.Net; -using System.Net.Sockets; using System.Text; -using System.Threading; namespace RCmdC { + internal class Program { private static Socket clientSocket = null; @@ -15,9 +13,44 @@ namespace RCmdC private static void Main(string[] args) { + string ip = null; + int port = 0; + + bool flag1 = false; + do + { + Console.WriteLine("输入目标IP或域名"); + string param = Console.ReadLine().Trim(); + if (!string.IsNullOrEmpty(param)) + { + ip = param; + flag1 = true; + } + else + { + Console.WriteLine("请正确输入"); + } + } while(!flag1); + + bool flag2 = false; + do + { + Console.WriteLine("输入目标端口"); + string param = Console.ReadLine().Trim(); + if (int.TryParse(param, out int _port)) + { + port = _port; + flag2 = true; + } + else + { + Console.WriteLine("请正确输入"); + } + } while (!flag2); + clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); // 客户端不需要绑定, 需要连接 - IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 10492); //服务端IP和端口 + IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse(ip), port); //服务端IP和端口 clientSocket.Connect(endPoint); Console.WriteLine("连接到服务器"); diff --git a/RCmdC/Properties/AssemblyInfo.cs b/RCmdC/Properties/AssemblyInfo.cs deleted file mode 100644 index 87e41bd..0000000 --- a/RCmdC/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的一般信息由以下 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("Client")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Client")] -[assembly: AssemblyCopyright("Copyright © 2023")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 -//请将此类型的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("30c7a3a2-1742-4adf-9ee3-3d2aeb85b83f")] - -// 程序集的版本信息由下列四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 -//通过使用 "*",如下所示: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/RCmdC/RCmdC.csproj b/RCmdC/RCmdC.csproj index 7575f5c..f9fcf69 100644 --- a/RCmdC/RCmdC.csproj +++ b/RCmdC/RCmdC.csproj @@ -1,48 +1,12 @@ - - - + + - Debug - AnyCPU - {30C7A3A2-1742-4ADF-9EE3-3D2AEB85B83F} Exe - Client - Client - v4.0 - 512 - true + net7.0 + enable + enable + + true - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - \ No newline at end of file + + diff --git a/RCmdC/RCmdC.csproj.user b/RCmdC/RCmdC.csproj.user new file mode 100644 index 0000000..e294b2d --- /dev/null +++ b/RCmdC/RCmdC.csproj.user @@ -0,0 +1,6 @@ + + + + <_LastSelectedProfileId>D:\RCmd\RCmdC\Properties\PublishProfiles\FolderProfile.pubxml + + \ No newline at end of file diff --git a/RCmdC/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs b/RCmdC/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs deleted file mode 100644 index 5d01041..0000000 --- a/RCmdC/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")] diff --git a/RCmdC/obj/Debug/AxiCMDC.csproj.AssemblyReference.cache b/RCmdC/obj/Debug/AxiCMDC.csproj.AssemblyReference.cache deleted file mode 100644 index fd44f07..0000000 Binary files a/RCmdC/obj/Debug/AxiCMDC.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdC/obj/Debug/AxiConC.csproj.AssemblyReference.cache b/RCmdC/obj/Debug/AxiConC.csproj.AssemblyReference.cache deleted file mode 100644 index fd44f07..0000000 Binary files a/RCmdC/obj/Debug/AxiConC.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdC/obj/Debug/AxiConC.csproj.CoreCompileInputs.cache b/RCmdC/obj/Debug/AxiConC.csproj.CoreCompileInputs.cache deleted file mode 100644 index edb4ac6..0000000 --- a/RCmdC/obj/Debug/AxiConC.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -b9e2f5818204bdd53d14ebaabe7f49179a76e75e diff --git a/RCmdC/obj/Debug/AxiConC.csproj.FileListAbsolute.txt b/RCmdC/obj/Debug/AxiConC.csproj.FileListAbsolute.txt deleted file mode 100644 index d65131e..0000000 --- a/RCmdC/obj/Debug/AxiConC.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -D:\AxibugRCMD\AxiConC\bin\Debug\Client.exe -D:\AxibugRCMD\AxiConC\bin\Debug\Client.pdb -D:\AxibugRCMD\AxiConC\obj\Debug\AxiConC.csproj.AssemblyReference.cache -D:\AxibugRCMD\AxiConC\obj\Debug\AxiConC.csproj.CoreCompileInputs.cache -D:\AxibugRCMD\AxiConC\obj\Debug\Client.exe -D:\AxibugRCMD\AxiConC\obj\Debug\Client.pdb diff --git a/RCmdC/obj/Debug/Client.csproj.AssemblyReference.cache b/RCmdC/obj/Debug/Client.csproj.AssemblyReference.cache deleted file mode 100644 index f62f0af..0000000 Binary files a/RCmdC/obj/Debug/Client.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdC/obj/Debug/Client.csproj.CoreCompileInputs.cache b/RCmdC/obj/Debug/Client.csproj.CoreCompileInputs.cache deleted file mode 100644 index edb4ac6..0000000 --- a/RCmdC/obj/Debug/Client.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -b9e2f5818204bdd53d14ebaabe7f49179a76e75e diff --git a/RCmdC/obj/Debug/Client.csproj.FileListAbsolute.txt b/RCmdC/obj/Debug/Client.csproj.FileListAbsolute.txt deleted file mode 100644 index 3997412..0000000 --- a/RCmdC/obj/Debug/Client.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -D:\AxibugRCMD\Client\bin\Debug\Client.exe -D:\AxibugRCMD\Client\bin\Debug\Client.pdb -D:\AxibugRCMD\Client\obj\Debug\Client.csproj.AssemblyReference.cache -D:\AxibugRCMD\Client\obj\Debug\Client.csproj.CoreCompileInputs.cache -D:\AxibugRCMD\Client\obj\Debug\Client.exe -D:\AxibugRCMD\Client\obj\Debug\Client.pdb diff --git a/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index c74b770..0000000 Binary files a/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index a5b00fc..0000000 Binary files a/RCmdC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/RCmdC/obj/Debug/RCmdC.csproj.FileListAbsolute.txt b/RCmdC/obj/Debug/RCmdC.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/RCmdC/obj/Debug/RConC.csproj.AssemblyReference.cache b/RCmdC/obj/Debug/RConC.csproj.AssemblyReference.cache deleted file mode 100644 index fd44f07..0000000 Binary files a/RCmdC/obj/Debug/RConC.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdS/Program.cs b/RCmdS/Program.cs index cf35652..b916a38 100644 --- a/RCmdS/Program.cs +++ b/RCmdS/Program.cs @@ -1,12 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; +using System.Diagnostics; using System.Net.Sockets; using System.Net; using System.Text; -using System.Threading; -using System.IO; namespace RCmdS { @@ -22,6 +17,18 @@ namespace RCmdS private static void Main(string[] args) { + //装载启动参数 + string[] CmdLineArgs = Environment.GetCommandLineArgs(); + int port = 10492; + if (CmdLineArgs.Count() >= 2 && int.TryParse(CmdLineArgs[1].Trim('/').Trim(), out int result)) + { + port = result; + } + else + { + Console.WriteLine("参数错误,使用默认端口。需要指定端口命令 >RCmdS <端口> "); + + } p = new Process(); p.StartInfo.FileName = "cmd.exe"; //待执行的文件路径 @@ -33,18 +40,13 @@ namespace RCmdS p.Start(); severSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); - IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, 10492); + IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, port); severSocket.Bind(endPoint); // 绑定 severSocket.Listen(1); // 设置最大连接数 - Console.WriteLine("开始监听"); - //Console.WriteLine("进程ID"+Process.GetCurrentProcess().Id); + Console.WriteLine($"开始监听 {port}"); Thread thread = new Thread(ListenClientConnect); // 开启线程监听客户端连接 thread.Start("连接成功"); - - //Thread thread_1 = new Thread(TEST); // 开启线程监听客户端连接 - //thread_1.Start("连接成功"); - ThreadPool.QueueUserWorkItem(new WaitCallback(delegate { while (true) @@ -146,4 +148,4 @@ namespace RCmdS p.StandardInput.WriteLine(cmd); } } -} +} \ No newline at end of file diff --git a/RCmdS/Properties/AssemblyInfo.cs b/RCmdS/Properties/AssemblyInfo.cs deleted file mode 100644 index 319faac..0000000 --- a/RCmdS/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的一般信息由以下 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("Server")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Server")] -[assembly: AssemblyCopyright("Copyright © 2023")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 -//请将此类型的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("6fc15228-663a-48e3-ae5d-fa4112eac8b0")] - -// 程序集的版本信息由下列四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 -//通过使用 "*",如下所示: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/RCmdS/RCmdS.csproj b/RCmdS/RCmdS.csproj index 01a3c27..f9fcf69 100644 --- a/RCmdS/RCmdS.csproj +++ b/RCmdS/RCmdS.csproj @@ -1,48 +1,12 @@ - - - + + - Debug - AnyCPU - {6FC15228-663A-48E3-AE5D-FA4112EAC8B0} Exe - Server - Server - v4.0 - 512 - true + net7.0 + enable + enable + + true - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - \ No newline at end of file + + diff --git a/RCmdS/RCmdS.csproj.user b/RCmdS/RCmdS.csproj.user new file mode 100644 index 0000000..1a7f109 --- /dev/null +++ b/RCmdS/RCmdS.csproj.user @@ -0,0 +1,6 @@ + + + + <_LastSelectedProfileId>D:\RCmd\RCmdS\Properties\PublishProfiles\FolderProfile.pubxml + + \ No newline at end of file diff --git a/RCmdS/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs b/RCmdS/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs deleted file mode 100644 index 5d01041..0000000 --- a/RCmdS/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")] diff --git a/RCmdS/obj/Debug/AxiCMDS.csproj.AssemblyReference.cache b/RCmdS/obj/Debug/AxiCMDS.csproj.AssemblyReference.cache deleted file mode 100644 index fd44f07..0000000 Binary files a/RCmdS/obj/Debug/AxiCMDS.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdS/obj/Debug/AxiConS.csproj.AssemblyReference.cache b/RCmdS/obj/Debug/AxiConS.csproj.AssemblyReference.cache deleted file mode 100644 index fd44f07..0000000 Binary files a/RCmdS/obj/Debug/AxiConS.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdS/obj/Debug/AxiConS.csproj.CoreCompileInputs.cache b/RCmdS/obj/Debug/AxiConS.csproj.CoreCompileInputs.cache deleted file mode 100644 index edb4ac6..0000000 --- a/RCmdS/obj/Debug/AxiConS.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -b9e2f5818204bdd53d14ebaabe7f49179a76e75e diff --git a/RCmdS/obj/Debug/AxiConS.csproj.FileListAbsolute.txt b/RCmdS/obj/Debug/AxiConS.csproj.FileListAbsolute.txt deleted file mode 100644 index bcca59a..0000000 --- a/RCmdS/obj/Debug/AxiConS.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -D:\AxibugRCMD\AxiConS\bin\Debug\Server.exe -D:\AxibugRCMD\AxiConS\bin\Debug\Server.pdb -D:\AxibugRCMD\AxiConS\obj\Debug\AxiConS.csproj.AssemblyReference.cache -D:\AxibugRCMD\AxiConS\obj\Debug\AxiConS.csproj.CoreCompileInputs.cache -D:\AxibugRCMD\AxiConS\obj\Debug\Server.exe -D:\AxibugRCMD\AxiConS\obj\Debug\Server.pdb diff --git a/RCmdS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/RCmdS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d5fc4d5..0000000 Binary files a/RCmdS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/RCmdS/obj/Debug/RCmdS.csproj.FileListAbsolute.txt b/RCmdS/obj/Debug/RCmdS.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/RCmdS/obj/Debug/Server.csproj.AssemblyReference.cache b/RCmdS/obj/Debug/Server.csproj.AssemblyReference.cache deleted file mode 100644 index f62f0af..0000000 Binary files a/RCmdS/obj/Debug/Server.csproj.AssemblyReference.cache and /dev/null differ diff --git a/RCmdS/obj/Debug/Server.csproj.CoreCompileInputs.cache b/RCmdS/obj/Debug/Server.csproj.CoreCompileInputs.cache deleted file mode 100644 index edb4ac6..0000000 --- a/RCmdS/obj/Debug/Server.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -b9e2f5818204bdd53d14ebaabe7f49179a76e75e diff --git a/RCmdS/obj/Debug/Server.csproj.FileListAbsolute.txt b/RCmdS/obj/Debug/Server.csproj.FileListAbsolute.txt deleted file mode 100644 index 2bea5b0..0000000 --- a/RCmdS/obj/Debug/Server.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -D:\AxibugRCMD\Server\bin\Debug\Server.exe -D:\AxibugRCMD\Server\bin\Debug\Server.pdb -D:\AxibugRCMD\Server\obj\Debug\Server.csproj.AssemblyReference.cache -D:\AxibugRCMD\Server\obj\Debug\Server.csproj.CoreCompileInputs.cache -D:\AxibugRCMD\Server\obj\Debug\Server.exe -D:\AxibugRCMD\Server\obj\Debug\Server.pdb diff --git a/README.md b/README.md index 0b630fd..b1b5eca 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,22 @@ # RCmd RCmd , 全称 RemoteCmd。 + 是一个皓月自写的远程控制Windows CMD的工具。 + 基于TCP Socket 实现。 + 分为: + 客户端 RCmdC (操作者) + 服务端 RCmdS (被操作者) 为考虑在因某种原因无法安装运行时的环境下(笑) -直接提供.Net FX 4 版本.(内核自带) -故意不考虑 .Net6/7++ + +直接使用NativeAOT编译本地代码 + +不依赖.Net Runtime,到处运行 请合理使用。 \ No newline at end of file