mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 02:46:10 +00:00
f2ac1ece55
add
40 lines
1.6 KiB
C#
40 lines
1.6 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: VMS.OSService.Concrete.ConcreteServicesSetup
|
|
// Assembly: VMS.OSP.Service, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 7B29B897-26BF-407B-B0D0-14253383A174
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Patched.mf-06a1c79ea1bf078d9f5816243d6887697530720ed581c2975d99154e2a24648f.exe
|
|
|
|
using System.Diagnostics;
|
|
using VMS.OSService.Abstract;
|
|
using VMS.OSService.Concrete.Inventory;
|
|
|
|
namespace VMS.OSService.Concrete
|
|
{
|
|
public class ConcreteServicesSetup : BaseServicesSetup
|
|
{
|
|
private string cCompInventory = "Inventory";
|
|
private string cCompInventoryUpdate = "InventoryUpdate";
|
|
private string cCompMaintenance = "Maintenance";
|
|
private string cCompPlatformServiceController = "PlatformServiceController";
|
|
|
|
public ConcreteServicesSetup(EventLog evtLog)
|
|
: base(evtLog)
|
|
{
|
|
this.SetupServices();
|
|
}
|
|
|
|
public void SetupServices()
|
|
{
|
|
if (this.ServiceComponentEnabled(this.cCompInventory))
|
|
this.AddService((AbstractService) new InventoryReplicator());
|
|
if (this.ServiceComponentEnabled(this.cCompInventoryUpdate))
|
|
this.AddService((AbstractService) new InventoryUpdate());
|
|
if (this.ServiceComponentEnabled(this.cCompMaintenance))
|
|
this.AddService((AbstractService) new VMS.OSService.Concrete.Maintenance.Maintenance());
|
|
if (!this.ServiceComponentEnabled(this.cCompPlatformServiceController))
|
|
return;
|
|
this.AddService((AbstractService) new VMS.OSService.Concrete.PlatformServiceController.PlatformServiceController());
|
|
}
|
|
}
|
|
}
|