UPDATE
This commit is contained in:
parent
80fab95e98
commit
acfc072773
@ -99,10 +99,12 @@ namespace AsyncRAT_Sharp.Forms
|
||||
private void Builder_Load(object sender, EventArgs e)
|
||||
{
|
||||
comboBoxFolder.SelectedIndex = 0;
|
||||
textPort.Text = string.Join(",", Settings.Ports.ToList());
|
||||
if (Properties.Settings.Default.DNS != null)
|
||||
textPort.Text = Settings.Port;
|
||||
if (Properties.Settings.Default.DNS.Length > 0)
|
||||
textIP.Text = Properties.Settings.Default.DNS;
|
||||
if (Properties.Settings.Default.Filename != null)
|
||||
else
|
||||
textIP.Text = "127.0.0.1,127.0.0.1";
|
||||
if (Properties.Settings.Default.Filename.Length > 0)
|
||||
textFilename.Text = Properties.Settings.Default.Filename;
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,6 @@ namespace AsyncRAT_Sharp
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(PORT))
|
||||
{
|
||||
Settings.Ports.Add(Convert.ToInt32(PORT.ToString().Trim()));
|
||||
listener = new Listener();
|
||||
Thread thread = new Thread(new ParameterizedThreadStart(listener.Connect));
|
||||
thread.Start(Convert.ToInt32(PORT.ToString().Trim()));
|
||||
|
@ -17,10 +17,12 @@ namespace AsyncRAT_Sharp.Forms
|
||||
{
|
||||
Methods.FadeIn(this, 5);
|
||||
|
||||
if (Properties.Settings.Default.Ports != null)
|
||||
textPorts.Text = Settings.Port;
|
||||
|
||||
if (Properties.Settings.Default.Ports.Length > 0)
|
||||
textPorts.Text = Properties.Settings.Default.Ports;
|
||||
|
||||
if (Properties.Settings.Default.Password != null)
|
||||
if (Properties.Settings.Default.Password.Length > 0)
|
||||
textPassword.Text = Properties.Settings.Default.Password;
|
||||
|
||||
this.Text = $"{Settings.Version} | Welcome {Environment.UserName}";
|
||||
|
@ -8,8 +8,7 @@ namespace AsyncRAT_Sharp
|
||||
{
|
||||
public static List<Clients> Online = new List<Clients>();
|
||||
public static List<string> Blocked = new List<string>();
|
||||
public static string Port = "6606";
|
||||
public static List<int> Ports = new List<int>();
|
||||
public static string Port = "6606,7707,8808";
|
||||
public static readonly string Version = "AsyncRAT 0.2.8";
|
||||
public static long Sent = 0;
|
||||
public static long Received = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user