initial commit

This commit is contained in:
i2p
2026-08-27 11:21:58 -06:00
commit c21fb61050
336 changed files with 74161 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections;
using System.Windows.Forms;
namespace Server;
public class CustomComparer : IComparer
{
public int Compare(object x, object y)
{
DataGridViewRow dataGridViewRow = (DataGridViewRow)x;
DataGridViewRow dataGridViewRow2 = (DataGridViewRow)y;
int num = Convert.ToInt32(dataGridViewRow.Cells[0].Tag);
int num2 = Convert.ToInt32(dataGridViewRow2.Cells[0].Tag);
if (num == 1 && num2 == 0)
{
return -1;
}
if (num == 0 && num2 == 1)
{
return 1;
}
string text = dataGridViewRow.Cells[1].Value.ToString();
string text2 = dataGridViewRow2.Cells[1].Value.ToString();
if (text == "..." || text2 == "...")
{
return 0;
}
return string.Compare(text, text2);
}
}
+6423
View File
File diff suppressed because it is too large Load Diff
+35
View File
@@ -0,0 +1,35 @@
using System;
using System.Windows.Forms;
using Server.Helper;
namespace Server;
internal static class Program
{
public static Form1 form;
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(defaultValue: false);
// Initialize console logger
ConsoleLogger.Initialize();
ConsoleLogger.LogInfo("Liberium RAT Server starting...");
form = new Form1();
// Log when main form is created
ConsoleLogger.LogSuccess("Main form initialized successfully");
// Handle application exit to cleanup console
Application.ApplicationExit += (sender, e) => {
ConsoleLogger.LogInfo("Application shutting down...");
ConsoleLogger.Cleanup();
};
Application.Run(form);
}
}