Xeno-rat
|
Static Public Member Functions | |
static void | OnDisconnect (Node MainNode) |
Prints the connection status of the main node to the console. | |
Static Public Attributes | |
static StringBuilder | ProcessLog = new StringBuilder() |
Static Private Member Functions | |
static async Task | Main (string[] args) |
Main function for the XenoUpdateManager application. | |
static void | CurrentDomain_UnhandledException (object sender, UnhandledExceptionEventArgs e) |
Handles the unhandled exceptions in the current application domain. | |
Static Private Attributes | |
static Node | Server |
static DllHandler | dllhandler = new DllHandler() |
static string | ServerIp = "localhost" |
static int | ServerPort = 1234 |
static byte[] | EncryptionKey = new byte[32] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 } |
static int | delay = 1000 |
static string | mutex_string = "testing 123123" |
static int | DoStartup = 2222 |
static string | Install_path = "nothingset" |
static string | startup_name = "nothingset" |
|
inlinestaticprivate |
Handles the unhandled exceptions in the current application domain.
sender | The source of the unhandled exception event. |
e | An UnhandledExceptionEventArgs that contains the event data. |
This method sends the exception details to the server's subnodes with a heartbeat socket type, and then restarts the application. If the exception is not handled, the application process is terminated.
|
inlinestaticprivate |
Main function for the XenoUpdateManager application.
args | The command-line arguments passed to the application. |
This function sets up the XenoUpdateManager application, including handling exceptions and delays, creating a mutex, and adding the application to startup if required. It then enters a continuous loop to connect to a server, handle the connection, and receive data, with error handling and delay in case of exceptions.
Exception | Thrown when an error occurs during the execution of the Main function. |
|
inlinestatic |
Prints the connection status of the main node to the console.
MainNode | The main node whose connection status is to be checked. |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |