mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-26 21:35:27 +00:00
f2ac1ece55
add
34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Bmc.Services.Ticket.ProjectInstaller
|
|
// Assembly: ticketservice, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 3DFB8186-7053-43AF-8B45-70866071B1F2
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan.Win32.Patched.mf-fd200e64412b6be5c177c3cfa7b94e83e807ff04211ce324f12e2ffa5537eb36.exe
|
|
|
|
using Bmc.RegistryAccess.Ticket;
|
|
using System.ComponentModel;
|
|
using System.Configuration.Install;
|
|
using System.ServiceProcess;
|
|
|
|
namespace Bmc.Services.Ticket
|
|
{
|
|
[RunInstaller(true)]
|
|
public class ProjectInstaller : Installer
|
|
{
|
|
public ProjectInstaller()
|
|
{
|
|
ServiceProcessInstaller processInstaller = new ServiceProcessInstaller();
|
|
ServiceInstaller serviceInstaller = new ServiceInstaller();
|
|
processInstaller.Account = ServiceAccount.LocalSystem;
|
|
processInstaller.Password = (string) null;
|
|
processInstaller.Username = (string) null;
|
|
serviceInstaller.ServiceName = SecureState.TICKET_SERVICE_NAME;
|
|
serviceInstaller.StartType = ServiceStartMode.Automatic;
|
|
this.Installers.AddRange(new Installer[2]
|
|
{
|
|
(Installer) serviceInstaller,
|
|
(Installer) processInstaller
|
|
});
|
|
}
|
|
}
|
|
}
|