Adjust namespaces

This commit is contained in:
MaxXor 2018-09-27 10:05:10 +02:00
parent f06ecac213
commit 2e77af9db9
189 changed files with 696 additions and 735 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,7 @@
<ProjectGuid>{7223F9B2-17A2-432B-ADAC-51B1E35681DB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>xClient.Tests</RootNamespace>
<RootNamespace>Quasar.Client.Tests</RootNamespace>
<AssemblyName>Client.Tests</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>

View File

@ -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
{

View File

@ -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

View File

@ -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 :-("});

View File

@ -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;

View File

@ -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(() =>
{

View File

@ -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;

View File

@ -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<RecoveredAccount> recovered = new List<RecoveredAccount>();
@ -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(() =>
{

View File

@ -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;

View File

@ -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();

View File

@ -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

View File

@ -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
{

View File

@ -1,7 +1,7 @@
using System.Security.Cryptography;
using System.Text;
namespace xClient.Core.Cryptography
namespace Quasar.Client.Core.Cryptography
{
public static class SHA256
{

View File

@ -1,6 +1,6 @@
using System.Windows.Forms;
namespace xClient.Core.Data
namespace Quasar.Client.Core.Data
{
public static class ClientData
{

View File

@ -1,6 +1,6 @@
using System.Runtime.Serialization;
namespace xClient.Core.Data
namespace Quasar.Client.Core.Data
{
[DataContract]
public class GeoInformation

View File

@ -1,6 +1,6 @@
using System.Net;
namespace xClient.Core.Data
namespace Quasar.Client.Core.Data
{
public class Host
{

View File

@ -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
{

View File

@ -2,7 +2,7 @@
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace xClient.Core.Extensions
namespace Quasar.Client.Core.Extensions
{
/// <summary>
/// Socket Extension for KeepAlive

View File

@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;
namespace xClient.Core.Helper
namespace Quasar.Client.Core.Helper
{
public static class CryptographyHelper
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,6 +1,6 @@
using System.Threading;
namespace xClient.Core.Helper
namespace Quasar.Client.Core.Helper
{
public static class MutexHelper
{

View File

@ -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
{

View File

@ -2,7 +2,7 @@
using System.Management;
using System.Text.RegularExpressions;
namespace xClient.Core.Helper
namespace Quasar.Client.Core.Helper
{
public static class PlatformHelper
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,7 +1,7 @@
using System;
using System.Management;
namespace xClient.Core.Helper
namespace Quasar.Client.Core.Helper
{
public static class SystemHelper
{

View File

@ -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
{

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{
/// <summary>
/// A small class to recover Firefox Data

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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;

View File

@ -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();

View File

@ -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
{

View File

@ -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
{
/// <summary>
/// This class provides keylogging functionality and modifies/highlights the output for

View File

@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Text;
namespace xClient.Core.Utilities
namespace Quasar.Client.Core.Utilities
{
/// <summary>
/// Provides access to Win32 API and Microsoft C Runtime Library (msvcrt.dll).

View File

@ -6,7 +6,7 @@
using System.Threading;
using Quasar.Common.Messages;
namespace xClient.Core.Utilities
namespace Quasar.Client.Core.Utilities
{
/// <summary>
/// This class manages a remote shell session.

View File

@ -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
{

View File

@ -1,25 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace xClient.Properties {
namespace Quasar.Client.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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 {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[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 {
}
/// <summary>
/// Ü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.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@ -61,7 +61,7 @@ internal class Resources {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap information {
get {

View File

@ -1,18 +1,18 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
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())));

View File

@ -8,7 +8,7 @@
<ProjectGuid>{9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>xClient</RootNamespace>
<RootNamespace>Quasar.Client</RootNamespace>
<AssemblyName>Client</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
@ -37,7 +37,7 @@
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<StartupObject>xClient.Program</StartupObject>
<StartupObject>Quasar.Client.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,7 @@
<ProjectGuid>{BF45108E-1E43-486B-A71D-5426BBB041DB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>xServer.Tests</RootNamespace>
<RootNamespace>Quasar.Server.Tests</RootNamespace>
<AssemblyName>Server.Tests</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>

View File

@ -5,7 +5,7 @@
// thanks to Mavamaarten~ for coding this
namespace xServer.Controls
namespace Quasar.Server.Controls
{
internal class DotNetBarTabControl : TabControl
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -2,7 +2,7 @@
using System.Drawing;
using System.Windows.Forms;
namespace xServer.Controls
namespace Quasar.Server.Controls
{
public static class InputBox
{

View File

@ -1,7 +1,7 @@
using System.Drawing;
using System.Windows.Forms;
namespace xServer.Controls
namespace Quasar.Server.Controls
{
public class Line : Control
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
namespace xServer.Controls
namespace Quasar.Server.Controls
{
partial class WordTextBox
{

View File

@ -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
{

View File

@ -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
{
/// <summary>
/// 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)
{

View File

@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using System.Security;
namespace xServer.Core.Build
namespace Quasar.Server.Core.Build
{
public static class IconInjector
{

View File

@ -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);

View File

@ -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

View File

@ -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
{

View File

@ -1,4 +1,4 @@
namespace xServer.Core.Data
namespace Quasar.Server.Core.Data
{
public class BuildOptions
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
namespace xServer.Core.Data
namespace Quasar.Server.Core.Data
{
public class Host
{

View File

@ -3,7 +3,7 @@
using System.Xml;
using System.Xml.XPath;
namespace xServer.Core.Data
namespace Quasar.Server.Core.Data
{
public static class Settings
{

View File

@ -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
{

View File

@ -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
{

View File

@ -2,7 +2,7 @@
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace xServer.Core.Extensions
namespace Quasar.Server.Core.Extensions
{
/// <summary>
/// Socket Extension for KeepAlive

View File

@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
namespace xServer.Core.Helper
namespace Quasar.Server.Core.Helper
{
public static class ClipboardHelper
{

View File

@ -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
{

View File

@ -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
{

Some files were not shown because too many files have changed in this diff Show More